2013-02-16 22:54:07 -08:00
|
|
|
BattleTowerBattleRoom_MapScriptHeader: ; 0x9f40f
|
|
|
|
; trigger count
|
|
|
|
db 2
|
|
|
|
|
|
|
|
; triggers
|
|
|
|
dw UnknownScript_0x9f419, $0000
|
|
|
|
dw UnknownScript_0x9f420, $0000
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 0
|
|
|
|
; 0x9f419
|
|
|
|
|
|
|
|
UnknownScript_0x9f419: ; 0x9f419
|
|
|
|
disappear $2
|
|
|
|
priorityjump UnknownScript_0x9f421
|
|
|
|
dotrigger $1
|
|
|
|
; 0x9f420
|
|
|
|
|
|
|
|
UnknownScript_0x9f420: ; 0x9f420
|
|
|
|
end
|
|
|
|
; 0x9f421
|
|
|
|
|
|
|
|
UnknownScript_0x9f421: ; 0x9f421
|
|
|
|
applymovement $0, MovementData_0x9e58c
|
|
|
|
UnknownScript_0x9f425: ; 0x9f425
|
|
|
|
writebyte $2
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function170b44
|
2013-02-16 22:54:07 -08:00
|
|
|
appear $2
|
|
|
|
warpsound
|
|
|
|
waitbutton
|
|
|
|
applymovement $2, MovementData_0x9e592
|
|
|
|
loadfont
|
2013-12-02 11:18:03 -08:00
|
|
|
storetext 1
|
|
|
|
keeptextopen
|
|
|
|
loadmovesprites
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function170215
|
|
|
|
special Function8c084
|
2013-12-02 11:18:03 -08:00
|
|
|
reloadmap
|
2013-02-16 22:54:07 -08:00
|
|
|
if_not_equal $0, UnknownScript_0x9f4c2
|
2015-02-10 15:37:24 -08:00
|
|
|
copybytetovar wcf64
|
2013-02-16 22:54:07 -08:00
|
|
|
if_equal $7, UnknownScript_0x9f4d9
|
|
|
|
applymovement $2, MovementData_0x9e597
|
|
|
|
warpsound
|
|
|
|
disappear $2
|
|
|
|
applymovement $3, MovementData_0x9e59c
|
|
|
|
applymovement $0, MovementData_0x9e5a7
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x9ee92
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_HEAL
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function8c084
|
|
|
|
special Function1047eb
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 60
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function8c079
|
|
|
|
special RestartMapMusic
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x9eebc
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
|
|
|
iffalse UnknownScript_0x9f483
|
|
|
|
UnknownScript_0x9f477: ; 0x9f477
|
|
|
|
loadmovesprites
|
|
|
|
applymovement $0, MovementData_0x9e5a9
|
|
|
|
applymovement $3, MovementData_0x9e5a1
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x9f425
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x9f483
|
|
|
|
|
|
|
|
UnknownScript_0x9f483: ; 0x9f483
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x9ef5e
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
|
|
|
iffalse UnknownScript_0x9f4a3
|
|
|
|
writebyte $7
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function170687
|
2013-02-16 22:54:07 -08:00
|
|
|
writebyte $1f
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function170687
|
2013-02-16 22:54:07 -08:00
|
|
|
writebyte $3
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function170687
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_SAVE
|
2013-02-16 22:54:07 -08:00
|
|
|
waitbutton
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function8c084
|
|
|
|
special Reset
|
2013-02-16 22:54:07 -08:00
|
|
|
UnknownScript_0x9f4a3: ; 0x9f4a3
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x9efbf
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
|
|
|
iffalse UnknownScript_0x9f477
|
|
|
|
writebyte $4
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function170687
|
2013-02-16 22:54:07 -08:00
|
|
|
writebyte $6
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function170687
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function8c084
|
2013-02-16 22:54:07 -08:00
|
|
|
warpfacing $1, GROUP_BATTLE_TOWER_1F, MAP_BATTLE_TOWER_1F, $7, $7
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x9e4b0
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x9f4c2
|
|
|
|
|
|
|
|
UnknownScript_0x9f4c2: ; 0x9f4c2
|
|
|
|
pause 60
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function8c092
|
2013-02-16 22:54:07 -08:00
|
|
|
warpfacing $1, GROUP_BATTLE_TOWER_1F, MAP_BATTLE_TOWER_1F, $7, $7
|
|
|
|
writebyte $4
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function170687
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x9ea49
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x9f4d9
|
|
|
|
|
|
|
|
UnknownScript_0x9f4d9: ; 0x9f4d9
|
|
|
|
pause 60
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function8c092
|
2013-02-16 22:54:07 -08:00
|
|
|
warpfacing $1, GROUP_BATTLE_TOWER_1F, MAP_BATTLE_TOWER_1F, $7, $7
|
2013-05-01 10:29:45 -07:00
|
|
|
BattleTowerBattleRoomScript_0x9f4e4: ; 0x9f4e4
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x9eaef
|
|
|
|
jump UnknownScript_0x9e47a
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x9f4eb
|
|
|
|
|
|
|
|
UnknownScript_0x9f4eb: ; 0x9f4eb
|
|
|
|
writebyte $4
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function170687
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x9f0c1
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x9f4f7
|
|
|
|
|
|
|
|
UnknownScript_0x9f4f7: ; 0x9f4f7
|
|
|
|
writebyte $4
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function170687
|
2013-02-16 22:54:07 -08:00
|
|
|
writebyte $6
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function170687
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x9ea49
|
|
|
|
writetext UnknownText_0x9ec09
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x9f50b
|
|
|
|
|
2013-05-01 10:29:45 -07:00
|
|
|
|
|
|
|
UnknownText_0x9f50b: ; 0x9f50b
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You'll be returned"
|
|
|
|
line "after you SAVE."
|
|
|
|
done
|
2013-05-01 10:29:45 -07:00
|
|
|
; 0x9f52e
|
|
|
|
|
2013-02-16 22:54:07 -08:00
|
|
|
|
|
|
|
BattleTowerBattleRoom_MapEventHeader: ; 0x9f52e
|
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 2
|
|
|
|
warp_def $7, $3, 4, GROUP_BATTLE_TOWER_HALLWAY, MAP_BATTLE_TOWER_HALLWAY
|
|
|
|
warp_def $7, $4, 4, GROUP_BATTLE_TOWER_HALLWAY, MAP_BATTLE_TOWER_HALLWAY
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 2
|
2013-07-12 14:06:11 -07:00
|
|
|
person_event SPRITE_YOUNGSTER, 4, 8, $6, $0, 255, 255, $0, 0, ObjectEvent, $0791
|
|
|
|
person_event SPRITE_RECEPTIONIST, 10, 5, $9, $0, 255, 255, $0, 0, ObjectEvent, $ffff
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x9f558
|