Use enums for GivePlayerItem and SoundReq in scripts

This commit is contained in:
Tal Hayon
2022-05-15 08:45:38 +03:00
parent 4543cd8297
commit 33e8152e60
23 changed files with 30 additions and 30 deletions
+6 -6
View File
@@ -63,16 +63,16 @@ SCRIPT_START script_08016482
DoPostScriptAction2 0x0001
PlaySound SFX_METAL_CLINK
PlayBgm BGM_MINISH_WOODS
SoundReq 0x00000074
SoundReq SFX_METAL_CLINK
StopBgm
ModRupees 0xff38
ModRupees -200
ModHealth 0x0010
IncreaseMaxHealth
GiveKinstone 0x0001
GivePlayerItem 0x0001
GetInventoryValue 0x0001
SetInventoryValue 0x0001, 0x0002
InitItemGetSequence 0x0001
GivePlayerItem ITEM_SMITH_SWORD
GetInventoryValue ITEM_SMITH_SWORD
SetInventoryValue ITEM_SMITH_SWORD, 0x0002
InitItemGetSequence ITEM_SMITH_SWORD
CameraTargetEntity
CameraTargetPlayer
_0807F0B4 0x0007