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
@@ -1,7 +1,7 @@
@ Intro Assembly Player gets Sword
SCRIPT_START script_PlayerGetSword
SetInventoryValue 0x0001, 0x0001
CallWithArg PutItemAnySlot, 0x00000001
SetInventoryValue ITEM_SMITH_SWORD, 0x0001
CallWithArg PutItemAnySlot, ITEM_SMITH_SWORD
PlaySound SFX_ITEM_GET
CallWithArg SetPlayerAnimation2, 0x0000045f
Call WaitForPlayerAnim
@@ -46,7 +46,7 @@ script_08015880:
JumpIfNot script_08015880
script_08015888:
WaitUntilTextboxCloses
ComparePlayerAction 0x001c
ComparePlayerAction PLAYER_SLEEP
JumpIf script_08015888
SetPlayerIdle
Call sub_0807DF28