2018-01-31 08:38:45 -08:00
|
|
|
const_def 2 ; object constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const SEAFOAMGYM_BLAINE
|
|
|
|
const SEAFOAMGYM_GYM_GUY
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
SeafoamGym_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 1 ; scene scripts
|
2017-12-24 10:46:34 -08:00
|
|
|
scene_script .DummyScene
|
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
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.DummyScene:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
BlaineScript_0x1ab4fb:
|
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_VOLCANOBADGE
|
|
|
|
iftrue .FightDone
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1ab548
|
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_0x1ab646, 0
|
2018-01-09 15:45:25 -08:00
|
|
|
loadtrainer BLAINE, BLAINE1
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
2015-07-10 00:00:27 -07:00
|
|
|
iftrue .ReturnAfterBattle
|
2015-11-26 21:22:14 -08:00
|
|
|
appear SEAFOAMGYM_GYM_GUY
|
2016-04-10 11:42:14 -07:00
|
|
|
.ReturnAfterBattle:
|
2015-12-26 15:11:55 -08:00
|
|
|
reloadmapafterbattle
|
2015-07-10 00:00:27 -07:00
|
|
|
setevent EVENT_BEAT_BLAINE
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1ab683
|
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_VOLCANOBADGE
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1ab69d
|
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_0x1ab71c
|
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
|
|
|
SeafoamGymGuyScript:
|
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_TALKED_TO_SEAFOAM_GYM_GUY_ONCE
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue .TalkedToSeafoamGymGuyScript
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext SeafoamGymGuyWinText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_TALKED_TO_SEAFOAM_GYM_GUY_ONCE
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.TalkedToSeafoamGymGuyScript:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext SeafoamGymGuyWinText2
|
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
|
|
|
UnknownText_0x1ab548:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BLAINE: Waaah!"
|
|
|
|
|
|
|
|
para "My GYM in CINNABAR"
|
|
|
|
line "burned down."
|
|
|
|
|
|
|
|
para "My fire-breathing"
|
|
|
|
line "#MON and I are"
|
|
|
|
|
|
|
|
para "homeless because"
|
|
|
|
line "of the volcano."
|
|
|
|
|
|
|
|
para "Waaah!"
|
|
|
|
|
|
|
|
para "But I'm back in"
|
|
|
|
line "business as a GYM"
|
|
|
|
|
|
|
|
para "LEADER here in"
|
|
|
|
line "this cave."
|
|
|
|
|
|
|
|
para "If you can beat"
|
|
|
|
line "me, I'll give you"
|
|
|
|
cont "a BADGE."
|
|
|
|
|
|
|
|
para "Ha! You'd better"
|
|
|
|
line "have BURN HEAL!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
UnknownText_0x1ab646:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BLAINE: Awesome."
|
|
|
|
line "I've burned out…"
|
|
|
|
|
|
|
|
para "You've earned"
|
|
|
|
line "VOLCANOBADGE!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
UnknownText_0x1ab683:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "<PLAYER> received"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "VOLCANOBADGE."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
UnknownText_0x1ab69d:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BLAINE: I did lose"
|
|
|
|
line "this time, but I'm"
|
|
|
|
|
|
|
|
para "going to win the"
|
|
|
|
line "next time."
|
|
|
|
|
|
|
|
para "When I rebuild my"
|
|
|
|
line "CINNABAR GYM,"
|
|
|
|
|
|
|
|
para "we'll have to have"
|
|
|
|
line "a rematch."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
UnknownText_0x1ab71c:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BLAINE: My fire"
|
|
|
|
line "#MON will be"
|
|
|
|
|
|
|
|
para "even stronger."
|
|
|
|
line "Just you watch!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
SeafoamGymGuyWinText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Yo!"
|
|
|
|
|
|
|
|
para "… Huh? It's over"
|
|
|
|
line "already?"
|
|
|
|
|
|
|
|
para "Sorry, sorry!"
|
|
|
|
|
|
|
|
para "CINNABAR GYM was"
|
|
|
|
line "gone, so I didn't"
|
|
|
|
|
|
|
|
para "know where to find"
|
|
|
|
line "you."
|
|
|
|
|
|
|
|
para "But, hey, you're"
|
|
|
|
line "plenty strong even"
|
|
|
|
|
|
|
|
para "without my advice."
|
|
|
|
line "I knew you'd win!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
SeafoamGymGuyWinText2:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "A #MON GYM can"
|
|
|
|
line "be anywhere as"
|
|
|
|
|
|
|
|
para "long as the GYM"
|
|
|
|
line "LEADER is there."
|
|
|
|
|
|
|
|
para "There's no need"
|
|
|
|
line "for a building."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
SeafoamGym_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 1 ; warp events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 5, 5, ROUTE_20, 1
|
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 0 ; bg events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; object events
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 5, 2, SPRITE_BLAINE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, BlaineScript_0x1ab4fb, -1
|
|
|
|
object_event 6, 5, SPRITE_GYM_GUY, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, SeafoamGymGuyScript, EVENT_SEAFOAM_GYM_GYM_GUY
|