pokecrystal-board/maps/RadioTower5F.asm

445 lines
9.2 KiB
NASM
Raw Normal View History

object_const_def
2015-12-09 08:38:40 -08:00
const RADIOTOWER5F_DIRECTOR
2015-11-26 21:22:14 -08:00
const RADIOTOWER5F_ROCKET
const RADIOTOWER5F_ROCKET_GIRL
const RADIOTOWER5F_ROCKER
const RADIOTOWER5F_POKE_BALL
RadioTower5F_MapScripts:
def_scene_scripts
scene_script RadioTower5FNoop1Scene, SCENE_RADIOTOWER5F_FAKE_DIRECTOR
scene_script RadioTower5FNoop2Scene, SCENE_RADIOTOWER5F_ROCKET_BOSS
scene_script RadioTower5FNoop3Scene, SCENE_RADIOTOWER5F_NOOP
def_callbacks
RadioTower5FNoop1Scene:
end
RadioTower5FNoop2Scene:
end
RadioTower5FNoop3Scene:
end
2015-12-09 08:38:40 -08:00
FakeDirectorScript:
turnobject RADIOTOWER5F_DIRECTOR, UP
2015-12-09 08:38:40 -08:00
showemote EMOTE_SHOCK, RADIOTOWER5F_DIRECTOR, 15
2015-12-09 15:25:44 -08:00
opentext
2015-12-09 08:38:40 -08:00
writetext FakeDirectorTextBefore1
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-12-09 08:38:40 -08:00
applymovement RADIOTOWER5F_DIRECTOR, FakeDirectorMovement
playmusic MUSIC_ROCKET_ENCOUNTER
2015-12-09 15:25:44 -08:00
opentext
2015-12-09 08:38:40 -08:00
writetext FakeDirectorTextBefore2
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-12-09 08:38:40 -08:00
winlosstext FakeDirectorWinText, 0
setlasttalked RADIOTOWER5F_DIRECTOR
loadtrainer EXECUTIVEM, EXECUTIVEM_3
startbattle
reloadmapafterbattle
2015-12-09 15:25:44 -08:00
opentext
2015-12-09 08:38:40 -08:00
writetext FakeDirectorTextAfter
2019-11-03 09:48:54 -08:00
promptbutton
2015-11-04 17:20:14 -08:00
verbosegiveitem BASEMENT_KEY
2015-11-25 07:16:29 -08:00
closetext
setscene SCENE_RADIOTOWER5F_ROCKET_BOSS
2015-07-10 01:20:21 -07:00
setevent EVENT_BEAT_ROCKET_EXECUTIVEM_3
end
2015-06-25 21:01:08 -07:00
Director:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_CLEARED_RADIO_TOWER
2015-12-09 08:38:40 -08:00
iftrue .TrueDirector
writetext FakeDirectorTextAfter
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-12-09 08:38:40 -08:00
.TrueDirector:
writetext RadioTower5FDirectorText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerExecutivef1:
trainer EXECUTIVEF, EXECUTIVEF_1, EVENT_BEAT_ROCKET_EXECUTIVEF_1, Executivef1SeenText, Executivef1BeatenText, 0, .Script
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 Executivef1AfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
RadioTower5FRocketBossScript:
2018-02-28 13:50:43 -08:00
applymovement PLAYER, RadioTower5FPlayerTwoStepsLeftMovement
playmusic MUSIC_ROCKET_ENCOUNTER
turnobject RADIOTOWER5F_ROCKET, RIGHT
2015-12-09 15:25:44 -08:00
opentext
2015-12-09 08:38:40 -08:00
writetext RadioTower5FRocketBossBeforeText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-12-09 08:38:40 -08:00
winlosstext RadioTower5FRocketBossWinText, 0
setlasttalked RADIOTOWER5F_ROCKET
loadtrainer EXECUTIVEM, EXECUTIVEM_1
startbattle
reloadmapafterbattle
2015-12-09 15:25:44 -08:00
opentext
2015-12-09 08:38:40 -08:00
writetext RadioTower5FRocketBossAfterText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
special FadeBlackQuickly
2018-01-02 09:49:25 -08:00
special ReloadSpritesNoPalettes
2015-11-26 21:22:14 -08:00
disappear RADIOTOWER5F_ROCKET
disappear RADIOTOWER5F_ROCKET_GIRL
pause 15
special FadeInQuickly
2015-07-10 01:20:21 -07:00
setevent EVENT_BEAT_ROCKET_EXECUTIVEM_1
2013-09-24 00:48:58 -07:00
setevent EVENT_CLEARED_RADIO_TOWER
clearflag ENGINE_ROCKETS_IN_RADIO_TOWER
setevent EVENT_GOLDENROD_CITY_ROCKET_SCOUT
setevent EVENT_GOLDENROD_CITY_ROCKET_TAKEOVER
setevent EVENT_RADIO_TOWER_ROCKET_TAKEOVER
2015-11-03 04:11:32 -08:00
clearevent EVENT_MAHOGANY_MART_OWNERS
clearflag ENGINE_ROCKETS_IN_MAHOGANY
clearevent EVENT_GOLDENROD_CITY_CIVILIANS
clearevent EVENT_RADIO_TOWER_CIVILIANS_AFTER
setevent EVENT_BLACKTHORN_CITY_SUPER_NERD_BLOCKS_GYM
clearevent EVENT_BLACKTHORN_CITY_SUPER_NERD_DOES_NOT_BLOCK_GYM
special PlayMapMusic
2015-12-09 08:38:40 -08:00
disappear RADIOTOWER5F_DIRECTOR
moveobject RADIOTOWER5F_DIRECTOR, 12, 0
2015-12-09 08:38:40 -08:00
appear RADIOTOWER5F_DIRECTOR
applymovement RADIOTOWER5F_DIRECTOR, RadioTower5FDirectorWalksIn
turnobject PLAYER, RIGHT
2015-12-09 15:25:44 -08:00
opentext
2015-12-09 08:38:40 -08:00
writetext RadioTower5FDirectorThankYouText
2019-11-03 09:48:54 -08:00
promptbutton
2015-11-04 17:20:14 -08:00
verbosegiveitem CLEAR_BELL
2015-12-09 08:38:40 -08:00
writetext RadioTower5FDirectorDescribeClearBellText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
setscene SCENE_RADIOTOWER5F_NOOP
setmapscene ECRUTEAK_TIN_TOWER_ENTRANCE, SCENE_ECRUTEAKTINTOWERENTRANCE_SAGE_BLOCKS
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_CLEAR_BELL
setevent EVENT_TEAM_ROCKET_DISBANDED
sjump .UselessJump
2015-12-09 08:38:40 -08:00
.UselessJump:
applymovement RADIOTOWER5F_DIRECTOR, RadioTower5FDirectorWalksOut
playsound SFX_EXIT_BUILDING
2015-12-09 08:38:40 -08:00
disappear RADIOTOWER5F_DIRECTOR
end
2015-06-25 21:01:08 -07:00
Ben:
jumptextfaceplayer BenText
2015-12-15 07:55:56 -08:00
RadioTower5FUltraBall:
itemball ULTRA_BALL
RadioTower5FDirectorsOfficeSign:
jumptext RadioTower5FDirectorsOfficeSignText
RadioTower5FStudio1Sign:
jumptext RadioTower5FStudio1SignText
2015-06-25 21:01:08 -07:00
RadioTower5FBookshelf:
jumpstd MagazineBookshelfScript
2015-12-09 08:38:40 -08:00
FakeDirectorMovement:
2016-05-14 10:46:14 -07:00
step LEFT
step LEFT
step LEFT
step UP
step UP
step_end
2015-12-09 08:38:40 -08:00
RadioTower5FDirectorWalksIn:
2016-05-14 10:46:14 -07:00
step DOWN
step DOWN
step RIGHT
step RIGHT
step RIGHT
step RIGHT
step DOWN
step DOWN
step DOWN
step LEFT
step_end
2015-12-09 08:38:40 -08:00
RadioTower5FDirectorWalksOut:
2016-05-14 10:46:14 -07:00
step RIGHT
step UP
step UP
step UP
step LEFT
step LEFT
step LEFT
step LEFT
step UP
step UP
step_end
2018-02-28 13:50:43 -08:00
RadioTower5FPlayerTwoStepsLeftMovement:
2016-05-14 10:46:14 -07:00
step LEFT
step LEFT
step_end
2015-12-09 08:38:40 -08:00
FakeDirectorTextBefore1:
text "Y-you! You came to"
line "rescue me?"
done
2015-12-09 08:38:40 -08:00
FakeDirectorTextBefore2:
text "Is that what you"
line "were expecting?"
para "Wrong!"
line "I'm an imposter!"
para "I pretended to be"
line "the real thing to"
para "prepare for our"
line "takeover."
para "Do you want to"
line "know where we hid"
cont "the real DIRECTOR?"
para "Sure, I'll tell"
line "you. But only if"
cont "you can beat me!"
done
2015-12-09 08:38:40 -08:00
FakeDirectorWinText:
text "OK, OK. I'll tell"
line "you where he is."
done
2015-12-09 08:38:40 -08:00
FakeDirectorTextAfter:
text "We stashed the"
line "real DIRECTOR in"
para "the UNDERGROUND"
line "WAREHOUSE."
para "It's at the far"
line "end of the UNDER-"
cont "GROUND."
para "But I doubt you'll"
line "get that far."
done
2015-07-10 01:20:21 -07:00
Executivef1SeenText:
text "Remember me from"
line "the HIDEOUT in"
cont "MAHOGANY TOWN?"
para "I lost then, but I"
line "won't this time."
done
2015-07-10 01:20:21 -07:00
Executivef1BeatenText:
text "This can't be"
line "happening!"
para "I fought hard, but"
line "I still lost…"
done
2017-12-10 12:36:58 -08:00
Executivef1AfterBattleText:
text "<PLAYER>, isn't it?"
para "A brat like you"
line "won't appreciate"
para "the magnificence"
line "of TEAM ROCKET."
para "That's too bad."
line "I really admire"
cont "your power."
done
2015-12-09 08:38:40 -08:00
RadioTower5FRocketBossBeforeText:
text "Oh? You managed to"
line "get this far?"
para "You must be quite"
line "the trainer."
para "We intend to take"
line "over this RADIO"
para "STATION and an-"
line "nounce our come-"
cont "back."
para "That should bring"
line "our boss GIOVANNI"
para "back from his solo"
line "training."
para "We are going to"
line "regain our former"
cont "glory."
para "I won't allow you"
line "to interfere with"
cont "our plans."
done
2015-12-09 08:38:40 -08:00
RadioTower5FRocketBossWinText:
text "No! Forgive me,"
line "GIOVANNI!"
done
2015-12-09 08:38:40 -08:00
RadioTower5FRocketBossAfterText:
text "How could this be?"
para "Our dreams have"
line "come to naught."
para "I wasn't up to the"
line "task after all."
para "Like GIOVANNI did"
line "before me, I will"
para "disband TEAM"
line "ROCKET here today."
para "Farewell."
done
2015-12-09 08:38:40 -08:00
RadioTower5FDirectorThankYouText:
text "DIRECTOR: <PLAY_G>,"
line "thank you!"
para "Your courageous"
line "actions have saved"
para "#MON nation-"
line "wide."
para "I know it's not"
line "much, but please"
cont "take this."
done
2015-12-09 08:38:40 -08:00
RadioTower5FDirectorDescribeClearBellText:
text "There used to be a"
line "tower right here"
cont "in GOLDENROD CITY."
para "But it was old and"
line "creaky."
para "So we replaced it"
line "with our RADIO"
cont "TOWER."
para "We dug up that"
line "bell during"
cont "construction."
para "I heard that all"
line "sorts of #MON"
para "lived in GOLDENROD"
line "in the past."
para "Perhaps…"
para "That bell has some"
line "connection to the"
para "TIN TOWER in"
line "ECRUTEAK CITY…"
para "Ah!"
para "That reminds me…"
para "I overheard TEAM"
line "ROCKET whispering."
para "Apparently, some-"
line "thing is going on"
cont "at the TIN TOWER."
para "I have no idea"
line "what is happening,"
para "but you might look"
line "into it."
para "OK, I better go to"
line "my OFFICE."
done
2015-12-09 08:38:40 -08:00
RadioTower5FDirectorText:
text "DIRECTOR: Hello,"
line "<PLAY_G>!"
para "You know, I love"
line "#MON."
para "I built this RADIO"
line "TOWER so I could"
para "express my love"
line "of #MON."
para "It would be nice"
line "if people enjoyed"
cont "our programs."
done
2015-06-25 21:01:08 -07:00
BenText:
text "BEN: Do you listen"
line "to our music?"
done
RadioTower5FDirectorsOfficeSignText:
text "5F DIRECTOR'S"
line " OFFICE"
done
RadioTower5FStudio1SignText:
text "5F STUDIO 1"
done
RadioTower5F_MapEvents:
db 0, 0 ; filler
def_warp_events
2018-02-01 19:22:07 -08:00
warp_event 0, 0, RADIO_TOWER_4F, 1
warp_event 12, 0, RADIO_TOWER_4F, 3
def_coord_events
coord_event 0, 3, SCENE_RADIOTOWER5F_FAKE_DIRECTOR, FakeDirectorScript
coord_event 16, 5, SCENE_RADIOTOWER5F_ROCKET_BOSS, RadioTower5FRocketBossScript
def_bg_events
bg_event 3, 0, BGEVENT_READ, RadioTower5FDirectorsOfficeSign
bg_event 11, 0, BGEVENT_READ, RadioTower5FStudio1Sign
bg_event 15, 0, BGEVENT_READ, RadioTower5FStudio1Sign
2018-02-01 19:22:07 -08:00
bg_event 16, 1, BGEVENT_READ, RadioTower5FBookshelf
bg_event 17, 1, BGEVENT_READ, RadioTower5FBookshelf
def_object_events
2018-02-01 19:22:07 -08:00
object_event 3, 6, SPRITE_GENTLEMAN, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Director, -1
object_event 13, 5, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
object_event 17, 2, SPRITE_ROCKET_GIRL, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 1, TrainerExecutivef1, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
object_event 13, 5, SPRITE_ROCKER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, Ben, EVENT_RADIO_TOWER_CIVILIANS_AFTER
object_event 8, 5, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, RadioTower5FUltraBall, EVENT_RADIO_TOWER_5F_ULTRA_BALL