mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-08-15 22:04:57 -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
47 lines
757 B
ArmAsm
47 lines
757 B
ArmAsm
#include "macros/scrcmd.inc"
|
|
|
|
.data
|
|
|
|
ScriptEntry _007B
|
|
ScriptEntry _0092
|
|
ScriptEntry _0012
|
|
ScriptEntry _0047
|
|
ScriptEntryEnd
|
|
|
|
_0012:
|
|
CallIfNe VAR_UNK_0x406B, 0x122, _003F
|
|
CheckPartyHasFatefulEncounterRegigigas VAR_MAP_LOCAL_1
|
|
GoToIfEq VAR_MAP_LOCAL_1, 0, _0067
|
|
GoToIfEq VAR_MAP_LOCAL_1, 1, _0071
|
|
End
|
|
|
|
_003F:
|
|
SetVar VAR_UNK_0x406B, 0
|
|
Return
|
|
|
|
_0047:
|
|
CheckPartyHasFatefulEncounterRegigigas VAR_MAP_LOCAL_1
|
|
GoToIfEq VAR_MAP_LOCAL_1, 0, _0067
|
|
GoToIfEq VAR_MAP_LOCAL_1, 1, _0071
|
|
End
|
|
|
|
_0067:
|
|
SetWarpEventPos 5, 0x30F, 0x153
|
|
End
|
|
|
|
_0071:
|
|
SetWarpEventPos 4, 0x30F, 0x153
|
|
End
|
|
|
|
_007B:
|
|
ShowArrowSign 0
|
|
End
|
|
|
|
_0092:
|
|
ShowArrowSign 1
|
|
End
|
|
|
|
.byte 0
|
|
.byte 0
|
|
.byte 0
|