2018-01-17 10:23:43 -08:00
|
|
|
; block ids
|
2015-12-09 08:38:40 -08:00
|
|
|
UNDERGROUND_DOOR_CLOSED1 EQU $2a
|
|
|
|
UNDERGROUND_DOOR_CLOSED2 EQU $3e
|
|
|
|
UNDERGROUND_DOOR_CLOSED3 EQU $3f
|
|
|
|
UNDERGROUND_DOOR_OPEN1 EQU $2d
|
|
|
|
UNDERGROUND_DOOR_OPEN2 EQU $3d
|
|
|
|
|
2017-12-28 04:23:44 -08:00
|
|
|
ugdoor: MACRO
|
2015-12-10 19:26:31 -08:00
|
|
|
\1_YCOORD EQU \2
|
|
|
|
\1_XCOORD EQU \3
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-12-10 19:26:31 -08:00
|
|
|
|
|
|
|
ugdoor UGDOOR_1, $10, $06
|
|
|
|
ugdoor UGDOOR_2, $0a, $06
|
|
|
|
ugdoor UGDOOR_3, $02, $06
|
|
|
|
ugdoor UGDOOR_4, $02, $0a
|
|
|
|
ugdoor UGDOOR_5, $0a, $0a
|
|
|
|
ugdoor UGDOOR_6, $10, $0a
|
|
|
|
ugdoor UGDOOR_7, $0c, $06
|
|
|
|
ugdoor UGDOOR_8, $0c, $08
|
|
|
|
ugdoor UGDOOR_9, $06, $06
|
|
|
|
ugdoor UGDOOR_10, $06, $08
|
|
|
|
ugdoor UGDOOR_11, $0c, $0a
|
|
|
|
ugdoor UGDOOR_12, $0c, $0c
|
|
|
|
ugdoor UGDOOR_13, $06, $0a
|
|
|
|
ugdoor UGDOOR_14, $06, $0c
|
|
|
|
ugdoor UGDOOR_15, $12, $0a
|
|
|
|
ugdoor UGDOOR_16, $12, $0c
|
2015-12-09 08:38:40 -08:00
|
|
|
|
2017-12-28 04:23:44 -08:00
|
|
|
doorstate: MACRO
|
2015-12-10 19:26:31 -08:00
|
|
|
changeblock UGDOOR_\1_YCOORD, UGDOOR_\1_XCOORD, UNDERGROUND_DOOR_\2
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-12-09 08:38:40 -08:00
|
|
|
|
2015-11-26 21:22:14 -08:00
|
|
|
const_value set 2
|
2017-12-24 15:06:12 -08:00
|
|
|
const GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_PHARMACIST1
|
|
|
|
const GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_PHARMACIST2
|
|
|
|
const GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_ROCKET1
|
|
|
|
const GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_ROCKET2
|
|
|
|
const GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_ROCKET3
|
|
|
|
const GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_ROCKET_GIRL
|
|
|
|
const GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_TEACHER
|
|
|
|
const GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SUPER_NERD
|
|
|
|
const GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_POKE_BALL1
|
|
|
|
const GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_POKE_BALL2
|
|
|
|
const GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
GoldenrodUndergroundSwitchRoomEntrances_MapScripts:
|
2017-12-24 10:46:34 -08:00
|
|
|
.SceneScripts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2017-12-24 10:46:34 -08:00
|
|
|
scene_script .DummyScene0
|
|
|
|
scene_script .DummyScene1
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapCallbacks:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 1
|
2018-01-12 21:47:38 -08:00
|
|
|
callback MAPCALLBACK_TILES, .UpdateDoorPositions
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.DummyScene0:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.DummyScene1:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.UpdateDoorPositions:
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_SWITCH_4
|
2015-12-09 08:38:40 -08:00
|
|
|
iffalse .false4
|
|
|
|
doorstate 1, OPEN1
|
2016-04-10 12:01:49 -07:00
|
|
|
.false4
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_SWITCH_5
|
2015-12-09 08:38:40 -08:00
|
|
|
iffalse .false5
|
|
|
|
doorstate 2, OPEN1
|
2016-04-10 12:01:49 -07:00
|
|
|
.false5
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_SWITCH_6
|
2015-12-09 08:38:40 -08:00
|
|
|
iffalse .false6
|
|
|
|
doorstate 3, OPEN1
|
2016-04-10 12:01:49 -07:00
|
|
|
.false6
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_SWITCH_7
|
2015-12-09 08:38:40 -08:00
|
|
|
iffalse .false7
|
|
|
|
doorstate 4, OPEN1
|
2016-04-10 12:01:49 -07:00
|
|
|
.false7
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_SWITCH_8
|
2015-12-09 08:38:40 -08:00
|
|
|
iffalse .false8
|
|
|
|
doorstate 5, OPEN1
|
2016-04-10 12:01:49 -07:00
|
|
|
.false8
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_SWITCH_9
|
2015-12-09 08:38:40 -08:00
|
|
|
iffalse .false9
|
|
|
|
doorstate 6, OPEN1
|
2016-04-10 12:01:49 -07:00
|
|
|
.false9
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_SWITCH_10
|
2015-12-09 08:38:40 -08:00
|
|
|
iffalse .false10
|
|
|
|
doorstate 7, CLOSED1
|
|
|
|
doorstate 8, OPEN1
|
2016-04-10 12:01:49 -07:00
|
|
|
.false10
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_SWITCH_11
|
2015-12-09 08:38:40 -08:00
|
|
|
iffalse .false11
|
|
|
|
doorstate 9, CLOSED1
|
|
|
|
doorstate 10, OPEN1
|
2016-04-10 12:01:49 -07:00
|
|
|
.false11
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_SWITCH_12
|
2015-12-09 08:38:40 -08:00
|
|
|
iffalse .false12
|
|
|
|
doorstate 11, CLOSED1
|
|
|
|
doorstate 12, OPEN1
|
2016-04-10 12:01:49 -07:00
|
|
|
.false12
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_SWITCH_13
|
2015-12-09 08:38:40 -08:00
|
|
|
iffalse .false13
|
|
|
|
doorstate 13, CLOSED1
|
|
|
|
doorstate 14, OPEN1
|
2016-04-10 12:01:49 -07:00
|
|
|
.false13
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_SWITCH_14
|
2015-12-09 08:38:40 -08:00
|
|
|
iffalse .false14
|
|
|
|
doorstate 15, CLOSED1
|
|
|
|
doorstate 16, OPEN1
|
2016-04-10 12:01:49 -07:00
|
|
|
.false14
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
SuperNerdScript_0x7ca7a:
|
2017-12-24 15:06:12 -08:00
|
|
|
jumptextfaceplayer GoldenrodUndergroundSwitchRoomEntrances_SuperNerdText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TeacherScript_0x7ca7d:
|
2017-12-24 15:06:12 -08:00
|
|
|
jumptextfaceplayer GoldenrodUndergroundSwitchRoomEntrances_TeacherText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
UndergroundSilverScene1:
|
2015-07-21 23:49:18 -07:00
|
|
|
spriteface PLAYER, RIGHT
|
|
|
|
showemote EMOTE_SHOCK, PLAYER, 15
|
2018-01-24 08:17:05 -08:00
|
|
|
special FadeOutMusic
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_EXIT_BUILDING
|
2017-12-24 15:06:12 -08:00
|
|
|
appear GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2017-12-24 15:06:12 -08:00
|
|
|
applymovement GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER, UndergroundSilverApproachMovement1
|
2015-07-21 23:49:18 -07:00
|
|
|
spriteface PLAYER, RIGHT
|
2015-12-09 08:38:40 -08:00
|
|
|
scall UndergroundSilverBattleScript
|
2017-12-24 15:06:12 -08:00
|
|
|
applymovement GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER, UndergroundSilverRetreatMovement1
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_EXIT_BUILDING
|
2017-12-24 15:06:12 -08:00
|
|
|
disappear GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER
|
2017-12-24 10:46:34 -08:00
|
|
|
setscene 1
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2013-02-16 22:54:07 -08:00
|
|
|
playmapmusic
|
|
|
|
end
|
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
UndergroundSilverScene2:
|
2015-07-21 23:49:18 -07:00
|
|
|
spriteface PLAYER, RIGHT
|
|
|
|
showemote EMOTE_SHOCK, PLAYER, 15
|
2018-01-24 08:17:05 -08:00
|
|
|
special FadeOutMusic
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_EXIT_BUILDING
|
2017-12-24 15:06:12 -08:00
|
|
|
appear GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2017-12-24 15:06:12 -08:00
|
|
|
applymovement GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER, UndergroundSilverApproachMovement2
|
2015-07-21 23:49:18 -07:00
|
|
|
spriteface PLAYER, RIGHT
|
2015-12-09 08:38:40 -08:00
|
|
|
scall UndergroundSilverBattleScript
|
2017-12-24 15:06:12 -08:00
|
|
|
applymovement GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER, UndergroundSilverRetreatMovement2
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_EXIT_BUILDING
|
2017-12-24 15:06:12 -08:00
|
|
|
disappear GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER
|
2017-12-24 10:46:34 -08:00
|
|
|
setscene 1
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2013-02-16 22:54:07 -08:00
|
|
|
playmapmusic
|
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
UndergroundSilverBattleScript:
|
2015-07-18 12:46:38 -07:00
|
|
|
checkevent EVENT_RIVAL_BURNED_TOWER
|
2015-12-09 08:38:40 -08:00
|
|
|
iftrue .Continue
|
2015-07-18 12:46:38 -07:00
|
|
|
setevent EVENT_RIVAL_BURNED_TOWER
|
2017-12-24 10:46:34 -08:00
|
|
|
setmapscene BURNED_TOWER_1F, 1
|
2015-12-09 08:38:40 -08:00
|
|
|
.Continue:
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_RIVAL_ENCOUNTER
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-09 08:38:40 -08:00
|
|
|
writetext UndergroundSilverBeforeText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2017-12-24 15:06:12 -08:00
|
|
|
setevent EVENT_RIVAL_GOLDENROD_UNDERGROUND
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_TOTODILE_FROM_ELM
|
2015-12-09 08:38:40 -08:00
|
|
|
iftrue .Totodile
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_CHIKORITA_FROM_ELM
|
2015-12-09 08:38:40 -08:00
|
|
|
iftrue .Chikorita
|
|
|
|
winlosstext UndergroundSilverWinText, UndergroundSilverLossText
|
2017-12-24 15:06:12 -08:00
|
|
|
setlasttalked GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER
|
2017-12-08 21:50:59 -08:00
|
|
|
loadtrainer RIVAL1, RIVAL1_4_TOTODILE
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
2015-12-26 15:11:55 -08:00
|
|
|
dontrestartmapmusic
|
|
|
|
reloadmapafterbattle
|
2015-12-09 08:38:40 -08:00
|
|
|
jump .FinishRivalBattle
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Totodile:
|
|
|
|
winlosstext UndergroundSilverWinText, UndergroundSilverLossText
|
2017-12-24 15:06:12 -08:00
|
|
|
setlasttalked GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER
|
2017-12-08 21:50:59 -08:00
|
|
|
loadtrainer RIVAL1, RIVAL1_4_CHIKORITA
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
2015-12-26 15:11:55 -08:00
|
|
|
dontrestartmapmusic
|
|
|
|
reloadmapafterbattle
|
2015-12-09 08:38:40 -08:00
|
|
|
jump .FinishRivalBattle
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Chikorita:
|
|
|
|
winlosstext UndergroundSilverWinText, UndergroundSilverLossText
|
2017-12-24 15:06:12 -08:00
|
|
|
setlasttalked GOLDENRODUNDERGROUNDSWITCHROOMENTRANCES_SILVER
|
2017-12-08 21:50:59 -08:00
|
|
|
loadtrainer RIVAL1, RIVAL1_4_CYNDAQUIL
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
2015-12-26 15:11:55 -08:00
|
|
|
dontrestartmapmusic
|
|
|
|
reloadmapafterbattle
|
2015-12-09 08:38:40 -08:00
|
|
|
jump .FinishRivalBattle
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.FinishRivalBattle:
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_RIVAL_AFTER
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-09 08:38:40 -08:00
|
|
|
writetext UndergroundSilverAfterText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerGruntM11:
|
2018-01-23 10:08:48 -08:00
|
|
|
trainer GRUNTM, GRUNTM_11, EVENT_BEAT_ROCKET_GRUNTM_11, GruntM11SeenText, GruntM11BeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 17:45:04 -08:00
|
|
|
.Script:
|
2015-11-25 07:16:29 -08:00
|
|
|
end_if_just_battled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext GruntM11AfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerGruntM25:
|
2018-01-23 10:08:48 -08:00
|
|
|
trainer GRUNTM, GRUNTM_25, EVENT_BEAT_ROCKET_GRUNTM_25, GruntM25SeenText, GruntM25BeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 17:45:04 -08:00
|
|
|
.Script:
|
2015-11-25 07:16:29 -08:00
|
|
|
end_if_just_battled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext GruntM25AfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerBurglarDuncan:
|
2018-01-23 10:08:48 -08:00
|
|
|
trainer BURGLAR, DUNCAN, EVENT_BEAT_BURGLAR_DUNCAN, BurglarDuncanSeenText, BurglarDuncanBeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 17:45:04 -08:00
|
|
|
.Script:
|
2015-11-25 07:16:29 -08:00
|
|
|
end_if_just_battled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext BurglarDuncanAfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerBurglarEddie:
|
2018-01-23 10:08:48 -08:00
|
|
|
trainer BURGLAR, EDDIE, EVENT_BEAT_BURGLAR_EDDIE, BurglarEddieSeenText, BurglarEddieBeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 17:45:04 -08:00
|
|
|
.Script:
|
2015-11-25 07:16:29 -08:00
|
|
|
end_if_just_battled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext BurglarEddieAfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerGruntM13:
|
2018-01-23 10:08:48 -08:00
|
|
|
trainer GRUNTM, GRUNTM_13, EVENT_BEAT_ROCKET_GRUNTM_13, GruntM13SeenText, GruntM13BeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 17:45:04 -08:00
|
|
|
.Script:
|
2015-11-25 07:16:29 -08:00
|
|
|
end_if_just_battled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext GruntM13AfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
TrainerGruntF3:
|
2018-01-23 10:08:48 -08:00
|
|
|
trainer GRUNTF, GRUNTF_3, EVENT_BEAT_ROCKET_GRUNTF_3, GruntF3SeenText, GruntF3BeatenText, 0, .Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 17:45:04 -08:00
|
|
|
.Script:
|
2015-11-25 07:16:29 -08:00
|
|
|
end_if_just_battled
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-10 12:36:58 -08:00
|
|
|
writetext GruntF3AfterBattleText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
Switch1Script:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-09 08:38:40 -08:00
|
|
|
writetext SwitchRoomText_Switch1
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_SWITCH_1
|
2015-12-09 08:38:40 -08:00
|
|
|
iftrue .On
|
|
|
|
writetext SwitchRoomText_OffTurnOn
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2017-12-24 15:06:12 -08:00
|
|
|
iffalse GoldenrodUndergroundSwitchRoomEntrances_DontToggle
|
2013-02-16 22:54:07 -08:00
|
|
|
copybytetovar UndergroundSwitchPositions
|
2015-12-09 08:38:40 -08:00
|
|
|
addvar 1
|
2013-02-16 22:54:07 -08:00
|
|
|
copyvartobyte UndergroundSwitchPositions
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_SWITCH_1
|
2017-12-24 15:06:12 -08:00
|
|
|
jump GoldenrodUndergroundSwitchRoomEntrances_UpdateDoors
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.On:
|
|
|
|
writetext SwitchRoomText_OnTurnOff
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2017-12-24 15:06:12 -08:00
|
|
|
iffalse GoldenrodUndergroundSwitchRoomEntrances_DontToggle
|
2013-02-16 22:54:07 -08:00
|
|
|
copybytetovar UndergroundSwitchPositions
|
|
|
|
addvar -1
|
|
|
|
copyvartobyte UndergroundSwitchPositions
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_SWITCH_1
|
2017-12-24 15:06:12 -08:00
|
|
|
jump GoldenrodUndergroundSwitchRoomEntrances_UpdateDoors
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
Switch2Script:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-09 08:38:40 -08:00
|
|
|
writetext SwitchRoomText_Switch2
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_SWITCH_2
|
2015-12-09 08:38:40 -08:00
|
|
|
iftrue .On
|
|
|
|
writetext SwitchRoomText_OffTurnOn
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2017-12-24 15:06:12 -08:00
|
|
|
iffalse GoldenrodUndergroundSwitchRoomEntrances_DontToggle
|
2013-02-16 22:54:07 -08:00
|
|
|
copybytetovar UndergroundSwitchPositions
|
2015-12-09 08:38:40 -08:00
|
|
|
addvar 2
|
2013-02-16 22:54:07 -08:00
|
|
|
copyvartobyte UndergroundSwitchPositions
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_SWITCH_2
|
2017-12-24 15:06:12 -08:00
|
|
|
jump GoldenrodUndergroundSwitchRoomEntrances_UpdateDoors
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.On:
|
|
|
|
writetext SwitchRoomText_OnTurnOff
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2017-12-24 15:06:12 -08:00
|
|
|
iffalse GoldenrodUndergroundSwitchRoomEntrances_DontToggle
|
2013-02-16 22:54:07 -08:00
|
|
|
copybytetovar UndergroundSwitchPositions
|
|
|
|
addvar -2
|
|
|
|
copyvartobyte UndergroundSwitchPositions
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_SWITCH_2
|
2017-12-24 15:06:12 -08:00
|
|
|
jump GoldenrodUndergroundSwitchRoomEntrances_UpdateDoors
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
Switch3Script:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-09 08:38:40 -08:00
|
|
|
writetext SwitchRoomText_Switch3
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_SWITCH_3
|
2015-12-09 08:38:40 -08:00
|
|
|
iftrue .On
|
|
|
|
writetext SwitchRoomText_OffTurnOn
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2017-12-24 15:06:12 -08:00
|
|
|
iffalse GoldenrodUndergroundSwitchRoomEntrances_DontToggle
|
2013-02-16 22:54:07 -08:00
|
|
|
copybytetovar UndergroundSwitchPositions
|
2015-12-09 08:38:40 -08:00
|
|
|
addvar 3
|
2013-02-16 22:54:07 -08:00
|
|
|
copyvartobyte UndergroundSwitchPositions
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_SWITCH_3
|
2017-12-24 15:06:12 -08:00
|
|
|
jump GoldenrodUndergroundSwitchRoomEntrances_UpdateDoors
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.On:
|
|
|
|
writetext SwitchRoomText_OnTurnOff
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2017-12-24 15:06:12 -08:00
|
|
|
iffalse GoldenrodUndergroundSwitchRoomEntrances_DontToggle
|
2013-02-16 22:54:07 -08:00
|
|
|
copybytetovar UndergroundSwitchPositions
|
|
|
|
addvar -3
|
|
|
|
copyvartobyte UndergroundSwitchPositions
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_SWITCH_3
|
2017-12-24 15:06:12 -08:00
|
|
|
jump GoldenrodUndergroundSwitchRoomEntrances_UpdateDoors
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
EmergencySwitchScript:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-09 08:38:40 -08:00
|
|
|
writetext SwitchRoomText_Emergency
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_EMERGENCY_SWITCH
|
2015-12-09 08:38:40 -08:00
|
|
|
iftrue .On
|
|
|
|
writetext SwitchRoomText_OffTurnOn
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2017-12-24 15:06:12 -08:00
|
|
|
iffalse GoldenrodUndergroundSwitchRoomEntrances_DontToggle
|
2015-12-09 08:38:40 -08:00
|
|
|
writebyte 7
|
2013-02-16 22:54:07 -08:00
|
|
|
copyvartobyte UndergroundSwitchPositions
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_EMERGENCY_SWITCH
|
|
|
|
setevent EVENT_SWITCH_1
|
|
|
|
setevent EVENT_SWITCH_2
|
|
|
|
setevent EVENT_SWITCH_3
|
2017-12-24 15:06:12 -08:00
|
|
|
jump GoldenrodUndergroundSwitchRoomEntrances_UpdateDoors
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.On:
|
|
|
|
writetext SwitchRoomText_OnTurnOff
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2017-12-24 15:06:12 -08:00
|
|
|
iffalse GoldenrodUndergroundSwitchRoomEntrances_DontToggle
|
2015-12-09 08:38:40 -08:00
|
|
|
writebyte 0
|
2013-02-16 22:54:07 -08:00
|
|
|
copyvartobyte UndergroundSwitchPositions
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_EMERGENCY_SWITCH
|
|
|
|
clearevent EVENT_SWITCH_1
|
|
|
|
clearevent EVENT_SWITCH_2
|
|
|
|
clearevent EVENT_SWITCH_3
|
2017-12-24 15:06:12 -08:00
|
|
|
jump GoldenrodUndergroundSwitchRoomEntrances_UpdateDoors
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 15:06:12 -08:00
|
|
|
GoldenrodUndergroundSwitchRoomEntrances_DontToggle:
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-24 15:06:12 -08:00
|
|
|
GoldenrodUndergroundSwitchRoomEntrances_UpdateDoors:
|
2013-02-16 22:54:07 -08:00
|
|
|
copybytetovar UndergroundSwitchPositions
|
2015-12-09 08:38:40 -08:00
|
|
|
if_equal 0, .Position0
|
|
|
|
if_equal 1, .Position1
|
|
|
|
if_equal 2, .Position2
|
|
|
|
if_equal 3, .Position3
|
|
|
|
if_equal 4, .Position4
|
|
|
|
if_equal 5, .Position5
|
|
|
|
if_equal 6, .Position6
|
|
|
|
if_equal 7, .EmergencyPosition
|
|
|
|
.Position0:
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_ENTER_DOOR
|
2015-12-09 08:38:40 -08:00
|
|
|
scall .Clear4
|
|
|
|
scall .Clear5
|
|
|
|
scall .Clear6
|
|
|
|
scall .Clear7
|
|
|
|
scall .Clear8
|
|
|
|
scall .Clear9
|
|
|
|
scall .Clear10
|
|
|
|
scall .Clear11
|
|
|
|
scall .Clear12
|
|
|
|
scall .Clear13
|
|
|
|
scall .Clear14
|
2013-02-16 22:54:07 -08:00
|
|
|
reloadmappart
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Position1:
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_ENTER_DOOR
|
2015-12-09 08:38:40 -08:00
|
|
|
scall .Set4
|
|
|
|
scall .Set10
|
|
|
|
scall .Set13
|
|
|
|
scall .Clear9
|
|
|
|
scall .Clear11
|
|
|
|
scall .Clear12
|
|
|
|
scall .Clear14
|
2013-02-16 22:54:07 -08:00
|
|
|
reloadmappart
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Position2:
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_ENTER_DOOR
|
2015-12-09 08:38:40 -08:00
|
|
|
scall .Set5
|
|
|
|
scall .Set11
|
|
|
|
scall .Set12
|
|
|
|
scall .Clear8
|
|
|
|
scall .Clear10
|
|
|
|
scall .Clear13
|
|
|
|
scall .Clear14
|
2013-02-16 22:54:07 -08:00
|
|
|
reloadmappart
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Position3:
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_ENTER_DOOR
|
2015-12-09 08:38:40 -08:00
|
|
|
scall .Set6
|
|
|
|
scall .Set10
|
|
|
|
scall .Set13
|
|
|
|
scall .Clear7
|
|
|
|
scall .Clear11
|
|
|
|
scall .Clear12
|
|
|
|
scall .Clear14
|
2013-02-16 22:54:07 -08:00
|
|
|
reloadmappart
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Position4:
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_ENTER_DOOR
|
2015-12-09 08:38:40 -08:00
|
|
|
scall .Set7
|
|
|
|
scall .Set11
|
|
|
|
scall .Set12
|
|
|
|
scall .Clear6
|
|
|
|
scall .Clear10
|
|
|
|
scall .Clear13
|
|
|
|
scall .Clear14
|
2013-02-16 22:54:07 -08:00
|
|
|
reloadmappart
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Position5:
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_ENTER_DOOR
|
2015-12-09 08:38:40 -08:00
|
|
|
scall .Set8
|
|
|
|
scall .Set10
|
|
|
|
scall .Set13
|
|
|
|
scall .Clear5
|
|
|
|
scall .Clear11
|
|
|
|
scall .Clear12
|
|
|
|
scall .Clear14
|
2013-02-16 22:54:07 -08:00
|
|
|
reloadmappart
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Position6:
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_ENTER_DOOR
|
2015-12-09 08:38:40 -08:00
|
|
|
scall .Set9
|
|
|
|
scall .Set11
|
|
|
|
scall .Set12
|
|
|
|
scall .Set14
|
|
|
|
scall .Clear4
|
|
|
|
scall .Clear10
|
|
|
|
scall .Clear13
|
2013-02-16 22:54:07 -08:00
|
|
|
reloadmappart
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.EmergencyPosition:
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_ENTER_DOOR
|
2015-12-09 08:38:40 -08:00
|
|
|
scall .Clear4
|
|
|
|
scall .Clear5
|
|
|
|
scall .Set6
|
|
|
|
scall .Clear7
|
|
|
|
scall .Set8
|
|
|
|
scall .Set9
|
|
|
|
scall .Clear10
|
|
|
|
scall .Set11
|
|
|
|
scall .Set12
|
|
|
|
scall .Clear13
|
|
|
|
scall .Set14
|
2013-02-16 22:54:07 -08:00
|
|
|
reloadmappart
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2015-12-09 08:38:40 -08:00
|
|
|
writebyte 6
|
2013-02-16 22:54:07 -08:00
|
|
|
copyvartobyte UndergroundSwitchPositions
|
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Set4:
|
|
|
|
doorstate 1, OPEN1
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_SWITCH_4
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Set5:
|
|
|
|
doorstate 2, OPEN1
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_SWITCH_5
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Set6:
|
|
|
|
doorstate 3, OPEN1
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_SWITCH_6
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Set7:
|
|
|
|
doorstate 4, OPEN1
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_SWITCH_7
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Set8:
|
|
|
|
doorstate 5, OPEN1
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_SWITCH_8
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Set9:
|
|
|
|
doorstate 6, OPEN1
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_SWITCH_9
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Set10:
|
|
|
|
doorstate 7, CLOSED1
|
|
|
|
doorstate 8, OPEN1
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_SWITCH_10
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Set11:
|
|
|
|
doorstate 9, CLOSED1
|
|
|
|
doorstate 10, OPEN1
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_SWITCH_11
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Set12:
|
|
|
|
doorstate 11, CLOSED1
|
|
|
|
doorstate 12, OPEN1
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_SWITCH_12
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Set13:
|
|
|
|
doorstate 13, CLOSED1
|
|
|
|
doorstate 14, OPEN1
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_SWITCH_13
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Set14:
|
|
|
|
doorstate 15, CLOSED1
|
|
|
|
doorstate 16, OPEN1
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_SWITCH_14
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Clear4:
|
|
|
|
doorstate 1, CLOSED2
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_SWITCH_4
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Clear5:
|
|
|
|
doorstate 2, CLOSED2
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_SWITCH_5
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Clear6:
|
|
|
|
doorstate 3, CLOSED2
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_SWITCH_6
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Clear7:
|
|
|
|
doorstate 4, CLOSED2
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_SWITCH_7
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Clear8:
|
|
|
|
doorstate 5, CLOSED2
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_SWITCH_8
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Clear9:
|
|
|
|
doorstate 6, CLOSED2
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_SWITCH_9
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Clear10:
|
|
|
|
doorstate 7, CLOSED3
|
|
|
|
doorstate 8, OPEN2
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_SWITCH_10
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Clear11:
|
|
|
|
doorstate 9, CLOSED3
|
|
|
|
doorstate 10, OPEN2
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_SWITCH_11
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Clear12:
|
|
|
|
doorstate 11, CLOSED3
|
|
|
|
doorstate 12, OPEN2
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_SWITCH_12
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Clear13:
|
|
|
|
doorstate 13, CLOSED3
|
|
|
|
doorstate 14, OPEN2
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_SWITCH_13
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
.Clear14:
|
|
|
|
doorstate 15, CLOSED3
|
|
|
|
doorstate 16, OPEN2
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_SWITCH_14
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-24 15:06:12 -08:00
|
|
|
GoldenrodUndergroundSwitchRoomEntrancesSmokeBall:
|
2015-12-15 07:55:56 -08:00
|
|
|
itemball SMOKE_BALL
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 15:06:12 -08:00
|
|
|
GoldenrodUndergroundSwitchRoomEntrancesFullHeal:
|
2015-12-15 07:55:56 -08:00
|
|
|
itemball FULL_HEAL
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 15:06:12 -08:00
|
|
|
GoldenrodUndergroundSwitchRoomEntrancesHiddenMaxPotion:
|
2018-01-23 09:59:21 -08:00
|
|
|
hiddenitem MAX_POTION, EVENT_GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES_HIDDEN_MAX_POTION
|
2016-04-10 11:42:14 -07:00
|
|
|
|
2017-12-24 15:06:12 -08:00
|
|
|
GoldenrodUndergroundSwitchRoomEntrancesHiddenRevive:
|
2018-01-23 09:59:21 -08:00
|
|
|
hiddenitem REVIVE, EVENT_GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES_HIDDEN_REVIVE
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
UndergroundSilverApproachMovement1:
|
2016-05-14 10:46:14 -07:00
|
|
|
step DOWN
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
UndergroundSilverApproachMovement2:
|
2016-05-14 10:46:14 -07:00
|
|
|
step DOWN
|
|
|
|
step DOWN
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
UndergroundSilverRetreatMovement1:
|
2016-05-14 10:46:14 -07:00
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step UP
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
UndergroundSilverRetreatMovement2:
|
2016-05-14 10:46:14 -07:00
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step UP
|
|
|
|
step UP
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
UndergroundSilverBeforeText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hold it!"
|
|
|
|
|
|
|
|
para "I saw you, so I"
|
|
|
|
line "tailed you."
|
|
|
|
|
|
|
|
para "I don't need you"
|
|
|
|
line "underfoot while I"
|
|
|
|
|
|
|
|
para "take care of TEAM"
|
|
|
|
line "ROCKET."
|
|
|
|
|
|
|
|
para "…Wait a second."
|
|
|
|
line "You beat me be-"
|
|
|
|
cont "fore, didn't you?"
|
|
|
|
|
|
|
|
para "That was just a"
|
|
|
|
line "fluke."
|
|
|
|
|
|
|
|
para "But I repay my"
|
|
|
|
line "debts!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
UndergroundSilverWinText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "…Why…"
|
|
|
|
line "Why do I lose?"
|
|
|
|
|
|
|
|
para "I've assembled the"
|
|
|
|
line "toughest #MON."
|
|
|
|
|
|
|
|
para "I didn't ease up"
|
|
|
|
line "on the gas."
|
|
|
|
|
|
|
|
para "So why do I lose?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
UndergroundSilverAfterText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "…I don't under-"
|
|
|
|
line "stand…"
|
|
|
|
|
|
|
|
para "Is what that LANCE"
|
|
|
|
line "guy said true?"
|
|
|
|
|
|
|
|
para "That I don't treat"
|
|
|
|
line "#MON properly?"
|
|
|
|
|
|
|
|
para "Love…"
|
|
|
|
|
|
|
|
para "Trust…"
|
|
|
|
|
|
|
|
para "Are they really"
|
|
|
|
line "what I lack?"
|
|
|
|
|
|
|
|
para "Are they keeping"
|
|
|
|
line "me from winning?"
|
|
|
|
|
|
|
|
para "I… I just don't"
|
|
|
|
line "understand."
|
|
|
|
|
|
|
|
para "But it's not going"
|
|
|
|
line "to end here."
|
|
|
|
|
|
|
|
para "Not now. Not"
|
|
|
|
line "because of this."
|
|
|
|
|
|
|
|
para "I won't give up my"
|
|
|
|
line "dream of becoming"
|
|
|
|
|
|
|
|
para "the world's best"
|
|
|
|
line "#MON trainer!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
UndergroundSilverLossText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Humph. This is my"
|
|
|
|
line "real power, wimp."
|
|
|
|
|
|
|
|
para "I'll make TEAM"
|
|
|
|
line "ROCKET history."
|
|
|
|
|
|
|
|
para "And I'm going to"
|
|
|
|
line "grind that LANCE"
|
|
|
|
cont "under my heels."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 15:06:12 -08:00
|
|
|
GoldenrodUndergroundSwitchRoomEntrances_SuperNerdText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I was challenged"
|
|
|
|
line "to a battle down-"
|
|
|
|
cont "stairs."
|
|
|
|
|
|
|
|
para "It's rough down"
|
|
|
|
line "there. You'd"
|
|
|
|
cont "better be careful."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 15:06:12 -08:00
|
|
|
GoldenrodUndergroundSwitchRoomEntrances_TeacherText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "There are some"
|
|
|
|
line "shops downstairs…"
|
|
|
|
|
|
|
|
para "But there are"
|
|
|
|
line "also trainers."
|
|
|
|
|
|
|
|
para "I'm scared to go"
|
|
|
|
line "down there."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
GruntM11SeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Open one shutter,"
|
|
|
|
line "another closes."
|
|
|
|
|
|
|
|
para "Bet you can't get"
|
|
|
|
line "where you want!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
GruntM11BeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Drat! I was sunk"
|
|
|
|
line "by indecision!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
GruntM11AfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'm confused too…"
|
|
|
|
line "The switch on the"
|
|
|
|
|
|
|
|
para "end is the one to"
|
|
|
|
line "press first, but…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
GruntM25SeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Kwahaha!"
|
|
|
|
|
|
|
|
para "Confounded by the"
|
|
|
|
line "shutters, are we?"
|
|
|
|
|
|
|
|
para "I'll let you in on"
|
|
|
|
line "a secret if you"
|
|
|
|
cont "can beat me!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
GruntM25BeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Uwww…"
|
|
|
|
line "I blew it."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
GruntM25AfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "All right. A hint!"
|
|
|
|
|
|
|
|
para "Change the order"
|
|
|
|
line "of switching."
|
|
|
|
|
|
|
|
para "That'll change the"
|
|
|
|
line "ways the shutters"
|
|
|
|
cont "open and close."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
BurglarDuncanSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Fork over your"
|
|
|
|
line "goodies!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
BurglarDuncanBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Mercy!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
BurglarDuncanAfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Steal and sell!"
|
|
|
|
line "That's basic in"
|
|
|
|
cont "crime, kid!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
BurglarEddieSeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "They ditched this"
|
|
|
|
line "project before"
|
|
|
|
cont "they finished."
|
|
|
|
|
|
|
|
para "I'm searching for"
|
|
|
|
line "leftover loot."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
BurglarEddieBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Over the top!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
BurglarEddieAfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "UNDERGROUND WARE-"
|
|
|
|
line "HOUSE?"
|
|
|
|
|
|
|
|
para "What do you want"
|
|
|
|
line "to go there for?"
|
|
|
|
|
|
|
|
para "There's nothing"
|
|
|
|
line "down there."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
GruntM13SeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I don't care if"
|
|
|
|
line "you're lost."
|
|
|
|
|
|
|
|
para "You show up here,"
|
|
|
|
line "you're nothing but"
|
|
|
|
cont "a victim!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
GruntM13BeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Urk! Yeah, think"
|
|
|
|
line "you're cool, huh?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
GruntM13AfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You must have ice"
|
|
|
|
line "in your veins to"
|
|
|
|
cont "dis TEAM ROCKET."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
SwitchRoomText_Switch1:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "It's labeled"
|
|
|
|
line "SWITCH 1."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
GruntF3SeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Are you lost? No,"
|
|
|
|
line "you can't be."
|
|
|
|
|
|
|
|
para "You don't have"
|
|
|
|
line "that scared look."
|
|
|
|
|
|
|
|
para "I'll give you"
|
|
|
|
line "something to be"
|
|
|
|
cont "scared about!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:20:21 -07:00
|
|
|
GruntF3BeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "How could you?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 12:36:58 -08:00
|
|
|
GruntF3AfterBattleText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Go wherever you'd"
|
|
|
|
line "like! Get lost!"
|
|
|
|
cont "See if I care!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
SwitchRoomText_OffTurnOn:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "It's OFF."
|
|
|
|
line "Turn it ON?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
SwitchRoomText_OnTurnOff:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "It's ON."
|
|
|
|
line "Turn it OFF?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
SwitchRoomText_Switch2:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "It's labeled"
|
|
|
|
line "SWITCH 2."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
SwitchRoomText_Switch3:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "It's labeled"
|
|
|
|
line "SWITCH 3."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-09 08:38:40 -08:00
|
|
|
SwitchRoomText_Emergency:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "It's labeled"
|
|
|
|
line "EMERGENCY."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
GoldenrodUndergroundSwitchRoomEntrances_MapEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Warps:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 9
|
2017-12-28 11:31:25 -08:00
|
|
|
warp_def 23, 3, 6, GOLDENROD_UNDERGROUND
|
|
|
|
warp_def 22, 10, 1, GOLDENROD_UNDERGROUND_WAREHOUSE
|
|
|
|
warp_def 23, 10, 2, GOLDENROD_UNDERGROUND_WAREHOUSE
|
|
|
|
warp_def 5, 25, 2, GOLDENROD_UNDERGROUND
|
|
|
|
warp_def 4, 29, 14, GOLDENROD_CITY
|
|
|
|
warp_def 5, 29, 14, GOLDENROD_CITY
|
|
|
|
warp_def 21, 25, 1, GOLDENROD_UNDERGROUND
|
|
|
|
warp_def 20, 29, 13, GOLDENROD_CITY
|
|
|
|
warp_def 21, 29, 13, GOLDENROD_CITY
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.CoordEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2017-12-28 11:31:25 -08:00
|
|
|
coord_event 19, 4, 0, UndergroundSilverScene1
|
|
|
|
coord_event 19, 5, 0, UndergroundSilverScene2
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.BGEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 6
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 16, 1, BGEVENT_READ, Switch1Script
|
|
|
|
bg_event 10, 1, BGEVENT_READ, Switch2Script
|
|
|
|
bg_event 2, 1, BGEVENT_READ, Switch3Script
|
|
|
|
bg_event 20, 11, BGEVENT_READ, EmergencySwitchScript
|
|
|
|
bg_event 8, 9, BGEVENT_ITEM, GoldenrodUndergroundSwitchRoomEntrancesHiddenMaxPotion
|
|
|
|
bg_event 1, 8, BGEVENT_ITEM, GoldenrodUndergroundSwitchRoomEntrancesHiddenRevive
|
2017-12-24 10:46:34 -08:00
|
|
|
|
|
|
|
.ObjectEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 11
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 9, 12, SPRITE_PHARMACIST, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 2, TrainerBurglarDuncan, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
|
|
|
|
object_event 4, 8, SPRITE_PHARMACIST, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 2, TrainerBurglarEddie, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
|
|
|
|
object_event 17, 2, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, TrainerGruntM13, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
|
|
|
|
object_event 11, 2, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, TrainerGruntM11, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
|
|
|
|
object_event 3, 2, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, TrainerGruntM25, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
|
|
|
|
object_event 19, 12, SPRITE_ROCKET_GIRL, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 1, TrainerGruntF3, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
|
|
|
|
object_event 3, 27, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, TeacherScript_0x7ca7d, -1
|
|
|
|
object_event 19, 27, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SuperNerdScript_0x7ca7a, -1
|
|
|
|
object_event 1, 12, SPRITE_POKE_BALL, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodUndergroundSwitchRoomEntrancesSmokeBall, EVENT_GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES_SMOKE_BALL
|
|
|
|
object_event 14, 9, SPRITE_POKE_BALL, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodUndergroundSwitchRoomEntrancesFullHeal, EVENT_GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES_FULL_HEAL
|
|
|
|
object_event 23, 3, SPRITE_SILVER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_RIVAL_GOLDENROD_UNDERGROUND
|