mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-04-07 10:04:56 -05:00
116 lines
1.8 KiB
ArmAsm
116 lines
1.8 KiB
ArmAsm
#include "macros/scrcmd.inc"
|
|
|
|
.data
|
|
|
|
ScriptEntry _00D7
|
|
ScriptEntry _007D
|
|
ScriptEntry _00EA
|
|
ScriptEntry _0101
|
|
ScriptEntry _0118
|
|
ScriptEntry _012F
|
|
ScriptEntry _0146
|
|
ScriptEntry _0022
|
|
.short 0xFD13
|
|
|
|
_0022:
|
|
GetTimeOfDay 0x4000
|
|
GoToIfEq 0x4000, 0, _0069
|
|
GoToIfEq 0x4000, 1, _0069
|
|
GoToIfEq 0x4000, 2, _0069
|
|
GoToIfEq 0x4000, 3, _0073
|
|
GoToIfEq 0x4000, 4, _0073
|
|
End
|
|
|
|
_0069:
|
|
ClearFlag 0x26A
|
|
SetFlag 0x26B
|
|
End
|
|
|
|
_0073:
|
|
ClearFlag 0x26B
|
|
SetFlag 0x26A
|
|
End
|
|
|
|
_007D:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
FacePlayer
|
|
GoToIfSet 206, _00C2
|
|
Message 0
|
|
SetVar 0x8004, 0x17F
|
|
SetVar 0x8005, 1
|
|
ScrCmd_07D 0x8004, 0x8005, 0x800C
|
|
GoToIfEq 0x800C, 0, _00CD
|
|
CallCommonScript 0x7FC
|
|
SetFlag 206
|
|
GoTo _00C2
|
|
|
|
_00C2:
|
|
Message 1
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_00CD:
|
|
CallCommonScript 0x7E1
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_00D7:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
FacePlayer
|
|
Message 2
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_00EA:
|
|
ScrCmd_036 4, 1, 0, 0x800C
|
|
ScrCmd_038 3
|
|
ScrCmd_039
|
|
ScrCmd_03B 0x800C
|
|
CallCommonScript 0x7D0
|
|
End
|
|
|
|
_0101:
|
|
ScrCmd_036 5, 1, 0, 0x800C
|
|
ScrCmd_038 3
|
|
ScrCmd_039
|
|
ScrCmd_03B 0x800C
|
|
CallCommonScript 0x7D0
|
|
End
|
|
|
|
_0118:
|
|
ScrCmd_036 6, 2, 0, 0x800C
|
|
ScrCmd_038 3
|
|
ScrCmd_039
|
|
ScrCmd_03B 0x800C
|
|
CallCommonScript 0x7D0
|
|
End
|
|
|
|
_012F:
|
|
ScrCmd_036 7, 2, 0, 0x800C
|
|
ScrCmd_038 3
|
|
ScrCmd_039
|
|
ScrCmd_03B 0x800C
|
|
CallCommonScript 0x7D0
|
|
End
|
|
|
|
_0146:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
FacePlayer
|
|
Message 3
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
.byte 0
|
|
.byte 0
|
|
.byte 0
|