Use enums across more scripts and files

This commit is contained in:
Tal Hayon
2022-05-14 20:51:30 +03:00
parent 422fb8ed14
commit 968e200c78
259 changed files with 876 additions and 1318 deletions
@@ -7,21 +7,9 @@ SCRIPT_START script_Object69SanctuaryEntrance
Call sub_0807DF28
StartPlayerScript script_PlayerAtSanctuaryEntrance
WaitForSyncFlagAndClear 0x00000001
EzloMessage 0x132d
EzloMessage TEXT_VAATI, 0x2d
WaitUntilTextboxCloses
.ifdef JP
SetLocalFlag 0x0015
.else
.ifdef EU
SetLocalFlag 0x0015
.else
.ifdef DEMO_JP
SetLocalFlag 0x0015 @ TODO deduplicate
.else
SetLocalFlag 0x0014
.endif
.endif
.endif
SetLocalFlag NAKANIWA_00_EZERO
Call sub_0807DF50
EnablePlayerControl
DoPostScriptAction 0x0006
@@ -12,7 +12,7 @@ script_080092BA:
JumpIfNot script_080092BA
SetPlayerIdle
FacePlayer
MessageNoOverlap 0x105e
MessageNoOverlap TEXT_PROLOGUE, 0x5e
WaitUntilTextboxCloses
Wait 0x000f
EnablePlayerControl
@@ -10,7 +10,7 @@ script_08009300:
JumpIfNot script_08009300
SetPlayerIdle
FacePlayer
MessageNoOverlap 0x1071
MessageNoOverlap TEXT_PROLOGUE, 0x71
WaitUntilTextboxCloses
EnablePlayerControl
Jump script_08009300