2019-04-21 14:42:25 -07:00
|
|
|
object_const_def ; object_event constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const VERMILIONGYM_SURGE
|
|
|
|
const VERMILIONGYM_GENTLEMAN
|
|
|
|
const VERMILIONGYM_ROCKER
|
|
|
|
const VERMILIONGYM_SUPER_NERD
|
|
|
|
const VERMILIONGYM_GYM_GUY
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
VermilionGym_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; scene scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; callbacks
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 13:50:43 -08:00
|
|
|
VermilionGymSurgeScript:
|
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_THUNDERBADGE
|
|
|
|
iftrue .FightDone
|
2018-08-19 10:56:41 -07:00
|
|
|
writetext LtSurgeIntroText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2018-08-19 10:56:41 -07:00
|
|
|
winlosstext LtSurgeWinLossText, 0
|
2018-01-09 15:45:25 -08:00
|
|
|
loadtrainer LT_SURGE, LT_SURGE1
|
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_LTSURGE
|
|
|
|
setevent EVENT_BEAT_GENTLEMAN_GREGORY
|
|
|
|
setevent EVENT_BEAT_GUITARIST_VINCENT
|
|
|
|
setevent EVENT_BEAT_JUGGLER_HORTON
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-08-19 10:56:41 -07:00
|
|
|
writetext ReceivedThunderBadgeText
|
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_THUNDERBADGE
|
2018-08-19 10:56:41 -07:00
|
|
|
writetext LtSurgeThunderBadgeText
|
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:
|
2018-08-19 10:56:41 -07:00
|
|
|
writetext LtSurgeFightDoneText
|
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
|
|
|
TrainerGentlemanGregory:
|
2018-01-23 10:08:48 -08:00
|
|
|
trainer GENTLEMAN, GREGORY, EVENT_BEAT_GENTLEMAN_GREGORY, GentlemanGregorySeenText, GentlemanGregoryBeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 17:45:04 -08:00
|
|
|
.Script:
|
2018-02-02 18:09:17 -08:00
|
|
|
endifjustbattled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext GentlemanGregoryAfterBattleText
|
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
|
|
|
TrainerGuitaristVincent:
|
2018-01-23 10:08:48 -08:00
|
|
|
trainer GUITARIST, VINCENT, EVENT_BEAT_GUITARIST_VINCENT, GuitaristVincentSeenText, GuitaristVincentBeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 17:45:04 -08:00
|
|
|
.Script:
|
2018-02-02 18:09:17 -08:00
|
|
|
endifjustbattled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext GuitaristVincentAfterBattleText
|
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
|
|
|
TrainerJugglerHorton:
|
2018-01-23 10:08:48 -08:00
|
|
|
trainer JUGGLER, HORTON, EVENT_BEAT_JUGGLER_HORTON, JugglerHortonSeenText, JugglerHortonBeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 17:45:04 -08:00
|
|
|
.Script:
|
2018-02-02 18:09:17 -08:00
|
|
|
endifjustbattled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext JugglerHortonAfterBattleText
|
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
|
|
|
VermilionGymGuyScript:
|
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_LTSURGE
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue .VermilionGymGuyWinScript
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext VermilionGymGuyText
|
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
|
|
|
.VermilionGymGuyWinScript:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext VermilionGymGuyWinText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-27 16:33:38 -08:00
|
|
|
VermilionGymTrashCan:
|
|
|
|
jumptext VermilionGymTrashCanText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-24 20:51:36 -07:00
|
|
|
VermilionGymStatue:
|
|
|
|
checkflag ENGINE_THUNDERBADGE
|
|
|
|
iftrue .Beaten
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd gymstatue1
|
2016-04-10 11:42:14 -07:00
|
|
|
.Beaten:
|
2019-03-10 12:31:59 -07:00
|
|
|
gettrainername STRING_BUFFER_4, LT_SURGE, LT_SURGE1
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd gymstatue2
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-08-19 10:56:41 -07:00
|
|
|
LtSurgeIntroText:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2018-08-19 10:56:41 -07:00
|
|
|
LtSurgeWinLossText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "SURGE: Arrrgh!"
|
|
|
|
line "You are strong!"
|
|
|
|
|
|
|
|
para "OK, kid. You get"
|
|
|
|
line "THUNDERBADGE!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-08-19 10:56:41 -07:00
|
|
|
ReceivedThunderBadgeText:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "<PLAYER> received"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "THUNDERBADGE."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-08-19 10:56:41 -07:00
|
|
|
LtSurgeThunderBadgeText:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2018-08-19 10:56:41 -07:00
|
|
|
LtSurgeFightDoneText:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
GentlemanGregorySeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You're here to"
|
|
|
|
line "defeat LT.SURGE?"
|
|
|
|
|
|
|
|
para "Not if I can help"
|
|
|
|
line "it!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
GentlemanGregoryBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Sorry I failed"
|
|
|
|
line "you, LT.SURGE,"
|
|
|
|
cont "sir!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
GentlemanGregoryAfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "When I was still"
|
|
|
|
line "in the army, LT."
|
|
|
|
|
|
|
|
para "SURGE saved my"
|
|
|
|
line "life."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
GuitaristVincentSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "LT.SURGE recog-"
|
|
|
|
line "nized my potential"
|
|
|
|
|
|
|
|
para "with electric"
|
|
|
|
line "#MON."
|
|
|
|
|
|
|
|
para "Think you can beat"
|
|
|
|
line "me?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
GuitaristVincentBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Ooh, how shocking!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
GuitaristVincentAfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "If the GYM's traps"
|
|
|
|
line "were working, you"
|
|
|
|
|
|
|
|
para "would have been"
|
|
|
|
line "toast…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
JugglerHortonSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'm going to take"
|
|
|
|
line "you down! Prepare"
|
|
|
|
cont "to be shocked!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
JugglerHortonBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Gwaaah!"
|
|
|
|
line "I was overpowered…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
JugglerHortonAfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Don't get too com-"
|
|
|
|
line "fortable about"
|
|
|
|
|
|
|
|
para "beating me…"
|
|
|
|
line "LT.SURGE is tough."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
VermilionGymGuyText:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
VermilionGymGuyWinText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Whew! That was an"
|
|
|
|
line "electrifying bout!"
|
|
|
|
|
|
|
|
para "It sure made me"
|
|
|
|
line "nervous."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-27 16:33:38 -08:00
|
|
|
VermilionGymTrashCanText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Nope! Nothing here"
|
|
|
|
line "but trash."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
VermilionGym_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; warp events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 4, 17, VERMILION_CITY, 7
|
|
|
|
warp_event 5, 17, VERMILION_CITY, 7
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; coord events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 17 ; bg events
|
2018-02-27 16:33:38 -08:00
|
|
|
bg_event 1, 7, BGEVENT_READ, VermilionGymTrashCan
|
|
|
|
bg_event 3, 7, BGEVENT_READ, VermilionGymTrashCan
|
|
|
|
bg_event 5, 7, BGEVENT_READ, VermilionGymTrashCan
|
|
|
|
bg_event 7, 7, BGEVENT_READ, VermilionGymTrashCan
|
|
|
|
bg_event 9, 7, BGEVENT_READ, VermilionGymTrashCan
|
|
|
|
bg_event 1, 9, BGEVENT_READ, VermilionGymTrashCan
|
|
|
|
bg_event 3, 9, BGEVENT_READ, VermilionGymTrashCan
|
|
|
|
bg_event 5, 9, BGEVENT_READ, VermilionGymTrashCan
|
|
|
|
bg_event 7, 9, BGEVENT_READ, VermilionGymTrashCan
|
|
|
|
bg_event 9, 9, BGEVENT_READ, VermilionGymTrashCan
|
|
|
|
bg_event 1, 11, BGEVENT_READ, VermilionGymTrashCan
|
|
|
|
bg_event 3, 11, BGEVENT_READ, VermilionGymTrashCan
|
|
|
|
bg_event 5, 11, BGEVENT_READ, VermilionGymTrashCan
|
|
|
|
bg_event 7, 11, BGEVENT_READ, VermilionGymTrashCan
|
|
|
|
bg_event 9, 11, BGEVENT_READ, VermilionGymTrashCan
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 3, 15, BGEVENT_READ, VermilionGymStatue
|
|
|
|
bg_event 6, 15, BGEVENT_READ, VermilionGymStatue
|
2017-12-24 10:46:34 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 5 ; object events
|
2018-02-28 13:50:43 -08:00
|
|
|
object_event 5, 2, SPRITE_SURGE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, VermilionGymSurgeScript, -1
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 8, 8, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 4, TrainerGentlemanGregory, -1
|
|
|
|
object_event 4, 7, SPRITE_ROCKER, SPRITEMOVEDATA_STANDING_DOWN, 3, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerGuitaristVincent, -1
|
|
|
|
object_event 0, 10, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 4, TrainerJugglerHorton, -1
|
|
|
|
object_event 7, 15, SPRITE_GYM_GUY, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 1, VermilionGymGuyScript, -1
|