pokecrystal/maps/SeafoamGym.asm

176 lines
2.9 KiB
NASM
Raw Normal View History

2015-07-10 07:00:27 +00:00
SeafoamGym_MapScriptHeader:
.MapTriggers:
db 1
; triggers
2015-11-02 19:37:02 +00:00
dw UnknownScript_0x1ab4fa, 0
.MapCallbacks:
db 0
2015-07-10 07:00:27 +00:00
UnknownScript_0x1ab4fa:
end
2015-07-10 07:00:27 +00:00
BlaineScript_0x1ab4fb:
faceplayer
loadfont
2015-07-10 07:00:27 +00:00
checkflag ENGINE_VOLCANOBADGE
iftrue .FightDone
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1ab548
closetext
loadmovesprites
2015-11-02 19:37:02 +00:00
winlosstext UnknownText_0x1ab646, 0
loadtrainer BLAINE, 1
startbattle
2015-07-10 07:00:27 +00:00
iftrue .ReturnAfterBattle
appear $3
2015-07-10 07:00:27 +00:00
.ReturnAfterBattle
returnafterbattle
2015-07-10 07:00:27 +00:00
setevent EVENT_BEAT_BLAINE
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1ab683
playsound SFX_GET_BADGE
waitbutton
2015-07-10 07:00:27 +00:00
setflag ENGINE_VOLCANOBADGE
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1ab69d
closetext
loadmovesprites
end
2015-07-10 07:00:27 +00:00
.FightDone
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1ab71c
closetext
loadmovesprites
end
2015-07-10 07:00:27 +00:00
SeafoamGymGuyScript:
faceplayer
loadfont
2013-09-24 07:48:58 +00:00
checkevent EVENT_TALKED_TO_SEAFOAM_GYM_GUY_ONCE
iftrue .TalkedToSeafoamGymGuyScript
2015-01-20 08:01:23 +00:00
writetext SeafoamGymGuyWinText
closetext
loadmovesprites
2013-09-24 07:48:58 +00:00
setevent EVENT_TALKED_TO_SEAFOAM_GYM_GUY_ONCE
end
.TalkedToSeafoamGymGuyScript
2015-01-20 08:01:23 +00:00
writetext SeafoamGymGuyWinText2
closetext
loadmovesprites
end
2015-07-10 07:00:27 +00:00
UnknownText_0x1ab548:
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
2015-07-10 07:00:27 +00:00
UnknownText_0x1ab646:
text "BLAINE: Awesome."
line "I've burned out…"
para "You've earned"
line "VOLCANOBADGE!"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x1ab683:
text "<PLAYER> received"
line "VOLCANOBADGE."
done
2015-07-10 07:00:27 +00:00
UnknownText_0x1ab69d:
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
2015-07-10 07:00:27 +00:00
UnknownText_0x1ab71c:
text "BLAINE: My fire"
line "#MON will be"
para "even stronger."
line "Just you watch!"
done
2015-07-10 07:00:27 +00:00
SeafoamGymGuyWinText:
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
2015-07-10 07:00:27 +00:00
SeafoamGymGuyWinText2:
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
2015-07-10 07:00:27 +00:00
SeafoamGym_MapEventHeader:
; filler
db 0, 0
.Warps:
db 1
warp_def $5, $5, 1, ROUTE_20
.XYTriggers:
db 0
.Signposts:
db 0
.PersonEvents:
db 2
person_event SPRITE_BLAINE, 2, 5, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_SCRIPT, 0, BlaineScript_0x1ab4fb, -1
person_event SPRITE_GYM_GUY, 5, 6, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, SeafoamGymGuyScript, EVENT_SEAFOAM_GYM_GYM_GUY