2015-11-27 05:22:14 +00:00
|
|
|
const_value set 2
|
|
|
|
const VERMILIONGYM_SURGE
|
|
|
|
const VERMILIONGYM_GENTLEMAN
|
|
|
|
const VERMILIONGYM_ROCKER
|
|
|
|
const VERMILIONGYM_SUPER_NERD
|
|
|
|
const VERMILIONGYM_GYM_GUY
|
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
VermilionGym_MapScriptHeader:
|
2017-12-24 18:46:34 +00:00
|
|
|
.SceneScripts:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapCallbacks:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
SurgeScript_0x1920a5:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-07-10 07:00:27 +00:00
|
|
|
checkflag ENGINE_THUNDERBADGE
|
|
|
|
iftrue .FightDone
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x192142
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-11-02 19:37:02 +00:00
|
|
|
winlosstext UnknownText_0x192238, 0
|
2015-12-02 02:54:11 +00:00
|
|
|
loadtrainer LT_SURGE, 1
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
reloadmapafterbattle
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_BEAT_LTSURGE
|
|
|
|
setevent EVENT_BEAT_GENTLEMAN_GREGORY
|
|
|
|
setevent EVENT_BEAT_GUITARIST_VINCENT
|
|
|
|
setevent EVENT_BEAT_JUGGLER_HORTON
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x192277
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_GET_BADGE
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2015-07-10 07:00:27 +00:00
|
|
|
setflag ENGINE_THUNDERBADGE
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x192291
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.FightDone:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x192303
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
TrainerGentlemanGregory:
|
2017-12-18 01:45:04 +00:00
|
|
|
trainer EVENT_BEAT_GENTLEMAN_GREGORY, GENTLEMAN, GREGORY, GentlemanGregorySeenText, GentlemanGregoryBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2015-11-25 15:16:29 +00:00
|
|
|
end_if_just_battled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext GentlemanGregoryAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
TrainerGuitaristVincent:
|
2017-12-18 01:45:04 +00:00
|
|
|
trainer EVENT_BEAT_GUITARIST_VINCENT, GUITARIST, VINCENT, GuitaristVincentSeenText, GuitaristVincentBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2015-11-25 15:16:29 +00:00
|
|
|
end_if_just_battled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext GuitaristVincentAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
TrainerJugglerHorton:
|
2017-12-18 01:45:04 +00:00
|
|
|
trainer EVENT_BEAT_JUGGLER_HORTON, JUGGLER, HORTON, JugglerHortonSeenText, JugglerHortonBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2015-11-25 15:16:29 +00:00
|
|
|
end_if_just_battled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext JugglerHortonAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
VermilionGymGuyScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_BEAT_LTSURGE
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue .VermilionGymGuyWinScript
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext VermilionGymGuyText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.VermilionGymGuyWinScript:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext VermilionGymGuyWinText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
MapVermilionGymSignpost14Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptext UnknownText_0x19261e
|
|
|
|
|
2015-06-25 03:51:36 +00:00
|
|
|
VermilionGymStatue:
|
|
|
|
checkflag ENGINE_THUNDERBADGE
|
|
|
|
iftrue .Beaten
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd gymstatue1
|
2016-04-10 18:42:14 +00:00
|
|
|
.Beaten:
|
2013-02-17 06:54:07 +00:00
|
|
|
trainertotext LT_SURGE, 1, $1
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd gymstatue2
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
UnknownText_0x192142:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "SURGE: Hey, you"
|
|
|
|
line "little tyke!"
|
|
|
|
|
|
|
|
para "I have to hand it"
|
|
|
|
line "to you. It may not"
|
|
|
|
|
|
|
|
para "be very smart to"
|
|
|
|
line "challenge me, but"
|
|
|
|
cont "it takes guts!"
|
|
|
|
|
|
|
|
para "When it comes to"
|
|
|
|
line "electric #MON,"
|
|
|
|
cont "I'm number one!"
|
|
|
|
|
|
|
|
para "I've never lost on"
|
|
|
|
line "the battlefield."
|
|
|
|
|
|
|
|
para "I'll zap you just"
|
|
|
|
line "like I did my"
|
|
|
|
cont "enemies in war!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
UnknownText_0x192238:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "SURGE: Arrrgh!"
|
|
|
|
line "You are strong!"
|
|
|
|
|
|
|
|
para "OK, kid. You get"
|
|
|
|
line "THUNDERBADGE!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
UnknownText_0x192277:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "<PLAYER> received"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "THUNDERBADGE."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
UnknownText_0x192291:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "SURGE: THUNDER-"
|
|
|
|
line "BADGE increases"
|
|
|
|
cont "#MON's speed. "
|
|
|
|
|
|
|
|
para "Consider it proof"
|
|
|
|
line "that you defeated"
|
|
|
|
|
|
|
|
para "me. You wear it"
|
|
|
|
line "proudly, hear?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
UnknownText_0x192303:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "SURGE: Hey, kid!"
|
|
|
|
line "Still slugging and"
|
|
|
|
cont "chugging away?"
|
|
|
|
|
|
|
|
para "My #MON and I"
|
|
|
|
line "are still at it!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
GentlemanGregorySeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "You're here to"
|
|
|
|
line "defeat LT.SURGE?"
|
|
|
|
|
|
|
|
para "Not if I can help"
|
|
|
|
line "it!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
GentlemanGregoryBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Sorry I failed"
|
|
|
|
line "you, LT.SURGE,"
|
|
|
|
cont "sir!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
GentlemanGregoryAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "When I was still"
|
|
|
|
line "in the army, LT."
|
|
|
|
|
|
|
|
para "SURGE saved my"
|
|
|
|
line "life."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
GuitaristVincentSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "LT.SURGE recog-"
|
|
|
|
line "nized my potential"
|
|
|
|
|
|
|
|
para "with electric"
|
|
|
|
line "#MON."
|
|
|
|
|
|
|
|
para "Think you can beat"
|
|
|
|
line "me?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
GuitaristVincentBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Ooh, how shocking!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
GuitaristVincentAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "If the GYM's traps"
|
|
|
|
line "were working, you"
|
|
|
|
|
|
|
|
para "would have been"
|
|
|
|
line "toast…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
JugglerHortonSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I'm going to take"
|
|
|
|
line "you down! Prepare"
|
|
|
|
cont "to be shocked!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
JugglerHortonBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Gwaaah!"
|
|
|
|
line "I was overpowered…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
JugglerHortonAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Don't get too com-"
|
|
|
|
line "fortable about"
|
|
|
|
|
|
|
|
para "beating me…"
|
|
|
|
line "LT.SURGE is tough."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
VermilionGymGuyText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Yo! CHAMP in"
|
|
|
|
line "making!"
|
|
|
|
|
|
|
|
para "You lucked out"
|
|
|
|
line "this time."
|
|
|
|
|
|
|
|
para "LT.SURGE is very"
|
|
|
|
line "cautious. He has"
|
|
|
|
|
|
|
|
para "traps set all over"
|
|
|
|
line "the GYM."
|
|
|
|
|
|
|
|
para "But--he-heh--the"
|
|
|
|
line "traps aren't"
|
|
|
|
cont "active right now."
|
|
|
|
|
|
|
|
para "You'll have no"
|
|
|
|
line "problem getting to"
|
|
|
|
cont "LT.SURGE."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
VermilionGymGuyWinText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Whew! That was an"
|
|
|
|
line "electrifying bout!"
|
|
|
|
|
|
|
|
para "It sure made me"
|
|
|
|
line "nervous."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
UnknownText_0x19261e:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Nope! Nothing here"
|
|
|
|
line "but trash."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
VermilionGym_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Warps:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 2
|
2015-07-23 16:59:19 +00:00
|
|
|
warp_def $11, $4, 7, VERMILION_CITY
|
|
|
|
warp_def $11, $5, 7, VERMILION_CITY
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.CoordEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.BGEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 17
|
2017-12-24 18:46:34 +00:00
|
|
|
bg_event 7, 1, BGEVENT_READ, MapVermilionGymSignpost14Script
|
|
|
|
bg_event 7, 3, BGEVENT_READ, MapVermilionGymSignpost14Script
|
|
|
|
bg_event 7, 5, BGEVENT_READ, MapVermilionGymSignpost14Script
|
|
|
|
bg_event 7, 7, BGEVENT_READ, MapVermilionGymSignpost14Script
|
|
|
|
bg_event 7, 9, BGEVENT_READ, MapVermilionGymSignpost14Script
|
|
|
|
bg_event 9, 1, BGEVENT_READ, MapVermilionGymSignpost14Script
|
|
|
|
bg_event 9, 3, BGEVENT_READ, MapVermilionGymSignpost14Script
|
|
|
|
bg_event 9, 5, BGEVENT_READ, MapVermilionGymSignpost14Script
|
|
|
|
bg_event 9, 7, BGEVENT_READ, MapVermilionGymSignpost14Script
|
|
|
|
bg_event 9, 9, BGEVENT_READ, MapVermilionGymSignpost14Script
|
|
|
|
bg_event 11, 1, BGEVENT_READ, MapVermilionGymSignpost14Script
|
|
|
|
bg_event 11, 3, BGEVENT_READ, MapVermilionGymSignpost14Script
|
|
|
|
bg_event 11, 5, BGEVENT_READ, MapVermilionGymSignpost14Script
|
|
|
|
bg_event 11, 7, BGEVENT_READ, MapVermilionGymSignpost14Script
|
|
|
|
bg_event 11, 9, BGEVENT_READ, MapVermilionGymSignpost14Script
|
|
|
|
bg_event 15, 3, BGEVENT_READ, VermilionGymStatue
|
|
|
|
bg_event 15, 6, BGEVENT_READ, VermilionGymStatue
|
|
|
|
|
|
|
|
.ObjectEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 5
|
2017-12-24 18:46:34 +00:00
|
|
|
object_event SPRITE_SURGE, 2, 5, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, SurgeScript_0x1920a5, -1
|
|
|
|
object_event SPRITE_GENTLEMAN, 8, 8, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 4, TrainerGentlemanGregory, -1
|
|
|
|
object_event SPRITE_ROCKER, 7, 4, SPRITEMOVEDATA_STANDING_DOWN, 0, 3, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerGuitaristVincent, -1
|
|
|
|
object_event SPRITE_SUPER_NERD, 10, 0, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 4, TrainerJugglerHorton, -1
|
|
|
|
object_event SPRITE_GYM_GUY, 15, 7, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 1, VermilionGymGuyScript, -1
|