pokecrystal-board/maps/CeruleanGym.asm

394 lines
7.9 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const CERULEANGYM_ROCKET
const CERULEANGYM_MISTY
const CERULEANGYM_SWIMMER_GIRL1
const CERULEANGYM_SWIMMER_GIRL2
const CERULEANGYM_SWIMMER_GUY
const CERULEANGYM_GYM_GUY
2015-07-10 00:00:27 -07:00
CeruleanGym_MapScriptHeader:
.MapTriggers:
db 2
; triggers
2015-11-02 11:37:02 -08:00
dw UnknownScript_0x1883d9, 0
dw UnknownScript_0x1883da, 0
.MapCallbacks:
db 0
2015-07-10 00:00:27 -07:00
UnknownScript_0x1883d9:
end
2015-07-10 00:00:27 -07:00
UnknownScript_0x1883da:
priorityjump UnknownScript_0x1883de
end
2015-07-10 00:00:27 -07:00
UnknownScript_0x1883de:
2015-11-26 21:22:14 -08:00
applymovement CERULEANGYM_ROCKET, MovementData_0x1884e3
playsound SFX_TACKLE
2015-11-26 21:22:14 -08:00
applymovement CERULEANGYM_ROCKET, MovementData_0x1884eb
playmusic MUSIC_ROCKET_ENCOUNTER
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1884fb
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-26 21:22:14 -08:00
showemote EMOTE_SHOCK, CERULEANGYM_ROCKET, 15
applymovement CERULEANGYM_ROCKET, MovementData_0x1884f7
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x188574
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-26 21:22:14 -08:00
applymovement CERULEANGYM_ROCKET, MovementData_0x1884f5
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1885a5
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-26 21:22:14 -08:00
applymovement CERULEANGYM_ROCKET, MovementData_0x1884e8
playsound SFX_EXIT_BUILDING
2015-11-26 21:22:14 -08:00
disappear CERULEANGYM_ROCKET
2013-09-24 00:48:58 -07:00
setevent EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM
clearevent EVENT_ROUTE_24_ROCKET
clearevent EVENT_ROUTE_25_MISTY_BOYFRIEND
dotrigger $0
domaptrigger ROUTE_25, $1
domaptrigger POWER_PLANT, $0
2015-11-25 07:16:29 -08:00
waitsfx
special RestartMapMusic
pause 15
spriteface PLAYER, DOWN
pause 15
end
2015-07-10 00:00:27 -07:00
MistyScript_0x188432:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2015-07-10 00:00:27 -07:00
checkflag ENGINE_CASCADEBADGE
iftrue .FightDone
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x188674
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-02 11:37:02 -08:00
winlosstext UnknownText_0x18870c, 0
loadtrainer MISTY, 1
startbattle
reloadmapafterbattle
2013-09-24 00:48:58 -07:00
setevent EVENT_BEAT_MISTY
setevent EVENT_BEAT_SWIMMERF_DIANA
setevent EVENT_BEAT_SWIMMERF_BRIANA
setevent EVENT_BEAT_SWIMMERM_PARKER
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x188768
playsound SFX_GET_BADGE
2015-11-25 07:16:29 -08:00
waitsfx
2015-07-10 00:00:27 -07:00
setflag ENGINE_CASCADEBADGE
.FightDone:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x188782
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 00:00:27 -07:00
TrainerSwimmerfDiana:
2015-11-02 11:37:02 -08:00
trainer EVENT_BEAT_SWIMMERF_DIANA, SWIMMERF, DIANA, SwimmerfDianaSeenText, SwimmerfDianaBeatenText, 0, SwimmerfDianaScript
2015-07-10 00:00:27 -07:00
SwimmerfDianaScript:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x188856
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 00:00:27 -07:00
TrainerSwimmerfBriana:
2015-11-02 11:37:02 -08:00
trainer EVENT_BEAT_SWIMMERF_BRIANA, SWIMMERF, BRIANA, SwimmerfBrianaSeenText, SwimmerfBrianaBeatenText, 0, SwimmerfBrianaScript
2015-07-10 00:00:27 -07:00
SwimmerfBrianaScript:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1888c0
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 00:00:27 -07:00
TrainerSwimmermParker:
2015-11-02 11:37:02 -08:00
trainer EVENT_BEAT_SWIMMERM_PARKER, SWIMMERM, PARKER, SwimmermParkerSeenText, SwimmermParkerBeatenText, 0, SwimmermParkerScript
2015-07-10 00:00:27 -07:00
SwimmermParkerScript:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x188943
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 00:00:27 -07:00
CeruleanGymGuyScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_BEAT_MISTY
iftrue .CeruleanGymGuyWinScript
2015-01-20 00:01:23 -08:00
writetext CeruleanGymGuyText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.CeruleanGymGuyWinScript:
2015-01-20 00:01:23 -08:00
writetext CeruleanGymGuyWinText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
CeruleanGymHiddenMachinePart:
dwb EVENT_FOUND_MACHINE_PART_IN_CERULEAN_GYM, MACHINE_PART
2015-06-24 20:51:36 -07:00
CeruleanGymStatue1:
checkevent EVENT_TRAINERS_IN_CERULEAN_GYM
iffalse CeruleanGymStatue
2015-12-09 15:25:44 -08:00
opentext
2015-06-24 20:51:36 -07:00
writetext CeruleanGymNote1
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-06-24 20:51:36 -07:00
CeruleanGymStatue2:
checkevent EVENT_TRAINERS_IN_CERULEAN_GYM
iffalse CeruleanGymStatue
2015-12-09 15:25:44 -08:00
opentext
2015-06-24 20:51:36 -07:00
writetext CeruleanGymNote2
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-06-24 20:51:36 -07:00
CeruleanGymStatue:
checkflag ENGINE_CASCADEBADGE
iftrue .Beaten
2015-06-24 18:26:24 -07:00
jumpstd gymstatue1
.Beaten:
trainertotext MISTY, 1, $1
2015-06-24 18:26:24 -07:00
jumpstd gymstatue2
2015-07-10 00:00:27 -07:00
MovementData_0x1884e3:
big_step_down
big_step_down
big_step_down
big_step_down
step_end
2015-07-10 00:00:27 -07:00
MovementData_0x1884e8:
big_step_right
big_step_down
step_end
2015-07-10 00:00:27 -07:00
MovementData_0x1884eb:
fix_facing
db $39 ; movement
jump_step_up
db $38 ; movement
remove_fixed_facing
2015-11-11 20:38:57 -08:00
step_sleep_8
step_sleep_8
step_down
step_down
step_end
2015-07-10 00:00:27 -07:00
MovementData_0x1884f5:
big_step_down
step_end
2015-07-10 00:00:27 -07:00
MovementData_0x1884f7:
fix_facing
slow_step_up
remove_fixed_facing
step_end
2015-07-10 00:00:27 -07:00
UnknownText_0x1884fb:
text "Oops! I so sorry!"
line "You not hurt,"
cont "okay?"
para "I very busy."
line "No time for talk-"
cont "ing with you. Not"
cont "good for me if"
cont "seen by somebody."
done
2015-07-10 00:00:27 -07:00
UnknownText_0x188574:
text "Oh no! You seen"
line "me already! I make"
cont "big mistake!"
done
2015-07-10 00:00:27 -07:00
UnknownText_0x1885a5:
text "Hey, you! Forget"
line "you see me, okay?"
para "You see, hear,"
line "know nothing,"
para "okay?"
line "Bye, kid! Nothing!"
para "Bye-bye a go-go!"
done
2015-06-24 20:51:36 -07:00
CeruleanGymNote1:
text "Sorry, I'll be out"
line "for a while."
cont "MISTY, GYM LEADER"
done
2015-06-24 20:51:36 -07:00
CeruleanGymNote2:
text "Since MISTY's out,"
line "we'll be away too."
cont "GYM TRAINERS"
done
2015-07-10 00:00:27 -07:00
UnknownText_0x188674:
text "MISTY: I was ex-"
line "pecting you, you"
cont "pest!"
para "You may have a"
line "lot of JOHTO GYM"
para "BADGES, but you'd"
line "better not take me"
cont "too lightly."
para "My water-type"
line "#MON are tough!"
done
2015-07-10 00:00:27 -07:00
UnknownText_0x18870c:
text "MISTY: You really"
line "are good…"
para "I'll admit that"
line "you are skilled…"
para "Here you go. It's"
line "CASCADEBADGE."
done
2015-07-10 00:00:27 -07:00
UnknownText_0x188768:
text "<PLAYER> received"
line "CASCADEBADGE."
done
2015-07-10 00:00:27 -07:00
UnknownText_0x188782:
text "MISTY: Are there"
line "many strong train-"
cont "ers in JOHTO? Like"
cont "you, I mean."
para "I'm going to"
line "travel one day, so"
para "I can battle some"
line "skilled trainers."
done
2015-07-10 00:00:27 -07:00
SwimmerfDianaSeenText:
text "Sorry about being"
line "away. Let's get on"
cont "with it!"
done
2015-07-10 00:00:27 -07:00
SwimmerfDianaBeatenText:
text "I give up! You're"
line "the winner!"
done
2015-07-10 00:00:27 -07:00
UnknownText_0x188856:
text "I'll be swimming"
line "quietly."
done
2015-07-10 00:00:27 -07:00
SwimmerfBrianaSeenText:
text "Don't let my ele-"
line "gant swimming un-"
cont "nerve you."
done
2015-07-10 00:00:27 -07:00
SwimmerfBrianaBeatenText:
text "Ooh, you calmly"
line "disposed of me…"
done
2015-07-10 00:00:27 -07:00
UnknownText_0x1888c0:
text "Don't be too smug"
line "about beating me."
para "MISTY will destroy"
line "you if you get"
cont "complacent."
done
2015-07-10 00:00:27 -07:00
SwimmermParkerSeenText:
text "Glub…"
para "I'm first! Come"
line "and get me!"
done
2015-07-10 00:00:27 -07:00
SwimmermParkerBeatenText:
text "This can't be…"
done
2015-07-10 00:00:27 -07:00
UnknownText_0x188943:
text "MISTY has gotten"
line "much better in the"
cont "past few years."
para "Don't let your"
line "guard down, or"
cont "you'll be crushed!"
done
2015-07-10 00:00:27 -07:00
CeruleanGymGuyText:
text "Yo! CHAMP in"
line "making!"
para "Since MISTY was"
line "away, I went out"
para "for some fun too."
line "He-he-he."
done
2015-07-10 00:00:27 -07:00
CeruleanGymGuyWinText:
text "Hoo, you showed me"
line "how tough you are."
para "As always, that"
line "was one heck of a"
cont "great battle!"
done
2015-07-10 00:00:27 -07:00
CeruleanGym_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $f, $4, 5, CERULEAN_CITY
warp_def $f, $5, 5, CERULEAN_CITY
.XYTriggers:
db 0
.Signposts:
db 3
signpost 8, 3, SIGNPOST_ITEM, CeruleanGymHiddenMachinePart
signpost 13, 2, SIGNPOST_READ, CeruleanGymStatue1
signpost 13, 6, SIGNPOST_READ, CeruleanGymStatue2
.PersonEvents:
db 6
person_event SPRITE_ROCKET, 10, 4, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, ObjectEvent, EVENT_CERULEAN_GYM_ROCKET
person_event SPRITE_MISTY, 3, 5, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, MistyScript_0x188432, EVENT_TRAINERS_IN_CERULEAN_GYM
person_event SPRITE_SWIMMER_GIRL, 6, 4, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_TRAINER, 3, TrainerSwimmerfDiana, EVENT_TRAINERS_IN_CERULEAN_GYM
person_event SPRITE_SWIMMER_GIRL, 9, 1, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_TRAINER, 1, TrainerSwimmerfBriana, EVENT_TRAINERS_IN_CERULEAN_GYM
person_event SPRITE_SWIMMER_GUY, 9, 8, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_TRAINER, 3, TrainerSwimmermParker, EVENT_TRAINERS_IN_CERULEAN_GYM
person_event SPRITE_GYM_GUY, 13, 7, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, CeruleanGymGuyScript, EVENT_TRAINERS_IN_CERULEAN_GYM