2015-07-10 08:45:35 +00:00
|
|
|
BattleTowerHallway_MapScriptHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; trigger count
|
|
|
|
db 2
|
|
|
|
|
|
|
|
; triggers
|
|
|
|
dw UnknownScript_0x9f5bb, $0000
|
|
|
|
dw UnknownScript_0x9f5c0, $0000
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 0
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x9f5bb:
|
2013-02-17 06:54:07 +00:00
|
|
|
priorityjump UnknownScript_0x9f5c1
|
|
|
|
dotrigger $1
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x9f5c0:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x9f5c1:
|
2013-02-17 06:54:07 +00:00
|
|
|
follow $2, $0
|
2015-01-20 08:01:23 +00:00
|
|
|
callasm Function_0x9f5cb
|
|
|
|
jump UnknownScript_0x9f5dc
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2013-05-01 17:29:45 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
Function_0x9f5cb:
|
2013-05-01 17:29:45 +00:00
|
|
|
ld a, [rSVBK]
|
|
|
|
push af
|
|
|
|
|
|
|
|
ld a, 3
|
|
|
|
ld [rSVBK], a
|
2015-02-10 23:37:24 +00:00
|
|
|
ld a, [w3_d800]
|
2013-05-01 17:29:45 +00:00
|
|
|
ld [ScriptVar], a
|
|
|
|
|
|
|
|
pop af
|
|
|
|
ld [rSVBK], a
|
|
|
|
ret
|
|
|
|
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x9f5dc:
|
2013-02-17 06:54:07 +00:00
|
|
|
if_equal $3, UnknownScript_0x9f603
|
|
|
|
if_equal $4, UnknownScript_0x9f603
|
|
|
|
if_equal $5, UnknownScript_0x9f60a
|
|
|
|
if_equal $6, UnknownScript_0x9f60a
|
|
|
|
if_equal $7, UnknownScript_0x9f611
|
|
|
|
if_equal $8, UnknownScript_0x9f611
|
|
|
|
if_equal $9, UnknownScript_0x9f618
|
|
|
|
if_equal $a, UnknownScript_0x9f618
|
|
|
|
applymovement $2, MovementData_0x9e57a
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x9f61f
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x9f603:
|
2014-04-30 09:40:22 +00:00
|
|
|
applymovement $2, MovementData_0x9e57c
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x9f61f
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x9f60a:
|
2014-04-30 09:40:22 +00:00
|
|
|
applymovement $2, MovementData_0x9e586
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x9f61f
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x9f611:
|
2014-04-30 09:40:22 +00:00
|
|
|
applymovement $2, MovementData_0x9e584
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x9f61f
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x9f618:
|
2013-02-17 06:54:07 +00:00
|
|
|
applymovement $2, MovementData_0x9e582
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x9f61f
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x9f61f:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceperson $0, $2
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x9ec26
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
stopfollow
|
2014-04-30 09:40:22 +00:00
|
|
|
applymovement $0, MovementData_0x9e576
|
2013-02-17 06:54:07 +00:00
|
|
|
warpcheck
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
BattleTowerHallway_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 6
|
|
|
|
warp_def $1, $b, 1, GROUP_BATTLE_TOWER_ELEVATOR, MAP_BATTLE_TOWER_ELEVATOR
|
|
|
|
warp_def $0, $5, 1, GROUP_BATTLE_TOWER_BATTLE_ROOM, MAP_BATTLE_TOWER_BATTLE_ROOM
|
|
|
|
warp_def $0, $7, 1, GROUP_BATTLE_TOWER_BATTLE_ROOM, MAP_BATTLE_TOWER_BATTLE_ROOM
|
|
|
|
warp_def $0, $9, 1, GROUP_BATTLE_TOWER_BATTLE_ROOM, MAP_BATTLE_TOWER_BATTLE_ROOM
|
|
|
|
warp_def $0, $d, 1, GROUP_BATTLE_TOWER_BATTLE_ROOM, MAP_BATTLE_TOWER_BATTLE_ROOM
|
|
|
|
warp_def $0, $f, 1, GROUP_BATTLE_TOWER_BATTLE_ROOM, MAP_BATTLE_TOWER_BATTLE_ROOM
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 1
|
2015-07-19 08:58:31 +00:00
|
|
|
person_event SPRITE_RECEPTIONIST, 6, 15, OW_UP | $2, $0, -1, -1, $0, 0, BattleTowerHallway_MapEventHeader, -1
|