mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-04-14 00:57:00 -05:00
216 lines
3.1 KiB
ArmAsm
216 lines
3.1 KiB
ArmAsm
#include "macros/scrcmd.inc"
|
|
|
|
.data
|
|
|
|
ScriptEntry _0107
|
|
ScriptEntry _003A
|
|
ScriptEntry _004D
|
|
ScriptEntry _0060
|
|
ScriptEntry _0073
|
|
ScriptEntry _0086
|
|
ScriptEntry _0099
|
|
ScriptEntry _00AC
|
|
ScriptEntry _00BF
|
|
ScriptEntry _00D2
|
|
ScriptEntry _00E5
|
|
ScriptEntry _00F6
|
|
ScriptEntry _0109
|
|
ScriptEntry _0193
|
|
.short 0xFD13
|
|
|
|
_003A:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
FacePlayer
|
|
Message 0
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_004D:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
FacePlayer
|
|
Message 1
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_0060:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
FacePlayer
|
|
Message 2
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_0073:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
FacePlayer
|
|
Message 3
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_0086:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
FacePlayer
|
|
Message 4
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_0099:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
FacePlayer
|
|
Message 5
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_00AC:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
FacePlayer
|
|
Message 6
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_00BF:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
FacePlayer
|
|
Message 7
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_00D2:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
FacePlayer
|
|
Message 8
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_00E5:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
Message 9
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_00F6:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
Message 10
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_0107:
|
|
End
|
|
|
|
_0109:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
SetVar 0x8005, 6
|
|
GoTo _011D
|
|
End
|
|
|
|
_011D:
|
|
Message 13
|
|
ScrCmd_041 31, 11, 0, 1, 0x800C
|
|
ScrCmd_33A 1
|
|
ScrCmd_042 15, 0
|
|
ScrCmd_042 16, 1
|
|
ScrCmd_042 17, 2
|
|
ScrCmd_043
|
|
SetVar 0x8008, 0x800C
|
|
GoToIfEq 0x8008, 0, _0167
|
|
GoToIfEq 0x8008, 1, _0188
|
|
GoTo _0161
|
|
End
|
|
|
|
_0161:
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_0167:
|
|
CallCommonScript 0x7D6
|
|
SetVar 0x800C, 0x4000
|
|
GoToIfEq 0x800C, 0, _0161
|
|
CloseMessage
|
|
CallCommonScript 0x802
|
|
ReleaseAll
|
|
End
|
|
|
|
_0188:
|
|
Message 14
|
|
GoTo _011D
|
|
End
|
|
|
|
_0193:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
SetVar 0x8005, 5
|
|
GoTo _01A7
|
|
End
|
|
|
|
_01A7:
|
|
Message 11
|
|
ScrCmd_041 31, 11, 0, 1, 0x800C
|
|
ScrCmd_33A 1
|
|
ScrCmd_042 15, 0
|
|
ScrCmd_042 16, 1
|
|
ScrCmd_042 17, 2
|
|
ScrCmd_043
|
|
SetVar 0x8008, 0x800C
|
|
GoToIfEq 0x8008, 0, _01F1
|
|
GoToIfEq 0x8008, 1, _0212
|
|
GoTo _01EB
|
|
End
|
|
|
|
_01EB:
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_01F1:
|
|
CallCommonScript 0x7D6
|
|
SetVar 0x800C, 0x4000
|
|
GoToIfEq 0x800C, 0, _01EB
|
|
CloseMessage
|
|
CallCommonScript 0x802
|
|
ReleaseAll
|
|
End
|
|
|
|
_0212:
|
|
Message 12
|
|
GoTo _01A7
|
|
|
|
.byte 2
|
|
.byte 0
|
|
.byte 0
|
|
.byte 0
|
|
.byte 0
|