pokecrystal-board/maps/UndergroundPathSwitchRoomEntrances.asm

950 lines
21 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const UNDERGROUNDPATHSWITCHROOMENTRANCES_PHARMACIST1
const UNDERGROUNDPATHSWITCHROOMENTRANCES_PHARMACIST2
const UNDERGROUNDPATHSWITCHROOMENTRANCES_ROCKET1
const UNDERGROUNDPATHSWITCHROOMENTRANCES_ROCKET2
const UNDERGROUNDPATHSWITCHROOMENTRANCES_ROCKET3
const UNDERGROUNDPATHSWITCHROOMENTRANCES_ROCKET_GIRL
const UNDERGROUNDPATHSWITCHROOMENTRANCES_TEACHER
const UNDERGROUNDPATHSWITCHROOMENTRANCES_SUPER_NERD
const UNDERGROUNDPATHSWITCHROOMENTRANCES_POKE_BALL1
const UNDERGROUNDPATHSWITCHROOMENTRANCES_POKE_BALL2
const UNDERGROUNDPATHSWITCHROOMENTRANCES_SILVER
2015-07-10 01:20:21 -07:00
UndergroundPathSwitchRoomEntrances_MapScriptHeader:
.MapTriggers:
db 2
; triggers
2015-11-02 11:37:02 -08:00
dw UnknownScript_0x7c9f5, 0
dw UnknownScript_0x7c9f6, 0
.MapCallbacks:
db 1
; callbacks
dbw 1, UnknownScript_0x7c9f7
2015-07-10 01:20:21 -07:00
UnknownScript_0x7c9f5:
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7c9f6:
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7c9f7:
2013-09-24 00:48:58 -07:00
checkevent EVENT_SWITCH_4
iffalse UnknownScript_0x7ca01
changeblock $10, $6, $2d
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ca01:
2013-09-24 00:48:58 -07:00
checkevent EVENT_SWITCH_5
iffalse UnknownScript_0x7ca0b
changeblock $a, $6, $2d
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ca0b:
2013-09-24 00:48:58 -07:00
checkevent EVENT_SWITCH_6
iffalse UnknownScript_0x7ca15
changeblock $2, $6, $2d
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ca15:
2013-09-24 00:48:58 -07:00
checkevent EVENT_SWITCH_7
iffalse UnknownScript_0x7ca1f
changeblock $2, $a, $2d
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ca1f:
2013-09-24 00:48:58 -07:00
checkevent EVENT_SWITCH_8
iffalse UnknownScript_0x7ca29
changeblock $a, $a, $2d
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ca29:
2013-09-24 00:48:58 -07:00
checkevent EVENT_SWITCH_9
iffalse UnknownScript_0x7ca33
changeblock $10, $a, $2d
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ca33:
2013-09-24 00:48:58 -07:00
checkevent EVENT_SWITCH_10
iffalse UnknownScript_0x7ca41
changeblock $c, $6, $2a
changeblock $c, $8, $2d
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ca41:
2013-09-24 00:48:58 -07:00
checkevent EVENT_SWITCH_11
iffalse UnknownScript_0x7ca4f
changeblock $6, $6, $2a
changeblock $6, $8, $2d
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ca4f:
2013-09-24 00:48:58 -07:00
checkevent EVENT_SWITCH_12
iffalse UnknownScript_0x7ca5d
changeblock $c, $a, $2a
changeblock $c, $c, $2d
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ca5d:
2013-09-24 00:48:58 -07:00
checkevent EVENT_SWITCH_13
iffalse UnknownScript_0x7ca6b
changeblock $6, $a, $2a
changeblock $6, $c, $2d
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ca6b:
2013-09-24 00:48:58 -07:00
checkevent EVENT_SWITCH_14
iffalse UnknownScript_0x7ca79
changeblock $12, $a, $2a
changeblock $12, $c, $2d
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ca79:
return
2015-07-10 01:20:21 -07:00
SuperNerdScript_0x7ca7a:
jumptextfaceplayer UnknownText_0x7d176
2015-07-10 01:20:21 -07:00
TeacherScript_0x7ca7d:
jumptextfaceplayer UnknownText_0x7d1d0
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ca80:
spriteface PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special Special_FadeOutMusic
pause 15
playsound SFX_EXIT_BUILDING
2015-11-26 21:22:14 -08:00
appear UNDERGROUNDPATHSWITCHROOMENTRANCES_SILVER
2015-11-25 07:16:29 -08:00
waitsfx
2015-11-26 21:22:14 -08:00
applymovement UNDERGROUNDPATHSWITCHROOMENTRANCES_SILVER, MovementData_0x7ce87
spriteface PLAYER, RIGHT
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x7cad4
2015-11-26 21:22:14 -08:00
applymovement UNDERGROUNDPATHSWITCHROOMENTRANCES_SILVER, MovementData_0x7ce92
playsound SFX_EXIT_BUILDING
2015-11-26 21:22:14 -08:00
disappear UNDERGROUNDPATHSWITCHROOMENTRANCES_SILVER
dotrigger $1
2015-11-25 07:16:29 -08:00
waitsfx
playmapmusic
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7caaa:
spriteface PLAYER, RIGHT
showemote EMOTE_SHOCK, PLAYER, 15
special Special_FadeOutMusic
pause 15
playsound SFX_EXIT_BUILDING
2015-11-26 21:22:14 -08:00
appear UNDERGROUNDPATHSWITCHROOMENTRANCES_SILVER
2015-11-25 07:16:29 -08:00
waitsfx
2015-11-26 21:22:14 -08:00
applymovement UNDERGROUNDPATHSWITCHROOMENTRANCES_SILVER, MovementData_0x7ce8c
spriteface PLAYER, RIGHT
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x7cad4
2015-11-26 21:22:14 -08:00
applymovement UNDERGROUNDPATHSWITCHROOMENTRANCES_SILVER, MovementData_0x7ce97
playsound SFX_EXIT_BUILDING
2015-11-26 21:22:14 -08:00
disappear UNDERGROUNDPATHSWITCHROOMENTRANCES_SILVER
dotrigger $1
2015-11-25 07:16:29 -08:00
waitsfx
playmapmusic
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cad4:
checkevent EVENT_RIVAL_BURNED_TOWER
iftrue UnknownScript_0x7cae1
setevent EVENT_RIVAL_BURNED_TOWER
domaptrigger BURNED_TOWER_1F, $1
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cae1:
playmusic MUSIC_RIVAL_ENCOUNTER
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7ce9d
2015-11-25 07:16:29 -08:00
waitbutton
closetext
setevent EVENT_RIVAL_UNDERGROUND_PATH
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_TOTODILE_FROM_ELM
iftrue UnknownScript_0x7cb09
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_CHIKORITA_FROM_ELM
iftrue UnknownScript_0x7cb19
winlosstext UnknownText_0x7cf5d, UnknownText_0x7d102
setlasttalked $c
loadtrainer RIVAL1, RIVAL1_12
startbattle
reloadmapmusic
returnafterbattle
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7cb29
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cb09:
winlosstext UnknownText_0x7cf5d, UnknownText_0x7d102
setlasttalked $c
loadtrainer RIVAL1, RIVAL1_10
startbattle
reloadmapmusic
returnafterbattle
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7cb29
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cb19:
winlosstext UnknownText_0x7cf5d, UnknownText_0x7d102
setlasttalked $c
loadtrainer RIVAL1, RIVAL1_11
startbattle
reloadmapmusic
returnafterbattle
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7cb29
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cb29:
playmusic MUSIC_RIVAL_AFTER
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7cfc2
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerGruntM11:
2015-11-02 11:37:02 -08:00
trainer EVENT_BEAT_ROCKET_GRUNTM_11, GRUNTM, 11, GruntM11SeenText, GruntM11BeatenText, 0, GruntM11Script
2015-07-10 01:20:21 -07:00
GruntM11Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7d290
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerGruntM25:
2015-11-02 11:37:02 -08:00
trainer EVENT_BEAT_ROCKET_GRUNTM_25, GRUNTM, 25, GruntM25SeenText, GruntM25BeatenText, 0, GruntM25Script
2015-07-10 01:20:21 -07:00
GruntM25Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7d347
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerBurglarDuncan:
2015-11-02 11:37:02 -08:00
trainer EVENT_BEAT_BURGLAR_DUNCAN, BURGLAR, DUNCAN, BurglarDuncanSeenText, BurglarDuncanBeatenText, 0, BurglarDuncanScript
2015-07-10 01:20:21 -07:00
BurglarDuncanScript:
2015-11-25 07:16:29 -08:00
end_if_just_battled
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7d3cf
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerBurglarEddie:
2015-11-02 11:37:02 -08:00
trainer EVENT_BEAT_BURGLAR_EDDIE, BURGLAR, EDDIE, BurglarEddieSeenText, BurglarEddieBeatenText, 0, BurglarEddieScript
2015-07-10 01:20:21 -07:00
BurglarEddieScript:
2015-11-25 07:16:29 -08:00
end_if_just_battled
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7d45b
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerGruntM13:
2015-11-02 11:37:02 -08:00
trainer EVENT_BEAT_ROCKET_GRUNTM_13, GRUNTM, 13, GruntM13SeenText, GruntM13BeatenText, 0, GruntM13Script
2015-07-10 01:20:21 -07:00
GruntM13Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7d51f
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
TrainerGruntF3:
2015-11-02 11:37:02 -08:00
trainer EVENT_BEAT_ROCKET_GRUNTF_3, GRUNTF, 3, GruntF3SeenText, GruntF3BeatenText, 0, GruntF3Script
2015-07-10 01:20:21 -07:00
GruntF3Script:
2015-11-25 07:16:29 -08:00
end_if_just_battled
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7d5e6
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:20:21 -07:00
MapUndergroundPathSwitchRoomEntrancesSignpost0Script:
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7d554
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-24 00:48:58 -07:00
checkevent EVENT_SWITCH_1
iftrue UnknownScript_0x7cbcb
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7d617
yesorno
iffalse UnknownScript_0x7cc8b
copybytetovar UndergroundSwitchPositions
addvar $1
copyvartobyte UndergroundSwitchPositions
2013-09-24 00:48:58 -07:00
setevent EVENT_SWITCH_1
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7cc8d
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cbcb:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7d62d
yesorno
iffalse UnknownScript_0x7cc8b
copybytetovar UndergroundSwitchPositions
addvar -1
copyvartobyte UndergroundSwitchPositions
2013-09-24 00:48:58 -07:00
clearevent EVENT_SWITCH_1
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7cc8d
2015-07-10 01:20:21 -07:00
MapUndergroundPathSwitchRoomEntrancesSignpost1Script:
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7d643
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-24 00:48:58 -07:00
checkevent EVENT_SWITCH_2
iftrue UnknownScript_0x7cc00
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7d617
yesorno
iffalse UnknownScript_0x7cc8b
copybytetovar UndergroundSwitchPositions
addvar $2
copyvartobyte UndergroundSwitchPositions
2013-09-24 00:48:58 -07:00
setevent EVENT_SWITCH_2
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7cc8d
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cc00:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7d62d
yesorno
iffalse UnknownScript_0x7cc8b
copybytetovar UndergroundSwitchPositions
addvar -2
copyvartobyte UndergroundSwitchPositions
2013-09-24 00:48:58 -07:00
clearevent EVENT_SWITCH_2
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7cc8d
2015-07-10 01:20:21 -07:00
MapUndergroundPathSwitchRoomEntrancesSignpost2Script:
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7d65a
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-24 00:48:58 -07:00
checkevent EVENT_SWITCH_3
iftrue UnknownScript_0x7cc35
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7d617
yesorno
iffalse UnknownScript_0x7cc8b
copybytetovar UndergroundSwitchPositions
addvar $3
copyvartobyte UndergroundSwitchPositions
2013-09-24 00:48:58 -07:00
setevent EVENT_SWITCH_3
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7cc8d
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cc35:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7d62d
yesorno
iffalse UnknownScript_0x7cc8b
copybytetovar UndergroundSwitchPositions
addvar -3
copyvartobyte UndergroundSwitchPositions
2013-09-24 00:48:58 -07:00
clearevent EVENT_SWITCH_3
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7cc8d
2015-07-10 01:20:21 -07:00
MapUndergroundPathSwitchRoomEntrancesSignpost3Script:
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7d671
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-24 00:48:58 -07:00
checkevent EVENT_EMERGENCY_SWITCH
iftrue UnknownScript_0x7cc70
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7d617
yesorno
iffalse UnknownScript_0x7cc8b
writebyte $7
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
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7cc8d
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cc70:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7d62d
yesorno
iffalse UnknownScript_0x7cc8b
writebyte $0
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
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7cc8d
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cc8b:
2015-11-25 07:16:29 -08:00
closetext
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cc8d:
copybytetovar UndergroundSwitchPositions
if_equal $0, UnknownScript_0x7ccb0
if_equal $1, UnknownScript_0x7ccd7
if_equal $2, UnknownScript_0x7ccf2
if_equal $3, UnknownScript_0x7cd0d
if_equal $4, UnknownScript_0x7cd28
if_equal $5, UnknownScript_0x7cd43
if_equal $6, UnknownScript_0x7cd5e
if_equal $7, UnknownScript_0x7cd79
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ccb0:
playsound SFX_ENTER_DOOR
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x7ce11
scall UnknownScript_0x7ce19
scall UnknownScript_0x7ce21
scall UnknownScript_0x7ce29
scall UnknownScript_0x7ce31
scall UnknownScript_0x7ce39
scall UnknownScript_0x7ce41
scall UnknownScript_0x7ce4d
scall UnknownScript_0x7ce59
scall UnknownScript_0x7ce65
scall UnknownScript_0x7ce71
reloadmappart
2015-11-25 07:16:29 -08:00
closetext
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ccd7:
playsound SFX_ENTER_DOOR
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x7cda5
scall UnknownScript_0x7cdd5
scall UnknownScript_0x7cdf9
scall UnknownScript_0x7ce39
scall UnknownScript_0x7ce4d
scall UnknownScript_0x7ce59
scall UnknownScript_0x7ce71
reloadmappart
2015-11-25 07:16:29 -08:00
closetext
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ccf2:
playsound SFX_ENTER_DOOR
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x7cdad
scall UnknownScript_0x7cde1
scall UnknownScript_0x7cded
scall UnknownScript_0x7ce31
scall UnknownScript_0x7ce41
scall UnknownScript_0x7ce65
scall UnknownScript_0x7ce71
reloadmappart
2015-11-25 07:16:29 -08:00
closetext
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cd0d:
playsound SFX_ENTER_DOOR
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x7cdb5
scall UnknownScript_0x7cdd5
scall UnknownScript_0x7cdf9
scall UnknownScript_0x7ce29
scall UnknownScript_0x7ce4d
scall UnknownScript_0x7ce59
scall UnknownScript_0x7ce71
reloadmappart
2015-11-25 07:16:29 -08:00
closetext
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cd28:
playsound SFX_ENTER_DOOR
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x7cdbd
scall UnknownScript_0x7cde1
scall UnknownScript_0x7cded
scall UnknownScript_0x7ce21
scall UnknownScript_0x7ce41
scall UnknownScript_0x7ce65
scall UnknownScript_0x7ce71
reloadmappart
2015-11-25 07:16:29 -08:00
closetext
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cd43:
playsound SFX_ENTER_DOOR
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x7cdc5
scall UnknownScript_0x7cdd5
scall UnknownScript_0x7cdf9
scall UnknownScript_0x7ce19
scall UnknownScript_0x7ce4d
scall UnknownScript_0x7ce59
scall UnknownScript_0x7ce71
reloadmappart
2015-11-25 07:16:29 -08:00
closetext
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cd5e:
playsound SFX_ENTER_DOOR
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x7cdcd
scall UnknownScript_0x7cde1
scall UnknownScript_0x7cded
scall UnknownScript_0x7ce05
scall UnknownScript_0x7ce11
scall UnknownScript_0x7ce41
scall UnknownScript_0x7ce65
reloadmappart
2015-11-25 07:16:29 -08:00
closetext
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cd79:
playsound SFX_ENTER_DOOR
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x7ce11
scall UnknownScript_0x7ce19
scall UnknownScript_0x7cdb5
scall UnknownScript_0x7ce29
scall UnknownScript_0x7cdc5
scall UnknownScript_0x7cdcd
scall UnknownScript_0x7ce41
scall UnknownScript_0x7cde1
scall UnknownScript_0x7cded
scall UnknownScript_0x7ce65
scall UnknownScript_0x7ce05
reloadmappart
2015-11-25 07:16:29 -08:00
closetext
writebyte $6
copyvartobyte UndergroundSwitchPositions
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cda5:
changeblock $10, $6, $2d
2013-09-24 00:48:58 -07:00
setevent EVENT_SWITCH_4
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cdad:
changeblock $a, $6, $2d
2013-09-24 00:48:58 -07:00
setevent EVENT_SWITCH_5
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cdb5:
changeblock $2, $6, $2d
2013-09-24 00:48:58 -07:00
setevent EVENT_SWITCH_6
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cdbd:
changeblock $2, $a, $2d
2013-09-24 00:48:58 -07:00
setevent EVENT_SWITCH_7
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cdc5:
changeblock $a, $a, $2d
2013-09-24 00:48:58 -07:00
setevent EVENT_SWITCH_8
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cdcd:
changeblock $10, $a, $2d
2013-09-24 00:48:58 -07:00
setevent EVENT_SWITCH_9
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cdd5:
changeblock $c, $6, $2a
changeblock $c, $8, $2d
2013-09-24 00:48:58 -07:00
setevent EVENT_SWITCH_10
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cde1:
changeblock $6, $6, $2a
changeblock $6, $8, $2d
2013-09-24 00:48:58 -07:00
setevent EVENT_SWITCH_11
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cded:
changeblock $c, $a, $2a
changeblock $c, $c, $2d
2013-09-24 00:48:58 -07:00
setevent EVENT_SWITCH_12
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7cdf9:
changeblock $6, $a, $2a
changeblock $6, $c, $2d
2013-09-24 00:48:58 -07:00
setevent EVENT_SWITCH_13
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ce05:
changeblock $12, $a, $2a
changeblock $12, $c, $2d
2013-09-24 00:48:58 -07:00
setevent EVENT_SWITCH_14
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ce11:
changeblock $10, $6, $3e
2013-09-24 00:48:58 -07:00
clearevent EVENT_SWITCH_4
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ce19:
changeblock $a, $6, $3e
2013-09-24 00:48:58 -07:00
clearevent EVENT_SWITCH_5
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ce21:
changeblock $2, $6, $3e
2013-09-24 00:48:58 -07:00
clearevent EVENT_SWITCH_6
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ce29:
changeblock $2, $a, $3e
2013-09-24 00:48:58 -07:00
clearevent EVENT_SWITCH_7
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ce31:
changeblock $a, $a, $3e
2013-09-24 00:48:58 -07:00
clearevent EVENT_SWITCH_8
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ce39:
changeblock $10, $a, $3e
2013-09-24 00:48:58 -07:00
clearevent EVENT_SWITCH_9
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ce41:
changeblock $c, $6, $3f
changeblock $c, $8, $3d
2013-09-24 00:48:58 -07:00
clearevent EVENT_SWITCH_10
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ce4d:
changeblock $6, $6, $3f
changeblock $6, $8, $3d
2013-09-24 00:48:58 -07:00
clearevent EVENT_SWITCH_11
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ce59:
changeblock $c, $a, $3f
changeblock $c, $c, $3d
2013-09-24 00:48:58 -07:00
clearevent EVENT_SWITCH_12
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ce65:
changeblock $6, $a, $3f
changeblock $6, $c, $3d
2013-09-24 00:48:58 -07:00
clearevent EVENT_SWITCH_13
end
2015-07-10 01:20:21 -07:00
UnknownScript_0x7ce71:
changeblock $12, $a, $3f
changeblock $12, $c, $3d
2013-09-24 00:48:58 -07:00
clearevent EVENT_SWITCH_14
end
2015-07-10 01:20:21 -07:00
ItemFragment_0x7ce7d:
db SMOKE_BALL, 1
2015-07-10 01:20:21 -07:00
ItemFragment_0x7ce7f:
db FULL_HEAL, 1
2015-07-10 01:20:21 -07:00
MapUndergroundPathSwitchRoomEntrancesSignpostItem4:
dwb EVENT_UNDERGROUND_PATH_SWITCH_ROOM_ENTRANCES_HIDDEN_MAX_POTION, MAX_POTION
2015-07-10 01:20:21 -07:00
MapUndergroundPathSwitchRoomEntrancesSignpostItem5:
dwb EVENT_UNDERGROUND_PATH_SWITCH_ROOM_ENTRANCES_HIDDEN_REVIVE, REVIVE
2015-07-10 01:20:21 -07:00
MovementData_0x7ce87:
step_down
step_left
step_left
step_left
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x7ce8c:
step_down
step_down
step_left
step_left
step_left
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x7ce92:
step_right
step_right
step_right
step_up
step_end
2015-07-10 01:20:21 -07:00
MovementData_0x7ce97:
step_right
step_right
step_right
step_up
step_up
step_end
2015-07-10 01:20:21 -07:00
UnknownText_0x7ce9d:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x7cf5d:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x7cfc2:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x7d102:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x7d176:
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
2015-07-10 01:20:21 -07:00
UnknownText_0x7d1d0:
text "There are some"
line "shops downstairs…"
para "But there are"
line "also trainers."
para "I'm scared to go"
line "down there."
done
2015-07-10 01:20:21 -07:00
GruntM11SeenText:
text "Open one shutter,"
line "another closes."
para "Bet you can't get"
line "where you want!"
done
2015-07-10 01:20:21 -07:00
GruntM11BeatenText:
text "Drat! I was sunk"
line "by indecision!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7d290:
text "I'm confused too…"
line "The switch on the"
para "end is the one to"
line "press first, but…"
done
2015-07-10 01:20:21 -07:00
GruntM25SeenText:
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
2015-07-10 01:20:21 -07:00
GruntM25BeatenText:
text "Uwww…"
line "I blew it."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7d347:
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
2015-07-10 01:20:21 -07:00
BurglarDuncanSeenText:
text "Fork over your"
line "goodies!"
done
2015-07-10 01:20:21 -07:00
BurglarDuncanBeatenText:
text "Mercy!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7d3cf:
text "Steal and sell!"
line "That's basic in"
cont "crime, kid!"
done
2015-07-10 01:20:21 -07:00
BurglarEddieSeenText:
text "They ditched this"
line "project before"
cont "they finished."
para "I'm searching for"
line "leftover loot."
done
2015-07-10 01:20:21 -07:00
BurglarEddieBeatenText:
text "Over the top!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7d45b:
text "UNDERGROUND WARE-"
line "HOUSE?"
para "What do you want"
line "to go there for?"
para "There's nothing"
line "down there."
done
2015-07-10 01:20:21 -07:00
GruntM13SeenText:
text "I don't care if"
line "you're lost."
para "You show up here,"
line "you're nothing but"
cont "a victim!"
done
2015-07-10 01:20:21 -07:00
GruntM13BeatenText:
text "Urk! Yeah, think"
line "you're cool, huh?"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7d51f:
text "You must have ice"
line "in your veins to"
cont "dis TEAM ROCKET."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7d554:
text "It's labeled"
line "SWITCH 1."
done
2015-07-10 01:20:21 -07:00
GruntF3SeenText:
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
2015-07-10 01:20:21 -07:00
GruntF3BeatenText:
text "How could you?"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7d5e6:
text "Go wherever you'd"
line "like! Get lost!"
cont "See if I care!"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7d617:
text "It's OFF."
line "Turn it ON?"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7d62d:
text "It's ON."
line "Turn it OFF?"
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7d643:
text "It's labeled"
line "SWITCH 2."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7d65a:
text "It's labeled"
line "SWITCH 3."
done
2015-07-10 01:20:21 -07:00
UnknownText_0x7d671:
text "It's labeled"
line "EMERGENCY."
done
2015-07-10 01:20:21 -07:00
UndergroundPathSwitchRoomEntrances_MapEventHeader:
; filler
db 0, 0
.Warps:
db 9
warp_def $3, $17, 6, WAREHOUSE_ENTRANCE
warp_def $a, $16, 1, UNDERGROUND_WAREHOUSE
warp_def $a, $17, 2, UNDERGROUND_WAREHOUSE
warp_def $19, $5, 2, WAREHOUSE_ENTRANCE
warp_def $1d, $4, 14, GOLDENROD_CITY
warp_def $1d, $5, 14, GOLDENROD_CITY
warp_def $19, $15, 1, WAREHOUSE_ENTRANCE
warp_def $1d, $14, 13, GOLDENROD_CITY
warp_def $1d, $15, 13, GOLDENROD_CITY
.XYTriggers:
db 2
xy_trigger 0, $4, $13, $0, UnknownScript_0x7ca80, $0, $0
xy_trigger 0, $5, $13, $0, UnknownScript_0x7caaa, $0, $0
.Signposts:
db 6
signpost 1, 16, SIGNPOST_READ, MapUndergroundPathSwitchRoomEntrancesSignpost0Script
signpost 1, 10, SIGNPOST_READ, MapUndergroundPathSwitchRoomEntrancesSignpost1Script
signpost 1, 2, SIGNPOST_READ, MapUndergroundPathSwitchRoomEntrancesSignpost2Script
signpost 11, 20, SIGNPOST_READ, MapUndergroundPathSwitchRoomEntrancesSignpost3Script
signpost 9, 8, SIGNPOST_ITEM, MapUndergroundPathSwitchRoomEntrancesSignpostItem4
signpost 8, 1, SIGNPOST_ITEM, MapUndergroundPathSwitchRoomEntrancesSignpostItem5
.PersonEvents:
db 11
person_event SPRITE_PHARMACIST, 12, 9, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_TRAINER, 2, TrainerBurglarDuncan, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
person_event SPRITE_PHARMACIST, 8, 4, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_TRAINER, 2, TrainerBurglarEddie, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
person_event SPRITE_ROCKET, 2, 17, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_TRAINER, 3, TrainerGruntM13, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
person_event SPRITE_ROCKET, 2, 11, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_TRAINER, 3, TrainerGruntM11, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
person_event SPRITE_ROCKET, 2, 3, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_TRAINER, 3, TrainerGruntM25, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
person_event SPRITE_ROCKET_GIRL, 12, 19, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_TRAINER, 1, TrainerGruntF3, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
person_event SPRITE_TEACHER, 27, 3, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, TeacherScript_0x7ca7d, -1
person_event SPRITE_SUPER_NERD, 27, 19, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, SuperNerdScript_0x7ca7a, -1
person_event SPRITE_POKE_BALL, 12, 1, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMFRAGMENT, 0, ItemFragment_0x7ce7d, EVENT_UNDERGROUND_PATH_SWITCH_ROOM_ENTRANCES_SMOKE_BALL
person_event SPRITE_POKE_BALL, 9, 14, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMFRAGMENT, 0, ItemFragment_0x7ce7f, EVENT_UNDERGROUND_PATH_SWITCH_ROOM_ENTRANCES_FULL_HEAL
person_event SPRITE_SILVER, 3, 23, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, ObjectEvent, EVENT_RIVAL_UNDERGROUND_PATH