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
@@ -4,7 +4,7 @@ SCRIPT_START script_EzloTalkOcarina
SetPlayerIdle
Call WaitForPlayerNormalOrTalkEzlo
Call sub_0807DF28
EzloMessage 0x0b5f
EzloMessage TEXT_EZLO, 0x5f
WaitUntilTextboxCloses
Call sub_0807DF50
EnablePlayerControl
@@ -17,7 +17,7 @@ script_08012368:
EndBlock
WaitForFadeFinish
PlayBgm BGM_ELEMENTAL_SANCTUARY
EzloMessage 0x1401
EzloMessage TEXT_GUSTAF, 0x01
WaitUntilTextboxCloses
SetAnimationState 0x0004
DoPostScriptAction 0x0000
@@ -28,7 +28,7 @@ script_08012368:
_0807E8E4_0
StartPlayerScript script_PlayerAfterToD
WaitForSyncFlagAndClear 0x00000001
MessageNoOverlap 0x1402
MessageNoOverlap TEXT_GUSTAF, 0x02
WaitUntilTextboxCloses
StopBgm
SetEntityVelocity 0x00010000
@@ -41,7 +41,7 @@ script_08012368:
EndBlock
WaitForFadeFinish
PlayBGM
EzloMessage 0x1403
EzloMessage TEXT_GUSTAF, 0x03
WaitUntilTextboxCloses
SetIntVariable 0x00000203
Call LoadMenu
@@ -9,9 +9,9 @@ script_0800AFB2:
JumpIfNot script_0800AFB2
EndBlock
Call sub_0807DF28
EzloMessage 0x1c04
EzloMessage TEXT_EZLO_ELEMENTS_DONE, 0x04
WaitUntilTextboxCloses
SetLocalFlagByBank 0x0100, 0x0004
SetLocalFlagByBank FLAG_BANK_1, 0x0004
Call sub_0807DF50
EnablePlayerControl
DoPostScriptAction 0x0006