2015-11-27 05:22:14 +00:00
|
|
|
const_value set 2
|
|
|
|
const UNDERGROUNDWAREHOUSE_ROCKET1
|
|
|
|
const UNDERGROUNDWAREHOUSE_ROCKET2
|
|
|
|
const UNDERGROUNDWAREHOUSE_ROCKET3
|
|
|
|
const UNDERGROUNDWAREHOUSE_GENTLEMAN
|
|
|
|
const UNDERGROUNDWAREHOUSE_POKE_BALL1
|
|
|
|
const UNDERGROUNDWAREHOUSE_POKE_BALL2
|
|
|
|
const UNDERGROUNDWAREHOUSE_POKE_BALL3
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UndergroundWarehouse_MapScriptHeader:
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapCallbacks:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 1
|
2016-01-06 12:44:50 +00:00
|
|
|
dbw MAPCALLBACK_NEWMAP, .ResetSwitches
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-10-12 16:33:24 +00:00
|
|
|
.ResetSwitches:
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
writebyte $0
|
|
|
|
copyvartobyte UndergroundSwitchPositions
|
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerGruntM24:
|
2017-12-18 01:45:04 +00:00
|
|
|
trainer EVENT_BEAT_ROCKET_GRUNTM_24, GRUNTM, GRUNTM_24, GruntM24SeenText, GruntM24BeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
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 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:
|
2017-12-18 01:45:04 +00:00
|
|
|
trainer EVENT_BEAT_ROCKET_GRUNTM_14, GRUNTM, GRUNTM_14, GruntM14SeenText, GruntM14BeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
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 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:
|
2017-12-18 01:45:04 +00:00
|
|
|
trainer EVENT_BEAT_ROCKET_GRUNTM_15, GRUNTM, GRUNTM_15, GruntM15SeenText, GruntM15BeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
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 GruntM15AfterBattleText
|
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
|
|
|
GentlemanScript_0x7d9bf:
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x7d9de
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7dbc6
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2015-11-05 01:20:14 +00:00
|
|
|
verbosegiveitem CARD_KEY
|
2015-07-20 07:51:52 +00:00
|
|
|
setevent EVENT_RECEIVED_CARD_KEY
|
2015-07-10 12:08:03 +00:00
|
|
|
setevent EVENT_WAREHOUSE_LAYOUT_1
|
|
|
|
clearevent EVENT_WAREHOUSE_LAYOUT_2
|
|
|
|
clearevent EVENT_WAREHOUSE_LAYOUT_3
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7dc5b
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7d9de:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7dc8d
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-15 15:55:56 +00:00
|
|
|
UndergroundWarehouseMaxEther:
|
|
|
|
itemball MAX_ETHER
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 15:55:56 +00:00
|
|
|
UndergroundWarehouseTMSleepTalk:
|
|
|
|
itemball TM_SLEEP_TALK
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 15:55:56 +00:00
|
|
|
UndergroundWarehouseUltraBall:
|
|
|
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7dbc6:
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7dc5b:
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7dc8d:
|
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
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UndergroundWarehouse_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Warps:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 3
|
2015-07-23 16:59:19 +00:00
|
|
|
warp_def $c, $2, 2, UNDERGROUND_PATH_SWITCH_ROOM_ENTRANCES
|
|
|
|
warp_def $c, $3, 3, UNDERGROUND_PATH_SWITCH_ROOM_ENTRANCES
|
|
|
|
warp_def $2, $11, 1, GOLDENROD_DEPT_STORE_B1F
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.XYTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Signposts:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.PersonEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 7
|
2015-11-15 20:07:20 +00:00
|
|
|
person_event SPRITE_ROCKET, 8, 9, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, PERSONTYPE_TRAINER, 3, TrainerGruntM24, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
|
|
|
|
person_event SPRITE_ROCKET, 15, 8, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, PERSONTYPE_TRAINER, 3, TrainerGruntM14, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
|
|
|
|
person_event SPRITE_ROCKET, 3, 14, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, PERSONTYPE_TRAINER, 4, TrainerGruntM15, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
|
|
|
|
person_event SPRITE_GENTLEMAN, 8, 12, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, GentlemanScript_0x7d9bf, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
|
2015-12-15 15:55:56 +00:00
|
|
|
person_event SPRITE_POKE_BALL, 15, 18, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMBALL, 0, UndergroundWarehouseMaxEther, EVENT_UNDERGROUND_WAREHOUSE_MAX_ETHER
|
|
|
|
person_event SPRITE_POKE_BALL, 9, 13, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMBALL, 0, UndergroundWarehouseTMSleepTalk, EVENT_UNDERGROUND_WAREHOUSE_TM_SLEEP_TALK
|
|
|
|
person_event SPRITE_POKE_BALL, 1, 2, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMBALL, 0, UndergroundWarehouseUltraBall, EVENT_UNDERGROUND_WAREHOUSE_ULTRA_BALL
|