2015-11-26 21:22:14 -08:00
|
|
|
const_value set 2
|
|
|
|
const SAFFRONGYM_SABRINA
|
|
|
|
const SAFFRONGYM_GRANNY1
|
|
|
|
const SAFFRONGYM_YOUNGSTER1
|
|
|
|
const SAFFRONGYM_GRANNY2
|
|
|
|
const SAFFRONGYM_YOUNGSTER2
|
|
|
|
const SAFFRONGYM_GYM_GUY
|
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
SaffronGym_MapScriptHeader:
|
2017-12-24 10:46:34 -08:00
|
|
|
.SceneScripts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapCallbacks:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
SabrinaScript_0x189c2e:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-07-10 00:00:27 -07:00
|
|
|
checkflag ENGINE_MARSHBADGE
|
|
|
|
iftrue .FightDone
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x189cdf
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-11-02 11:37:02 -08:00
|
|
|
winlosstext UnknownText_0x189df4, 0
|
2018-01-09 15:45:25 -08:00
|
|
|
loadtrainer SABRINA, SABRINA1
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
2015-12-26 15:11:55 -08:00
|
|
|
reloadmapafterbattle
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_BEAT_SABRINA
|
|
|
|
setevent EVENT_BEAT_MEDIUM_REBECCA
|
|
|
|
setevent EVENT_BEAT_MEDIUM_DORIS
|
|
|
|
setevent EVENT_BEAT_PSYCHIC_FRANKLIN
|
|
|
|
setevent EVENT_BEAT_PSYCHIC_JARED
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x189e95
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_GET_BADGE
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2015-07-10 00:00:27 -07:00
|
|
|
setflag ENGINE_MARSHBADGE
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x189ead
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.FightDone:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x189f6c
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
TrainerMediumRebecca:
|
2017-12-17 17:45:04 -08:00
|
|
|
trainer EVENT_BEAT_MEDIUM_REBECCA, MEDIUM, REBECCA, MediumRebeccaSeenText, MediumRebeccaBeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 17:45:04 -08:00
|
|
|
.Script:
|
2015-11-25 07:16:29 -08:00
|
|
|
end_if_just_battled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext MediumRebeccaAfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
TrainerPsychicFranklin:
|
2017-12-17 17:45:04 -08:00
|
|
|
trainer EVENT_BEAT_PSYCHIC_FRANKLIN, PSYCHIC_T, FRANKLIN, PsychicFranklinSeenText, PsychicFranklinBeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 17:45:04 -08:00
|
|
|
.Script:
|
2015-11-25 07:16:29 -08:00
|
|
|
end_if_just_battled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext PsychicFranklinAfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
TrainerMediumDoris:
|
2017-12-17 17:45:04 -08:00
|
|
|
trainer EVENT_BEAT_MEDIUM_DORIS, MEDIUM, DORIS, MediumDorisSeenText, MediumDorisBeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 17:45:04 -08:00
|
|
|
.Script:
|
2015-11-25 07:16:29 -08:00
|
|
|
end_if_just_battled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext MediumDorisAfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
TrainerPsychicJared:
|
2017-12-17 17:45:04 -08:00
|
|
|
trainer EVENT_BEAT_PSYCHIC_JARED, PSYCHIC_T, JARED, PsychicJaredSeenText, PsychicJaredBeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 17:45:04 -08:00
|
|
|
.Script:
|
2015-11-25 07:16:29 -08:00
|
|
|
end_if_just_battled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext PsychicJaredAfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
SaffronGymGuyScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_BEAT_SABRINA
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue .SaffronGymGuyWinScript
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext SaffronGymGuyText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.SaffronGymGuyWinScript:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext SaffronGymGuyWinText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-06-24 20:51:36 -07:00
|
|
|
SaffronGymStatue:
|
|
|
|
checkflag ENGINE_MARSHBADGE
|
|
|
|
iftrue .Beaten
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd gymstatue1
|
2016-04-10 11:42:14 -07:00
|
|
|
.Beaten:
|
2018-01-09 15:45:25 -08:00
|
|
|
trainertotext SABRINA, SABRINA1, $1
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd gymstatue2
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
UnknownText_0x189cdf:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "SABRINA: I knew"
|
|
|
|
line "you were coming…"
|
|
|
|
|
|
|
|
para "Three years ago I"
|
|
|
|
line "had a vision of"
|
|
|
|
cont "your arrival."
|
|
|
|
|
|
|
|
para "You're after my"
|
|
|
|
line "BADGE."
|
|
|
|
|
|
|
|
para "I don't enjoy bat-"
|
|
|
|
line "tling, but it's my"
|
|
|
|
|
|
|
|
para "duty as a LEADER"
|
|
|
|
line "to confer BADGES"
|
|
|
|
|
|
|
|
para "on anyone who has"
|
|
|
|
line "proven him- or"
|
|
|
|
cont "herself worthy."
|
|
|
|
|
|
|
|
para "Since you wish it,"
|
|
|
|
line "I will show you my"
|
|
|
|
cont "psychic powers!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
UnknownText_0x189df4:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "SABRINA: Your"
|
|
|
|
line "power…"
|
|
|
|
|
|
|
|
para "It far exceeds"
|
|
|
|
line "what I foresaw…"
|
|
|
|
|
|
|
|
para "Maybe it isn't"
|
|
|
|
line "possible to fully"
|
|
|
|
|
|
|
|
para "predict what the"
|
|
|
|
line "future holds…"
|
|
|
|
|
|
|
|
para "OK, you win. You"
|
|
|
|
line "earned yourself"
|
|
|
|
cont "MARSHBADGE."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
UnknownText_0x189e95:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "<PLAYER> received"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "MARSHBADGE."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
UnknownText_0x189ead:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "SABRINA: MARSH-"
|
|
|
|
line "BADGE draws out"
|
|
|
|
|
|
|
|
para "your subliminal"
|
|
|
|
line "powers…"
|
|
|
|
|
|
|
|
para "Although I failed"
|
|
|
|
line "to accurately pre-"
|
|
|
|
cont "dict your power,"
|
|
|
|
cont "this much I know"
|
|
|
|
cont "to be true."
|
|
|
|
|
|
|
|
para "You will become a"
|
|
|
|
line "celebrated and"
|
|
|
|
cont "beloved CHAMPION!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
UnknownText_0x189f6c:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "SABRINA: Your love"
|
|
|
|
line "for your #MON"
|
|
|
|
|
|
|
|
para "overwhelmed my"
|
|
|
|
line "psychic power…"
|
|
|
|
|
|
|
|
para "The power of love,"
|
|
|
|
line "I think, is also a"
|
|
|
|
|
|
|
|
para "kind of psychic"
|
|
|
|
line "power…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
MediumRebeccaSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The power of all"
|
|
|
|
line "those you defeated"
|
|
|
|
cont "comes to me!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
MediumRebeccaBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Strong…"
|
|
|
|
line "Far too strong…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
MediumRebeccaAfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "What is the source"
|
|
|
|
line "of your power?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
PsychicFranklinSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Psychic power is"
|
|
|
|
line "the power of your"
|
|
|
|
cont "soul."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
PsychicFranklinBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Your soul has more"
|
|
|
|
line "power than mine!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
PsychicFranklinAfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You made your soul"
|
|
|
|
line "stronger, not just"
|
|
|
|
cont "your abilities."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
MediumDorisSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Fufufufu…"
|
|
|
|
line "I see it clearly."
|
|
|
|
|
|
|
|
para "I can see into"
|
|
|
|
line "your soul!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
MediumDorisBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Though I read you,"
|
|
|
|
line "I still lost…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
MediumDorisAfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Darn! I forgot"
|
|
|
|
line "that I predicted I"
|
|
|
|
cont "would lose to you."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
PsychicJaredSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The FIGHTING DOJO"
|
|
|
|
line "next door was once"
|
|
|
|
cont "this city's GYM."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
PsychicJaredBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I was no match…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
PsychicJaredAfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "KARATE KING, the"
|
|
|
|
line "master of the"
|
|
|
|
|
|
|
|
para "FIGHTING DOJO, was"
|
|
|
|
line "just destroyed by"
|
|
|
|
cont "SABRINA."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
SaffronGymGuyText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Yo, CHAMP in"
|
|
|
|
line "making!"
|
|
|
|
|
|
|
|
para "A trainer as"
|
|
|
|
line "skilled as you"
|
|
|
|
|
|
|
|
para "doesn't need to be"
|
|
|
|
line "told how to deal"
|
|
|
|
|
|
|
|
para "with psychic-type"
|
|
|
|
line "#MON, right?"
|
|
|
|
|
|
|
|
para "I expect great"
|
|
|
|
line "things from you!"
|
|
|
|
|
|
|
|
para "Good luck!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
SaffronGymGuyWinText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "That was another"
|
|
|
|
line "fantastic battle!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
SaffronGym_MapEventHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Warps:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 32
|
2017-12-28 11:31:25 -08:00
|
|
|
warp_def 8, 17, 2, SAFFRON_CITY
|
|
|
|
warp_def 9, 17, 2, SAFFRON_CITY
|
|
|
|
warp_def 11, 15, 18, SAFFRON_GYM
|
|
|
|
warp_def 19, 15, 19, SAFFRON_GYM
|
|
|
|
warp_def 19, 11, 20, SAFFRON_GYM
|
|
|
|
warp_def 1, 11, 21, SAFFRON_GYM
|
|
|
|
warp_def 5, 3, 22, SAFFRON_GYM
|
|
|
|
warp_def 11, 5, 23, SAFFRON_GYM
|
|
|
|
warp_def 1, 15, 24, SAFFRON_GYM
|
|
|
|
warp_def 19, 3, 25, SAFFRON_GYM
|
|
|
|
warp_def 15, 17, 26, SAFFRON_GYM
|
|
|
|
warp_def 5, 17, 27, SAFFRON_GYM
|
|
|
|
warp_def 5, 9, 28, SAFFRON_GYM
|
|
|
|
warp_def 9, 3, 29, SAFFRON_GYM
|
|
|
|
warp_def 15, 9, 30, SAFFRON_GYM
|
|
|
|
warp_def 15, 5, 31, SAFFRON_GYM
|
|
|
|
warp_def 1, 5, 32, SAFFRON_GYM
|
|
|
|
warp_def 19, 17, 3, SAFFRON_GYM
|
|
|
|
warp_def 19, 9, 4, SAFFRON_GYM
|
|
|
|
warp_def 1, 9, 5, SAFFRON_GYM
|
|
|
|
warp_def 5, 5, 6, SAFFRON_GYM
|
|
|
|
warp_def 11, 3, 7, SAFFRON_GYM
|
|
|
|
warp_def 1, 17, 8, SAFFRON_GYM
|
|
|
|
warp_def 19, 5, 9, SAFFRON_GYM
|
|
|
|
warp_def 15, 15, 10, SAFFRON_GYM
|
|
|
|
warp_def 5, 15, 11, SAFFRON_GYM
|
|
|
|
warp_def 5, 11, 12, SAFFRON_GYM
|
|
|
|
warp_def 9, 5, 13, SAFFRON_GYM
|
|
|
|
warp_def 15, 11, 14, SAFFRON_GYM
|
|
|
|
warp_def 15, 3, 15, SAFFRON_GYM
|
|
|
|
warp_def 1, 3, 16, SAFFRON_GYM
|
|
|
|
warp_def 11, 9, 17, SAFFRON_GYM
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.CoordEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.BGEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 1
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 8, 15, BGEVENT_READ, SaffronGymStatue
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.ObjectEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 6
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 9, 8, SPRITE_SABRINA, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, SabrinaScript_0x189c2e, -1
|
|
|
|
object_event 17, 16, SPRITE_GRANNY, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 3, TrainerMediumRebecca, -1
|
|
|
|
object_event 3, 16, SPRITE_YOUNGSTER, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerPsychicFranklin, -1
|
|
|
|
object_event 3, 4, SPRITE_GRANNY, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 2, TrainerMediumDoris, -1
|
|
|
|
object_event 17, 4, SPRITE_YOUNGSTER, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 2, TrainerPsychicJared, -1
|
|
|
|
object_event 9, 14, SPRITE_GYM_GUY, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, SaffronGymGuyScript, -1
|