2015-07-10 01:45:35 -07:00
|
|
|
BattleTowerBattleRoom_MapScriptHeader:
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
|
|
|
|
|
|
|
; triggers
|
|
|
|
dw UnknownScript_0x9f419, $0000
|
|
|
|
dw UnknownScript_0x9f420, $0000
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapCallbacks:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x9f419:
|
2013-02-16 22:54:07 -08:00
|
|
|
disappear $2
|
|
|
|
priorityjump UnknownScript_0x9f421
|
|
|
|
dotrigger $1
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x9f420:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x9f421:
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, MovementData_0x9e58c
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x9f425:
|
2013-02-16 22:54:07 -08:00
|
|
|
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
|
2015-07-20 00:51:52 -07:00
|
|
|
special FadeBlackBGMap
|
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
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, MovementData_0x9e5a7
|
2013-02-16 22:54:07 -08:00
|
|
|
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-07-20 00:51:52 -07:00
|
|
|
special FadeBlackBGMap
|
|
|
|
special LoadMapPalettes
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 60
|
2015-07-20 00:51:52 -07:00
|
|
|
special FadeInBGMap
|
2015-02-11 15:03:42 -08:00
|
|
|
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
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x9f477:
|
2013-02-16 22:54:07 -08:00
|
|
|
loadmovesprites
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, MovementData_0x9e5a9
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $3, MovementData_0x9e5a1
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x9f425
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_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-07-20 00:51:52 -07:00
|
|
|
special FadeBlackBGMap
|
2015-02-11 15:03:42 -08:00
|
|
|
special Reset
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_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-07-20 00:51:52 -07:00
|
|
|
special FadeBlackBGMap
|
2015-07-23 09:59:19 -07:00
|
|
|
warpfacing $1, BATTLE_TOWER_1F, $7, $7
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x9e4b0
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x9f4c2:
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 60
|
2015-07-20 15:59:26 -07:00
|
|
|
special Special_BattleTowerFade
|
2015-07-23 09:59:19 -07:00
|
|
|
warpfacing $1, BATTLE_TOWER_1F, $7, $7
|
2013-02-16 22:54:07 -08:00
|
|
|
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
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x9f4d9:
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 60
|
2015-07-20 15:59:26 -07:00
|
|
|
special Special_BattleTowerFade
|
2015-07-23 09:59:19 -07:00
|
|
|
warpfacing $1, BATTLE_TOWER_1F, $7, $7
|
2015-07-10 01:45:35 -07:00
|
|
|
BattleTowerBattleRoomScript_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
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x9f4eb:
|
2013-02-16 22:54:07 -08:00
|
|
|
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
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x9f4f7:
|
2013-02-16 22:54:07 -08:00
|
|
|
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
|
|
|
|
|
2013-05-01 10:29:45 -07:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_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
|
|
|
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
BattleTowerBattleRoom_MapEventHeader:
|
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 2
|
2015-07-23 09:59:19 -07:00
|
|
|
warp_def $7, $3, 4, BATTLE_TOWER_HALLWAY
|
|
|
|
warp_def $7, $4, 4, BATTLE_TOWER_HALLWAY
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.XYTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Signposts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.PersonEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2015-07-31 12:02:32 -07:00
|
|
|
person_event SPRITE_YOUNGSTER, 4, 8, $6, 0, 0, -1, -1, 0, 0, 0, ObjectEvent, EVENT_BATTLE_TOWER_BATTLE_ROOM_YOUNGSTER
|
|
|
|
person_event SPRITE_RECEPTIONIST, 10, 5, $9, 0, 0, -1, -1, 0, 0, 0, ObjectEvent, -1
|