diff options
| author | Dragorn421 <Dragorn421@users.noreply.github.com> | 2026-04-24 21:55:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-24 21:55:03 +0200 |
| commit | 189baf8e79e0e1aa6d39402307a961e30ad32bdc (patch) | |
| tree | ead4266a225bdf7c7434388ad40b109c50a74093 /src/overlays/actors/ovl_En_Sb/z_en_sb.c | |
| parent | 9c0dafe8d2af400336c75c1d27ded85902db517d (diff) | |
`Item_DropCollectibleRandom`: params macro and drop tables enum (#2707)
* `Item_DropCollectibleRandom`: params macro and drop tables enum
* fixup
Diffstat (limited to 'src/overlays/actors/ovl_En_Sb/z_en_sb.c')
| -rw-r--r-- | src/overlays/actors/ovl_En_Sb/z_en_sb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/overlays/actors/ovl_En_Sb/z_en_sb.c b/src/overlays/actors/ovl_En_Sb/z_en_sb.c index 98ab740df..aadb6a524 100644 --- a/src/overlays/actors/ovl_En_Sb/z_en_sb.c +++ b/src/overlays/actors/ovl_En_Sb/z_en_sb.c @@ -470,7 +470,8 @@ void EnSb_Update(Actor* thisx, PlayState* play) { } if (BodyBreak_SpawnParts(&this->actor, &this->bodyBreak, play, this->actor.params)) { if (!this->hitByWindArrow) { - Item_DropCollectibleRandom(play, &this->actor, &this->actor.world.pos, 0x80); + Item_DropCollectibleRandom(play, &this->actor, &this->actor.world.pos, + COLLECTIBLE_DROP_RANDOM_PARAMS(COLLECTIBLE_DROP_TABLE_8, false)); } else { Item_DropCollectible(play, &this->actor.world.pos, ITEM00_ARROWS_SMALL); } |
