pokecrystal/maps/RadioTower3F.asm

359 lines
7.2 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const RADIOTOWER3F_SUPER_NERD
const RADIOTOWER3F_GYM_GUY
const RADIOTOWER3F_COOLTRAINER_F
const RADIOTOWER3F_ROCKET1
const RADIOTOWER3F_ROCKET2
const RADIOTOWER3F_ROCKET3
const RADIOTOWER3F_SCIENTIST
2015-07-10 08:20:21 +00:00
RadioTower3F_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 1
dbw MAPCALLBACK_TILES, .CardKeyShutterCallback
.CardKeyShutterCallback:
2013-09-24 07:48:58 +00:00
checkevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
2016-04-07 10:13:59 +00:00
iftrue .Change
return
.Change:
changeblock $e, $2, $2a
changeblock $e, $4, $1
return
2015-07-10 08:20:21 +00:00
SuperNerdScript_0x5e553:
jumptextfaceplayer UnknownText_0x5e621
2015-07-10 08:20:21 +00:00
GymGuyScript_0x5e556:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_CLEARED_RADIO_TOWER
iftrue UnknownScript_0x5e564
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x5e682
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
UnknownScript_0x5e564:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x5e6eb
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
CooltrainerFScript_0x5e56a:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_SUNNY_DAY_FROM_RADIO_TOWER
iftrue UnknownScript_0x5e59d
2013-09-24 07:48:58 +00:00
checkevent EVENT_CLEARED_RADIO_TOWER
iftrue UnknownScript_0x5e58a
2013-09-24 07:48:58 +00:00
checkevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
iftrue UnknownScript_0x5e584
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x5e754
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
UnknownScript_0x5e584:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x5e7cb
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
UnknownScript_0x5e58a:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x5e7e2
2015-11-30 03:29:45 +00:00
buttonsound
2015-11-05 01:20:14 +00:00
verbosegiveitem TM_SUNNY_DAY
iffalse UnknownScript_0x5e5a1
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x5e821
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_SUNNY_DAY_FROM_RADIO_TOWER
end
2015-07-10 08:20:21 +00:00
UnknownScript_0x5e59d:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x5e85c
2015-11-25 15:16:29 +00:00
waitbutton
2015-07-10 08:20:21 +00:00
UnknownScript_0x5e5a1:
2015-11-25 15:16:29 +00:00
closetext
end
2015-07-10 08:20:21 +00:00
TrainerGruntM7:
trainer EVENT_BEAT_ROCKET_GRUNTM_7, GRUNTM, GRUNTM_7, GruntM7SeenText, GruntM7BeatenText, 0, GruntM7Script
2015-07-10 08:20:21 +00:00
GruntM7Script:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext GruntM7AfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerGruntM8:
trainer EVENT_BEAT_ROCKET_GRUNTM_8, GRUNTM, GRUNTM_8, GruntM8SeenText, GruntM8BeatenText, 0, GruntM8Script
2015-07-10 08:20:21 +00:00
GruntM8Script:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext GruntM8AfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerGruntM9:
trainer EVENT_BEAT_ROCKET_GRUNTM_9, GRUNTM, GRUNTM_9, GruntM9SeenText, GruntM9BeatenText, 0, GruntM9Script
2015-07-10 08:20:21 +00:00
GruntM9Script:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext GruntM9AfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
TrainerScientistMarc:
2015-11-02 19:37:02 +00:00
trainer EVENT_BEAT_SCIENTIST_MARC, SCIENTIST, MARC, ScientistMarcSeenText, ScientistMarcBeatenText, 0, ScientistMarcScript
2015-07-10 08:20:21 +00:00
ScientistMarcScript:
2015-11-25 15:16:29 +00:00
end_if_just_battled
2015-12-09 23:25:44 +00:00
opentext
2017-12-10 20:36:58 +00:00
writetext ScientistMarcAfterBattleText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:20:21 +00:00
MapRadioTower3FSignpost2Script::
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x5eaa4
2015-11-25 15:16:29 +00:00
waitbutton
2013-09-24 07:48:58 +00:00
checkevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
iftrue UnknownScript_0x5e603
checkitem CARD_KEY
iftrue UnknownScript_0x5e605
2015-07-10 08:20:21 +00:00
UnknownScript_0x5e603:
2015-11-25 15:16:29 +00:00
closetext
end
2015-07-10 08:20:21 +00:00
UnknownScript_0x5e605:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x5eabc
2015-11-25 15:16:29 +00:00
waitbutton
2013-09-24 07:48:58 +00:00
setevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
playsound SFX_ENTER_DOOR
changeblock $e, $2, $2a
changeblock $e, $4, $1
reloadmappart
2015-11-25 15:16:29 +00:00
closetext
waitsfx
end
2015-07-10 08:20:21 +00:00
MapRadioTower3FSignpost0Script:
jumptext UnknownText_0x5ead6
2015-07-10 08:20:21 +00:00
MapRadioTower3FSignpost1Script:
jumptext UnknownText_0x5eae4
2015-07-10 08:20:21 +00:00
UnknownText_0x5e621:
text "We have recordings"
line "of the cries of"
para "all #MON that"
line "have been found."
para "We must have about"
line "200 kinds."
done
2015-07-10 08:20:21 +00:00
UnknownText_0x5e682:
text "To trainers, #-"
line "MON are their"
cont "beloved partners."
para "It's terrible how"
line "TEAM ROCKET is"
para "trying to control"
line "#MON."
done
2015-07-10 08:20:21 +00:00
UnknownText_0x5e6eb:
text "We run 24 hours a"
line "day to broadcast"
para "entertaining pro-"
line "grams."
para "I'll do my best to"
line "run around the"
cont "clock too!"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x5e754:
text "The TEAM ROCKET"
line "boss has locked"
cont "himself in."
para "But the DIRECTOR"
line "can open it."
para "He's up on the"
line "fifth floor."
para "Please save him!"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x5e7cb:
text "Is the DIRECTOR"
line "safe?"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x5e7e2:
text "Thank you!"
line "You're my hero!"
para "This is a token of"
line "my appreciation."
done
2015-07-10 08:20:21 +00:00
UnknownText_0x5e821:
text "It's SUNNY DAY."
line "It powers up fire-"
cont "type moves for a"
cont "while."
done
2015-07-10 08:20:21 +00:00
UnknownText_0x5e85c:
text "You were simply"
line "marvelous!"
done
2015-07-10 08:20:21 +00:00
GruntM7SeenText:
text "I've been given"
line "strict orders."
para "I'm to crush any-"
line "one who challenges"
cont "TEAM ROCKET!"
done
2015-07-10 08:20:21 +00:00
GruntM7BeatenText:
text "What?!"
done
2017-12-10 20:36:58 +00:00
GruntM7AfterBattleText:
text "I failed in my"
line "duties…"
para "I'll be docked pay"
line "for this…"
done
2015-07-10 08:20:21 +00:00
GruntM8SeenText:
text "It feels great"
line "ordering #MON"
cont "to commit crimes."
done
2015-07-10 08:20:21 +00:00
GruntM8BeatenText:
text "You're kidding!"
done
2017-12-10 20:36:58 +00:00
GruntM8AfterBattleText:
text "I feel lousy over"
line "losing!"
para "Darn it! I hate"
line "useless #MON!"
done
2015-07-10 08:20:21 +00:00
GruntM9SeenText:
text "Why did the shut-"
line "ter open? Did you"
para "have something to"
line "do with this?"
done
2015-07-10 08:20:21 +00:00
GruntM9BeatenText:
text "I'm done for!"
done
2017-12-10 20:36:58 +00:00
GruntM9AfterBattleText:
text "What?! You made it"
line "past our men in"
cont "the UNDERGROUND?"
para "How could you?"
done
2015-07-10 08:20:21 +00:00
ScientistMarcSeenText:
text "An unknown child"
line "wandering here?"
para "Who are you?"
done
2015-07-10 08:20:21 +00:00
ScientistMarcBeatenText:
text "Tch! I took you"
line "too lightly!"
done
2017-12-10 20:36:58 +00:00
ScientistMarcAfterBattleText:
text "Bwahahaha…"
para "I can transmit as"
line "strong a signal as"
cont "I need from here."
done
2015-07-10 08:20:21 +00:00
UnknownText_0x5eaa4:
text "It's the CARD KEY"
line "slot."
done
2015-07-10 08:20:21 +00:00
UnknownText_0x5eabc:
text "<PLAYER> inserted"
line "the CARD KEY."
done
2015-07-10 08:20:21 +00:00
UnknownText_0x5ead6:
text "3F PERSONNEL"
done
2015-07-10 08:20:21 +00:00
UnknownText_0x5eae4:
text "#MON MUSIC with"
line "Host DJ BEN"
done
2015-07-10 08:20:21 +00:00
RadioTower3F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 3
warp_def $0, $0, 1, RADIO_TOWER_2F
warp_def $0, $7, 2, RADIO_TOWER_4F
warp_def $0, $11, 4, RADIO_TOWER_4F
.XYTriggers:
db 0
.Signposts:
db 3
signpost 0, 3, SIGNPOST_READ, MapRadioTower3FSignpost0Script
signpost 0, 9, SIGNPOST_READ, MapRadioTower3FSignpost1Script
signpost 2, 14, SIGNPOST_UP, MapRadioTower3FSignpost2Script
.PersonEvents:
db 7
2017-12-11 01:50:08 +00:00
person_event SPRITE_SUPER_NERD, 4, 7, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, PERSONTYPE_SCRIPT, 0, SuperNerdScript_0x5e553, EVENT_RADIO_TOWER_CIVILIANS_AFTER
person_event SPRITE_GYM_GUY, 4, 3, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_RED, PERSONTYPE_SCRIPT, 0, GymGuyScript_0x5e556, -1
person_event SPRITE_COOLTRAINER_F, 3, 11, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_GREEN, PERSONTYPE_SCRIPT, 0, CooltrainerFScript_0x5e56a, -1
person_event SPRITE_ROCKET, 1, 5, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, PERSONTYPE_TRAINER, 2, TrainerGruntM7, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
person_event SPRITE_ROCKET, 2, 6, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_TRAINER, 3, TrainerGruntM8, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
person_event SPRITE_ROCKET, 6, 16, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, PERSONTYPE_TRAINER, 3, TrainerGruntM9, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
2017-12-11 01:50:08 +00:00
person_event SPRITE_SCIENTIST, 6, 9, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, PERSONTYPE_TRAINER, 5, TrainerScientistMarc, EVENT_RADIO_TOWER_ROCKET_TAKEOVER