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
45 lines
641 B
ArmAsm
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
|