2020-07-24 13:49:26 +00:00
|
|
|
object_const_def
|
2017-12-24 23:06:12 +00:00
|
|
|
const GOLDENRODUNDERGROUNDWAREHOUSE_ROCKET1
|
|
|
|
const GOLDENRODUNDERGROUNDWAREHOUSE_ROCKET2
|
|
|
|
const GOLDENRODUNDERGROUNDWAREHOUSE_ROCKET3
|
|
|
|
const GOLDENRODUNDERGROUNDWAREHOUSE_GENTLEMAN
|
|
|
|
const GOLDENRODUNDERGROUNDWAREHOUSE_POKE_BALL1
|
|
|
|
const GOLDENRODUNDERGROUNDWAREHOUSE_POKE_BALL2
|
|
|
|
const GOLDENRODUNDERGROUNDWAREHOUSE_POKE_BALL3
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
GoldenrodUndergroundWarehouse_MapScripts:
|
2020-07-24 13:49:26 +00:00
|
|
|
def_scene_scripts
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_callbacks
|
2022-08-09 22:04:18 +00:00
|
|
|
callback MAPCALLBACK_NEWMAP, GoldenrodUndergroundWarehouseResetSwitchesCallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2022-08-09 22:04:18 +00:00
|
|
|
GoldenrodUndergroundWarehouseResetSwitchesCallback:
|
2013-09-24 07:48:58 +00:00
|
|
|
clearevent EVENT_SWITCH_1
|
|
|
|
clearevent EVENT_SWITCH_2
|
|
|
|
clearevent EVENT_SWITCH_3
|
|
|
|
clearevent EVENT_EMERGENCY_SWITCH
|
|
|
|
clearevent EVENT_SWITCH_4
|
|
|
|
clearevent EVENT_SWITCH_5
|
|
|
|
clearevent EVENT_SWITCH_6
|
|
|
|
clearevent EVENT_SWITCH_7
|
|
|
|
clearevent EVENT_SWITCH_8
|
|
|
|
clearevent EVENT_SWITCH_9
|
|
|
|
clearevent EVENT_SWITCH_10
|
|
|
|
clearevent EVENT_SWITCH_11
|
|
|
|
clearevent EVENT_SWITCH_12
|
|
|
|
clearevent EVENT_SWITCH_13
|
|
|
|
clearevent EVENT_SWITCH_14
|
2019-03-10 19:31:59 +00:00
|
|
|
setval 0
|
|
|
|
writemem wUndergroundSwitchPositions
|
2020-07-17 12:37:03 +00:00
|
|
|
endcallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerGruntM24:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer GRUNTM, GRUNTM_24, EVENT_BEAT_ROCKET_GRUNTM_24, GruntM24SeenText, GruntM24BeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext GruntM24AfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerGruntM14:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer GRUNTM, GRUNTM_14, EVENT_BEAT_ROCKET_GRUNTM_14, GruntM14SeenText, GruntM14BeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext GruntM14AfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerGruntM15:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer GRUNTM, GRUNTM_15, EVENT_BEAT_ROCKET_GRUNTM_15, GruntM15SeenText, GruntM15BeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext GruntM15AfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-03-01 18:18:51 +00:00
|
|
|
GoldenrodUndergroundWarehouseDirectorScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-07-20 07:51:52 +00:00
|
|
|
checkevent EVENT_RECEIVED_CARD_KEY
|
2018-02-28 22:47:31 +00:00
|
|
|
iftrue .GotCardKey
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext DirectorIntroText
|
2019-11-03 17:48:54 +00:00
|
|
|
promptbutton
|
2015-11-05 01:20:14 +00:00
|
|
|
verbosegiveitem CARD_KEY
|
2015-07-20 07:51:52 +00:00
|
|
|
setevent EVENT_RECEIVED_CARD_KEY
|
2017-12-24 23:06:12 +00:00
|
|
|
setevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_1
|
|
|
|
clearevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_2
|
|
|
|
clearevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_3
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext DirectorCardKeyText
|
2019-11-03 17:48:54 +00:00
|
|
|
promptbutton
|
2018-02-28 22:47:31 +00:00
|
|
|
.GotCardKey:
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext DirectorAfterText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-12-24 23:06:12 +00:00
|
|
|
GoldenrodUndergroundWarehouseMaxEther:
|
2015-12-15 15:55:56 +00:00
|
|
|
itemball MAX_ETHER
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-24 23:06:12 +00:00
|
|
|
GoldenrodUndergroundWarehouseTMSleepTalk:
|
2015-12-15 15:55:56 +00:00
|
|
|
itemball TM_SLEEP_TALK
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-24 23:06:12 +00:00
|
|
|
GoldenrodUndergroundWarehouseUltraBall:
|
2015-12-15 15:55:56 +00:00
|
|
|
itemball ULTRA_BALL
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
GruntM24SeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "How did you get"
|
|
|
|
line "this far?"
|
|
|
|
|
|
|
|
para "I guess it can't"
|
|
|
|
line "be helped. I'll"
|
|
|
|
cont "dispose of you."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
GruntM24BeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I got disposed of…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
GruntM24AfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "TEAM ROCKET will"
|
|
|
|
line "keep going, wait-"
|
|
|
|
cont "ing for the return"
|
|
|
|
cont "of GIOVANNI."
|
|
|
|
|
|
|
|
para "We'll do whatever"
|
|
|
|
line "it takes."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
GruntM14SeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "You're not going"
|
|
|
|
line "any farther!"
|
|
|
|
|
|
|
|
para "I don't show mercy"
|
|
|
|
line "to my enemies, not"
|
|
|
|
cont "even brats!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
GruntM14BeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Blast it!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
GruntM14AfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I lost…"
|
|
|
|
|
|
|
|
para "Please forgive me,"
|
|
|
|
line "GIOVANNI!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
GruntM15SeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hyuck-hyuck-hyuck!"
|
|
|
|
line "I remember you!"
|
|
|
|
|
|
|
|
para "You got me good"
|
|
|
|
line "at our hideout!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
GruntM15BeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hyuck-hyuck-hyuck!"
|
|
|
|
line "So, that's how?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
GruntM15AfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hyuck-hyuck-hyuck!"
|
|
|
|
line "That was a blast!"
|
|
|
|
cont "I'll remember you!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
DirectorIntroText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "DIRECTOR: Who?"
|
|
|
|
line "What? You came to"
|
|
|
|
cont "rescue me?"
|
|
|
|
|
|
|
|
para "Thank you!"
|
|
|
|
|
|
|
|
para "The RADIO TOWER!"
|
|
|
|
|
|
|
|
para "What's happening"
|
|
|
|
line "there?"
|
|
|
|
|
|
|
|
para "Taken over by TEAM"
|
|
|
|
line "ROCKET?"
|
|
|
|
|
|
|
|
para "Here. Take this"
|
|
|
|
line "CARD KEY."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
DirectorCardKeyText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "DIRECTOR: Use that"
|
|
|
|
line "to open the shut-"
|
|
|
|
cont "ters on 3F."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
DirectorAfterText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I'm begging you to"
|
|
|
|
line "help."
|
|
|
|
|
|
|
|
para "There's no telling"
|
|
|
|
line "what they'll do if"
|
|
|
|
|
|
|
|
para "they control the"
|
|
|
|
line "transmitter."
|
|
|
|
|
|
|
|
para "They may even be"
|
|
|
|
line "able to control"
|
|
|
|
|
|
|
|
para "#MON using a"
|
|
|
|
line "special signal!"
|
|
|
|
|
|
|
|
para "You're the only"
|
|
|
|
line "one I can call on."
|
|
|
|
|
|
|
|
para "Please save the"
|
|
|
|
line "RADIO TOWER…"
|
|
|
|
|
|
|
|
para "And all the #-"
|
|
|
|
line "MON nationwide!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
GoldenrodUndergroundWarehouse_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_warp_events
|
2018-02-02 03:22:07 +00:00
|
|
|
warp_event 2, 12, GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES, 2
|
|
|
|
warp_event 3, 12, GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES, 3
|
|
|
|
warp_event 17, 2, GOLDENROD_DEPT_STORE_B1F, 1
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_coord_events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_bg_events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_object_events
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 9, 8, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, TrainerGruntM24, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
|
|
|
|
object_event 8, 15, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, TrainerGruntM14, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
|
|
|
|
object_event 14, 3, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 4, TrainerGruntM15, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
|
2018-03-01 18:18:51 +00:00
|
|
|
object_event 12, 8, SPRITE_GENTLEMAN, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodUndergroundWarehouseDirectorScript, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
|
2018-01-31 03:12:53 +00:00
|
|
|
object_event 18, 15, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodUndergroundWarehouseMaxEther, EVENT_GOLDENROD_UNDERGROUND_WAREHOUSE_MAX_ETHER
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 13, 9, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodUndergroundWarehouseTMSleepTalk, EVENT_GOLDENROD_UNDERGROUND_WAREHOUSE_TM_SLEEP_TALK
|
|
|
|
object_event 2, 1, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodUndergroundWarehouseUltraBall, EVENT_GOLDENROD_UNDERGROUND_WAREHOUSE_ULTRA_BALL
|