summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2023-11-07 14:11:59 -0500
committerGitHub <noreply@github.com>2023-11-07 14:11:59 -0500
commit836adb83ea1ea20fa8f53f83ee5cda304b94ab29 (patch)
tree797fa5d282a0611707a3a8ed9b80795b23dc0da5 /include
parent042a5c553020404a3e49834614327917c34334a8 (diff)
Rename "ITEM_LAST_USED" (#1572)
* rename * format * remove formatter changes * change model group comments
Diffstat (limited to 'include')
-rw-r--r--include/z64item.h2
-rw-r--r--include/z64player.h10
2 files changed, 6 insertions, 6 deletions
diff --git a/include/z64item.h b/include/z64item.h
index cc083f1cb..ba5f11e2f 100644
--- a/include/z64item.h
+++ b/include/z64item.h
@@ -307,7 +307,7 @@ typedef enum {
/* 0x99 */ ITEM_DEKU_STICK_UPGRADE_30,
/* 0x9A */ ITEM_DEKU_NUT_UPGRADE_30,
/* 0x9B */ ITEM_DEKU_NUT_UPGRADE_40,
- /* 0xFC */ ITEM_LAST_USED = 0xFC,
+ /* 0xFC */ ITEM_SWORD_CS = 0xFC,
/* 0xFE */ ITEM_NONE_FE = 0xFE,
/* 0xFF */ ITEM_NONE = 0xFF
} ItemID;
diff --git a/include/z64player.h b/include/z64player.h
index f5da3c88a..861f90081 100644
--- a/include/z64player.h
+++ b/include/z64player.h
@@ -71,7 +71,7 @@ typedef enum {
typedef enum {
/* 0x00 */ PLAYER_IA_NONE,
- /* 0x01 */ PLAYER_IA_LAST_USED,
+ /* 0x01 */ PLAYER_IA_SWORD_CS, // Hold sword without shield in hand. The sword is not useable.
/* 0x02 */ PLAYER_IA_FISHING_POLE,
/* 0x03 */ PLAYER_IA_SWORD_MASTER,
/* 0x04 */ PLAYER_IA_SWORD_KOKIRI,
@@ -229,9 +229,9 @@ typedef enum {
} PlayerDoorType;
typedef enum {
- /* 0x00 */ PLAYER_MODELGROUP_0, // unused (except with the `func_80091880` bug)
- /* 0x01 */ PLAYER_MODELGROUP_CHILD_HYLIAN_SHIELD, // kokiri/master sword, shield not in hand
- /* 0x02 */ PLAYER_MODELGROUP_SWORD, // kokiri/master sword and possibly shield
+ /* 0x00 */ PLAYER_MODELGROUP_0, // unused (except for a bug in `Player_OverrideLimbDrawPause`)
+ /* 0x01 */ PLAYER_MODELGROUP_CHILD_HYLIAN_SHIELD, //hold sword only. used for holding sword only as child link with hylian shield equipped
+ /* 0x02 */ PLAYER_MODELGROUP_SWORD_AND_SHIELD, // hold sword and shield or just sword if no shield is equipped
/* 0x03 */ PLAYER_MODELGROUP_DEFAULT, // non-specific models, for items that don't have particular link models
/* 0x04 */ PLAYER_MODELGROUP_4, // unused, same as PLAYER_MODELGROUP_DEFAULT
/* 0x05 */ PLAYER_MODELGROUP_BGS, // biggoron sword
@@ -244,7 +244,7 @@ typedef enum {
/* 0x0C */ PLAYER_MODELGROUP_OCARINA, // ocarina
/* 0x0D */ PLAYER_MODELGROUP_OOT, // ocarina of time
/* 0x0E */ PLAYER_MODELGROUP_BOTTLE, // bottles (drawn separately)
- /* 0x0F */ PLAYER_MODELGROUP_15, // "last used"
+ /* 0x0F */ PLAYER_MODELGROUP_SWORD, // hold sword and no shield, even if one is equipped
/* 0x10 */ PLAYER_MODELGROUP_MAX
} PlayerModelGroup;