diff options
| author | Maide <34639600+Kelebek1@users.noreply.github.com> | 2022-05-26 02:04:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-25 21:04:10 -0400 |
| commit | e227684d9b35c8bb05bd0f1b9912487a6a4b0021 (patch) | |
| tree | d67dc807d9b426f456dc7c6fa9b15d486c8811fa /src/code | |
| parent | 6f2531cc66824ba7e09de5983bef71542c1b7dcb (diff) | |
En_Boom (#813)
* En_Boom
* Match (thanks Anon)
* Update src/overlays/actors/ovl_Arms_Hook/z_arms_hook.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Diffstat (limited to 'src/code')
| -rw-r--r-- | src/code/z_en_item00.c | 4 |
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 |
