Files
pokeplatinum/res/field/scripts/scripts_unk_0000.s
Eduardo Quezada 6ef937a8eb Define and use Var constants (#474)
* 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
2025-04-20 17:38:03 -07:00

45 lines
641 B
ArmAsm

#include "macros/scrcmd.inc"
#include "res/text/bank/unk_0011.h"
.data
ScriptEntry _000E
ScriptEntry _0021
ScriptEntry _0046
ScriptEntryEnd
_000E:
PlayFanfare SEQ_SE_CONFIRM
LockAll
FacePlayer
Message 0
WaitABXPadPress
CloseMessage
ReleaseAll
End
_0021:
LockAll
Message 9
ShowYesNoMenu VAR_RESULT
GoToIfEq VAR_RESULT, MENU_YES, _0046
GoToIfEq VAR_RESULT, MENU_NO, _0059
End
_0046:
ScrCmd_0A2
Message 12
ScrCmd_135 94
CloseMessage
ScrCmd_2BB
ScrCmd_204
ReleaseAll
End
_0059:
CloseMessage
ReleaseAll
End
.byte 0