pokecrystal-board/maps/RadioTower5F.asm

454 lines
8.7 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const RADIOTOWER5F_GENTLEMAN
const RADIOTOWER5F_ROCKET
const RADIOTOWER5F_ROCKET_GIRL
const RADIOTOWER5F_ROCKER
const RADIOTOWER5F_POKE_BALL
2015-07-10 01:20:21 -07:00
RadioTower5F_MapScriptHeader:
.MapTriggers:
db 3
; triggers
2015-11-02 11:37:02 -08:00
dw UnknownScript_0x6000e, 0
dw UnknownScript_0x6000f, 0
dw UnknownScript_0x60010, 0
.MapCallbacks:
db 0
2015-07-10 01:20:21 -07:00
UnknownScript_0x6000e:
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x6000f:
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x60010:
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x60011:
2015-11-26 21:22:14 -08:00
spriteface RADIOTOWER5F_GENTLEMAN, UP
showemote EMOTE_SHOCK, RADIOTOWER5F_GENTLEMAN, 15
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x60128
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-26 21:22:14 -08:00
applymovement RADIOTOWER5F_GENTLEMAN, MovementData_0x60109
playmusic MUSIC_ROCKET_ENCOUNTER
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x60147
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-02 11:37:02 -08:00
winlosstext UnknownText_0x60223, 0
setlasttalked $2
loadtrainer EXECUTIVEM, 3
startbattle
returnafterbattle
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x60246
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-04 17:20:14 -08:00
verbosegiveitem BASEMENT_KEY
2015-11-25 07:16:29 -08:00
closetext
dotrigger $1
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
loadfont
2013-09-24 00:48:58 -07:00
checkevent EVENT_CLEARED_RADIO_TOWER
iftrue UnknownScript_0x60054
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x60246
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x60054:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x60824
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerExecutivef1:
2015-11-02 11:37:02 -08:00
trainer EVENT_BEAT_ROCKET_EXECUTIVEF_1, EXECUTIVEF, 1, Executivef1SeenText, Executivef1BeatenText, 0, Executivef1Script
2015-07-10 01:20:21 -07:00
Executivef1Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x60358
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x6006e:
applymovement PLAYER, MovementData_0x60125
playmusic MUSIC_ROCKET_ENCOUNTER
2015-11-26 21:22:14 -08:00
spriteface RADIOTOWER5F_ROCKET, RIGHT
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x603d1
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-02 11:37:02 -08:00
winlosstext UnknownText_0x604f3, 0
setlasttalked $3
loadtrainer EXECUTIVEM, 1
startbattle
returnafterbattle
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x6050e
2015-11-25 07:16:29 -08:00
waitbutton
closetext
special Special_FadeBlackQuickly
special Special_ReloadSpritesNoPalettes
2015-11-26 21:22:14 -08:00
disappear RADIOTOWER5F_ROCKET
disappear RADIOTOWER5F_ROCKET_GIRL
pause 15
2015-11-26 18:05:32 -08:00
special 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-11-26 21:22:14 -08:00
disappear RADIOTOWER5F_GENTLEMAN
moveperson RADIOTOWER5F_GENTLEMAN, $c, $0
appear RADIOTOWER5F_GENTLEMAN
applymovement RADIOTOWER5F_GENTLEMAN, MovementData_0x6010f
spriteface PLAYER, RIGHT
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x605b2
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-04 17:20:14 -08:00
verbosegiveitem CLEAR_BELL
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x6062c
2015-11-25 07:16:29 -08:00
waitbutton
closetext
dotrigger $2
domaptrigger ECRUTEAK_HOUSE, $0
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_CLEAR_BELL
setevent EVENT_TEAM_ROCKET_DISBANDED
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x600f1
2015-07-10 01:20:21 -07:00
UnknownScript_0x600f1:
2015-11-26 21:22:14 -08:00
applymovement RADIOTOWER5F_GENTLEMAN, MovementData_0x6011a
playsound SFX_EXIT_BUILDING
2015-11-26 21:22:14 -08:00
disappear RADIOTOWER5F_GENTLEMAN
end
2015-06-25 21:01:08 -07:00
Ben:
jumptextfaceplayer BenText
2015-07-10 01:20:21 -07:00
ItemFragment_0x600fe:
db ULTRA_BALL, 1
2015-07-10 01:20:21 -07:00
MapRadioTower5FSignpost0Script:
jumptext UnknownText_0x608e0
2015-07-10 01:20:21 -07:00
MapRadioTower5FSignpost2Script:
jumptext UnknownText_0x608f9
2015-06-25 21:01:08 -07:00
RadioTower5FBookshelf:
jumpstd magazinebookshelf
2015-07-10 01:20:21 -07:00
MovementData_0x60109:
step_left
step_left
step_left
step_up
step_up
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x6010f:
step_down
step_down
step_right
step_right
step_right
step_right
step_down
step_down
step_down
step_left
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x6011a:
step_right
step_up
step_up
step_up
step_left
step_left
step_left
step_left
step_up
step_up
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x60125:
step_left
step_left
step_end
2015-07-10 01:20:21 -07:00
UnknownText_0x60128:
text "Y-you! You came to"
line "rescue me?"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x60147:
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-07-10 01:20:21 -07:00
UnknownText_0x60223:
text "OK, OK. I'll tell"
line "you where he is."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x60246:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x60358:
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-07-10 01:20:21 -07:00
UnknownText_0x603d1:
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-07-10 01:20:21 -07:00
UnknownText_0x604f3:
text "No! Forgive me,"
line "GIOVANNI!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x6050e:
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-07-10 01:20:21 -07:00
UnknownText_0x605b2:
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-07-10 01:20:21 -07:00
UnknownText_0x6062c:
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-07-10 01:20:21 -07:00
UnknownText_0x60824:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x608e0:
text "5F DIRECTOR'S"
line " OFFICE"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x608f9:
text "5F STUDIO 1"
done
2015-07-10 01:20:21 -07:00
RadioTower5F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $0, $0, 1, RADIO_TOWER_4F
warp_def $0, $c, 3, RADIO_TOWER_4F
.XYTriggers:
db 2
xy_trigger 0, $3, $0, $0, UnknownScript_0x60011, $0, $0
xy_trigger 1, $5, $10, $0, UnknownScript_0x6006e, $0, $0
.Signposts:
db 5
signpost 0, 3, SIGNPOST_READ, MapRadioTower5FSignpost0Script
signpost 0, 11, SIGNPOST_READ, MapRadioTower5FSignpost2Script
signpost 0, 15, SIGNPOST_READ, MapRadioTower5FSignpost2Script
signpost 1, 16, SIGNPOST_READ, RadioTower5FBookshelf
signpost 1, 17, SIGNPOST_READ, RadioTower5FBookshelf
.PersonEvents:
db 5
person_event SPRITE_GENTLEMAN, 6, 3, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, Director, -1
person_event SPRITE_ROCKET, 5, 13, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, ObjectEvent, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
person_event SPRITE_ROCKET_GIRL, 2, 17, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_TRAINER, 1, TrainerExecutivef1, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
person_event SPRITE_ROCKER, 5, 13, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, Ben, EVENT_RADIO_TOWER_CIVILIANS_AFTER
person_event SPRITE_POKE_BALL, 5, 8, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMFRAGMENT, 0, ItemFragment_0x600fe, EVENT_RADIO_TOWER_5F_ULTRA_BALL