mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-08-16 06:09:46 -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
116 lines
1.7 KiB
ArmAsm
116 lines
1.7 KiB
ArmAsm
#include "macros/scrcmd.inc"
|
|
#include "res/text/bank/galactic_hq_2f.h"
|
|
|
|
.data
|
|
|
|
ScriptEntry _001E
|
|
ScriptEntry _007A
|
|
ScriptEntry _008B
|
|
ScriptEntry _009C
|
|
ScriptEntry _00AD
|
|
ScriptEntry _00CF
|
|
ScriptEntry _00BE
|
|
ScriptEntryEnd
|
|
|
|
_001E:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
Message 0
|
|
ShowYesNoMenu VAR_RESULT
|
|
GoToIfEq VAR_RESULT, MENU_YES, _003E
|
|
GoTo _0074
|
|
|
|
_003E:
|
|
BufferPlayerName 0
|
|
Message 1
|
|
CloseMessage
|
|
FadeScreen 6, 1, 0, 0
|
|
WaitFadeScreen
|
|
PlaySound SEQ_ASA
|
|
WaitSound
|
|
HealParty
|
|
FadeScreen 6, 1, 1, 0
|
|
WaitFadeScreen
|
|
BufferPlayerName 0
|
|
Message 2
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_0074:
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_007A:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
Message 7
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_008B:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
Message 8
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_009C:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
Message 9
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_00AD:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
Message 10
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_00BE:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
Message 11
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|
|
|
|
_00CF:
|
|
PlayFanfare SEQ_SE_CONFIRM
|
|
LockAll
|
|
FacePlayer
|
|
Message 3
|
|
ShowYesNoMenu VAR_RESULT
|
|
GoToIfEq VAR_RESULT, MENU_NO, _010A
|
|
Message 5
|
|
ShowYesNoMenu VAR_RESULT
|
|
GoToIfEq VAR_RESULT, MENU_NO, _010A
|
|
Message 6
|
|
GoTo _010A
|
|
End
|
|
|
|
_010A:
|
|
BufferPlayerName 0
|
|
Message 4
|
|
GoTo _0118
|
|
End
|
|
|
|
_0118:
|
|
WaitABXPadPress
|
|
CloseMessage
|
|
ReleaseAll
|
|
End
|