More enum use in scripts

This commit is contained in:
Tal Hayon
2022-05-15 21:20:25 +03:00
parent 33e8152e60
commit aceb014a82
29 changed files with 46 additions and 46 deletions
@@ -9,11 +9,11 @@ SCRIPT_START script_DampeInside
WaitUntilTextboxCloses
JumpIfNot script_08009622
PlaySound SFX_ITEM_GET
InitItemGetSequence 0x003c
InitItemGetSequence ITEM_QST_GRAVEYARD_KEY
MessageFromTarget TEXT_ITEM_GET, 0x3c
WaitPlayerGetItem
WaitUntilTextboxCloses
SetInventoryValue 0x003c, 0x0001
SetInventoryValue ITEM_QST_GRAVEYARD_KEY, 0x0001
script_08009622:
EnablePlayerControl
DoPostScriptAction 0x0000
@@ -28,7 +28,7 @@ script_08009660:
JumpIfNot script_0800968E
PlaySound SFX_111
PlaySound SFX_SECRET
SetInventoryValue 0x003c, 0x0002
SetInventoryValue ITEM_QST_GRAVEYARD_KEY, 0x0002
Call sub_0806BEFC
script_0800968E:
EnablePlayerControl