mirror of
https://github.com/zeldaret/tmc
synced 2026-09-10 20:19:43 -04:00
More enum use in scripts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user