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
@@ -2,9 +2,9 @@
SCRIPT_START script_EzloTalkFoW
SetPlayerIdle
Call sub_0807DF28
EzloMessage 0x1c03
EzloMessage TEXT_EZLO_ELEMENTS_DONE, 0x03
WaitUntilTextboxCloses
SetLocalFlagByBank 0x0100, 0x0003
SetLocalFlagByBank FLAG_BANK_1, 0x0003
Call sub_0807DF50
EnablePlayerControl
DoPostScriptAction 0x0006
@@ -2,16 +2,16 @@
SCRIPT_START script_Npc4EReceiveOcarina
BeginBlock
DoPostScriptAction 0x0008
CheckInventory1 0x0017
CheckInventory1 ITEM_OCARINA
JumpIf script_0800D924
EndBlock
script_0800D8F4:
CheckInventory1 0x0017
CheckInventory1 ITEM_OCARINA
JumpIfNot script_0800D8F4
Call sub_0807DF28
SetPlayerIdle
WaitPlayerGetItem
EzloMessage 0x1325
EzloMessage TEXT_VAATI, 0x25
WaitUntilTextboxCloses
PlaySound SFX_113
SetIntVariable 0x00000000
@@ -17,9 +17,9 @@ script_0800D88E:
WaitForSyncFlagAndClear 0x00000001
script_0800D8B0:
_0807E8E4_0
MessageNoOverlap 0x1324
MessageNoOverlap TEXT_VAATI, 0x24
WaitUntilTextboxCloses
CheckInventory1 0x0017
CheckInventory1 ITEM_OCARINA
JumpIf script_0800D8D6
CheckLocalFlag 0x0045
JumpIf script_0800D8D6