pokecrystal-board/maps/RadioTower4F.asm

269 lines
5.7 KiB
NASM
Raw Normal View History

2018-01-31 08:38:45 -08:00
const_def 2 ; object constants
2015-11-26 21:22:14 -08:00
const RADIOTOWER4F_FISHER
const RADIOTOWER4F_TEACHER
const RADIOTOWER4F_GROWLITHE
const RADIOTOWER4F_ROCKET1
const RADIOTOWER4F_ROCKET2
const RADIOTOWER4F_ROCKET_GIRL
const RADIOTOWER4F_SCIENTIST
RadioTower4F_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2017-12-17 16:48:04 -08:00
RadioTower4FFisherScript:
jumptextfaceplayer RadioTower4FFisherText
2015-07-10 01:20:21 -07:00
TeacherScript_0x5eb85:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_PINK_BOW_FROM_MARY
iftrue UnknownScript_0x5ebac
2013-09-24 00:48:58 -07:00
checkevent EVENT_CLEARED_RADIO_TOWER
iftrue UnknownScript_0x5eb99
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x5ec68
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x5eb99:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x5ecab
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-04 17:20:14 -08:00
verbosegiveitem PINK_BOW
iffalse UnknownScript_0x5ebb0
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x5ecef
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_PINK_BOW_FROM_MARY
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x5ebac:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x5ed2c
2015-11-25 07:16:29 -08:00
waitbutton
2015-07-10 01:20:21 -07:00
UnknownScript_0x5ebb0:
2015-11-25 07:16:29 -08:00
closetext
end
2016-04-07 03:13:59 -07:00
RadioTowerMeowth:
2015-12-09 15:25:44 -08:00
opentext
2016-04-07 03:13:59 -07:00
writetext RadioTowerMeowthText
cry MEOWTH
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerGruntM10:
trainer GRUNTM, GRUNTM_10, EVENT_BEAT_ROCKET_GRUNTM_10, GruntM10SeenText, GruntM10BeatenText, 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 GruntM10AfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerExecutivem2:
trainer EXECUTIVEM, EXECUTIVEM_2, EVENT_BEAT_ROCKET_EXECUTIVEM_2, Executivem2SeenText, Executivem2BeatenText, 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 Executivem2AfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerGruntF4:
trainer GRUNTF, GRUNTF_4, EVENT_BEAT_ROCKET_GRUNTF_4, GruntF4SeenText, GruntF4BeatenText, 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 GruntF4AfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerScientistRich:
trainer SCIENTIST, RICH, EVENT_BEAT_SCIENTIST_RICH, ScientistRichSeenText, ScientistRichBeatenText, 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 ScientistRichAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
MapRadioTower4FSignpost0Script:
jumptext UnknownText_0x5effe
2015-07-10 01:20:21 -07:00
MapRadioTower4FSignpost1Script:
jumptext UnknownText_0x5f00d
2017-12-17 16:48:04 -08:00
RadioTower4FFisherText:
text "I listened to the"
line "radio while I was"
cont "at the RUINS."
para "I heard a strange"
line "broadcast there."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x5ec68:
text "MARY: Why? Why do"
line "I have to suffer"
cont "through this?"
para "MEOWTH, help me!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x5ecab:
text "MARY: Oh! You're"
line "my little savior!"
para "Will you take this"
line "as my thanks?"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x5ecef:
text "MARY: It's just"
line "right for #MON"
para "that know normal-"
line "type moves."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x5ed2c:
text "MARY: Please tune"
line "into me on PROF."
para "OAK'S #MON TALK"
line "show."
done
2016-04-07 03:13:59 -07:00
RadioTowerMeowthText:
text "MEOWTH: Meowth…"
done
2015-07-10 01:20:21 -07:00
GruntM10SeenText:
text "You plan to rescue"
line "the DIRECTOR?"
para "That won't be pos-"
line "sible because I'm"
cont "going to beat you!"
done
2015-07-10 01:20:21 -07:00
GruntM10BeatenText:
text "No! Unbelievable!"
done
2017-12-10 12:36:58 -08:00
GruntM10AfterBattleText:
text "I don't believe"
line "it! I was beaten!"
done
2015-07-10 01:20:21 -07:00
Executivem2SeenText:
text "Stop! I'm known as"
line "the TEAM ROCKET"
cont "fortress!"
para "You're not taking"
line "another step!"
done
2015-07-10 01:20:21 -07:00
Executivem2BeatenText:
text "The fortress came"
line "down!"
done
2017-12-10 12:36:58 -08:00
Executivem2AfterBattleText:
text "You've earned my"
line "respect, so here's"
cont "some advice."
para "It's not too late."
line "You can still turn"
cont "back."
done
2015-07-10 01:20:21 -07:00
GruntF4SeenText:
text "Don't I think"
line "#MON are cute?"
para "I'll think my"
line "#MON are cute--"
para "after they beat"
line "yours!"
done
2015-07-10 01:20:21 -07:00
GruntF4BeatenText:
text "Oh, no! They're so"
line "useless!"
done
2017-12-10 12:36:58 -08:00
GruntF4AfterBattleText:
text "I love my"
line "beautiful self!"
para "Who cares about"
line "#MON?"
done
2015-07-10 01:20:21 -07:00
ScientistRichSeenText:
text "Most excellent."
para "This RADIO TOWER"
line "will fulfill our"
cont "grand design."
done
2015-07-10 01:20:21 -07:00
ScientistRichBeatenText:
text "Hmmm…"
para "All grand plans"
line "come with snags."
done
2017-12-10 12:36:58 -08:00
ScientistRichAfterBattleText:
text "Do you honestly"
line "believe you can"
cont "stop TEAM ROCKET?"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x5effe:
text "4F PRODUCTION"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x5f00d:
text "4F STUDIO 2"
done
RadioTower4F_MapEvents:
db 0, 0 ; filler
db 4 ; warp events
2018-02-01 19:22:07 -08:00
warp_event 0, 0, RADIO_TOWER_5F, 1
warp_event 9, 0, RADIO_TOWER_3F, 2
warp_event 12, 0, RADIO_TOWER_5F, 2
warp_event 17, 0, RADIO_TOWER_3F, 3
db 0 ; coord events
db 2 ; bg events
2018-02-01 19:22:07 -08:00
bg_event 7, 0, BGEVENT_READ, MapRadioTower4FSignpost0Script
bg_event 15, 0, BGEVENT_READ, MapRadioTower4FSignpost1Script
db 7 ; object events
2018-02-01 19:22:07 -08:00
object_event 6, 4, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, RadioTower4FFisherScript, EVENT_RADIO_TOWER_CIVILIANS_AFTER
object_event 14, 6, SPRITE_TEACHER, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, TeacherScript_0x5eb85, -1
object_event 12, 7, SPRITE_GROWLITHE, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, RadioTowerMeowth, -1
object_event 5, 6, SPRITE_ROCKET, SPRITEMOVEDATA_SPINCLOCKWISE, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, TrainerGruntM10, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
object_event 14, 1, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_LEFT, 2, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 2, TrainerExecutivem2, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
object_event 12, 4, SPRITE_ROCKET_GIRL, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 1, TrainerGruntF4, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
object_event 4, 2, SPRITE_SCIENTIST, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 4, TrainerScientistRich, EVENT_RADIO_TOWER_ROCKET_TAKEOVER