summaryrefslogtreecommitdiff
path: root/src/overlays/actors/ovl_En_Tite/z_en_tite.c
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2026-04-24 21:55:03 +0200
committerGitHub <noreply@github.com>2026-04-24 21:55:03 +0200
commit189baf8e79e0e1aa6d39402307a961e30ad32bdc (patch)
treeead4266a225bdf7c7434388ad40b109c50a74093 /src/overlays/actors/ovl_En_Tite/z_en_tite.c
parent9c0dafe8d2af400336c75c1d27ded85902db517d (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_Tite/z_en_tite.c')
-rw-r--r--src/overlays/actors/ovl_En_Tite/z_en_tite.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/overlays/actors/ovl_En_Tite/z_en_tite.c b/src/overlays/actors/ovl_En_Tite/z_en_tite.c
index 08fad96d3..b61f66d3a 100644
--- a/src/overlays/actors/ovl_En_Tite/z_en_tite.c
+++ b/src/overlays/actors/ovl_En_Tite/z_en_tite.c
@@ -786,9 +786,11 @@ void EnTite_DeathCry(EnTite* this, PlayState* play) {
void EnTite_FallApart(EnTite* this, PlayState* play) {
if (BodyBreak_SpawnParts(&this->actor, &this->bodyBreak, play, this->actor.params + 0xB)) {
if (this->actor.params == TEKTITE_BLUE) {
- Item_DropCollectibleRandom(play, &this->actor, &this->actor.world.pos, 0xE0);
+ Item_DropCollectibleRandom(play, &this->actor, &this->actor.world.pos,
+ COLLECTIBLE_DROP_RANDOM_PARAMS(COLLECTIBLE_DROP_TABLE_14, false));
} else {
- Item_DropCollectibleRandom(play, &this->actor, &this->actor.world.pos, 0x40);
+ Item_DropCollectibleRandom(play, &this->actor, &this->actor.world.pos,
+ COLLECTIBLE_DROP_RANDOM_PARAMS(COLLECTIBLE_DROP_TABLE_4, false));
}
Actor_Kill(&this->actor);
}