diff options
Diffstat (limited to 'src/overlays/actors/ovl_En_Wood02/z_en_wood02.c')
| -rw-r--r-- | src/overlays/actors/ovl_En_Wood02/z_en_wood02.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/overlays/actors/ovl_En_Wood02/z_en_wood02.c b/src/overlays/actors/ovl_En_Wood02/z_en_wood02.c index bb1acebc2..af5cdcaa3 100644 --- a/src/overlays/actors/ovl_En_Wood02/z_en_wood02.c +++ b/src/overlays/actors/ovl_En_Wood02/z_en_wood02.c @@ -353,7 +353,8 @@ void EnWood02_Update(Actor* thisx, PlayState* play2) { dropsSpawnPt.y += 200.0f; if ((this->unk_14C >= 0) && (this->unk_14C < 0x64)) { - Item_DropCollectibleRandom(play, &this->actor, &dropsSpawnPt, this->unk_14C << 4); + Item_DropCollectibleRandom(play, &this->actor, &dropsSpawnPt, + COLLECTIBLE_DROP_RANDOM_PARAMS(this->unk_14C, false)); } else { if (this->actor.home.rot.z != 0) { this->actor.home.rot.z &= 0x1FFF; @@ -399,7 +400,7 @@ void EnWood02_Update(Actor* thisx, PlayState* play2) { (player->rideActor->speed != 0.0f))) { if ((this->unk_14C >= 0) && (this->unk_14C < 0x64)) { Item_DropCollectibleRandom(play, &this->actor, &this->actor.world.pos, - ((this->unk_14C << 4) | 0x8000)); + COLLECTIBLE_DROP_RANDOM_PARAMS(this->unk_14C, true)); } this->unk_14C = -0x15; Actor_PlaySfx(&this->actor, NA_SE_EV_TREE_SWING); |
