pokeplatinum/res/field/scripts/scripts_route_214.s
2024-07-16 12:01:40 -07:00

55 lines
899 B
ArmAsm

#include "macros/scrcmd.inc"
.data
ScriptEntry _00A2
ScriptEntry _00B9
ScriptEntry _0075
ScriptEntry _0012
.short 0xFD13
_0012:
ScrCmd_284 0x4000
GoToIfGe 0x4000, 26, _003F
GoToIfGe 0x4000, 10, _0051
GoToIfLt 0x4000, 10, _0063
End
_003F:
ScrCmd_18A 2, 0x2C6, 0x29E
ScrCmd_18A 3, 0x2C6, 0x29E
End
_0051:
ScrCmd_18A 2, 0x2C6, 0x29E
ScrCmd_18A 4, 0x2C6, 0x29E
End
_0063:
ScrCmd_18A 3, 0x2C6, 0x29E
ScrCmd_18A 4, 0x2C6, 0x29E
End
_0075:
ScrCmd_284 0x4000
GoToIfGe 0x4000, 26, _003F
GoToIfGe 0x4000, 10, _0051
GoToIfLt 0x4000, 10, _0063
End
_00A2:
ScrCmd_036 0, 1, 0, 0x800C
ScrCmd_038 3
ScrCmd_039
ScrCmd_03B 0x800C
CallCommonScript 0x7D0
End
_00B9:
ScrCmd_036 1, 1, 0, 0x800C
ScrCmd_038 3
ScrCmd_039
ScrCmd_03B 0x800C
CallCommonScript 0x7D0
End