summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
Diffstat (limited to 'src/code')
-rw-r--r--src/code/z_en_item00.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_en_item00.c b/src/code/z_en_item00.c
index b8fa0f4f1..3bec8471b 100644
--- a/src/code/z_en_item00.c
+++ b/src/code/z_en_item00.c
@@ -68,9 +68,9 @@ void EnItem00_Init(Actor* thisx, GlobalContext* globalCtx) {
f32 shadowOffset = 980.0f;
f32 shadowScale = 6.0f;
s32 getItemId = GI_NONE;
- s32 sp30 = (this->actor.params & 0x8000) ? 1 : 0;
+ s32 sp30 = ENITEM00_GET_8000(&this->actor) ? 1 : 0;
- this->collectibleFlag = (this->actor.params & 0x7F00) >> 8;
+ this->collectibleFlag = ENITEM00_GET_7F00(&this->actor);
thisx->params &= 0xFF; // Has to be thisx to match