mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-08-15 13:54:02 -05:00
* Missing uses of defined vars * Vars 0x4000 to 0x402F with Var macros * Vars 0x4000 to 0x402F with other macros ^ Conflicts: ^ res/field/scripts/scripts_amity_square.s ^ res/field/scripts/scripts_veilstone_city_southwest_house.s * Other vars * Special Flags * Unk vars * NUM_VARS * `SPECIAL_VARS_START` -> `SCRIPT_LOCAL_VARS_START` * `VAR_0x800C` -> `VAR_RESULT` * `VAR_0x800D` -> `VAR_LAST_TALKED` * Format * VAR_MAP_LOCAL * VAR_OBJ_GFX_ID * STORY_VARS
40 lines
566 B
ArmAsm
40 lines
566 B
ArmAsm
#include "macros/scrcmd.inc"
|
|
#include "res/text/bank/unk_0539.h"
|
|
|
|
.data
|
|
|
|
ScriptEntry _0006
|
|
ScriptEntryEnd
|
|
|
|
_0006:
|
|
SetVar VAR_RESULT, 0
|
|
ScrCmd_20A VAR_RESULT
|
|
SetVar VAR_0x8008, VAR_RESULT
|
|
GoToIfEq VAR_0x8008, 0, _0043
|
|
GoToIfEq VAR_0x8008, 1, _0047
|
|
GoToIfEq VAR_0x8008, 2, _0050
|
|
GoTo _0059
|
|
|
|
_0043:
|
|
ReleaseAll
|
|
End
|
|
|
|
_0047:
|
|
Message 0
|
|
GoTo _0068
|
|
|
|
_0050:
|
|
Message 1
|
|
GoTo _0068
|
|
|
|
_0059:
|
|
WaitTime 30, VAR_RESULT
|
|
Message 2
|
|
GoTo _0068
|
|
|
|
_0068:
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|