summaryrefslogtreecommitdiff
path: root/src/overlays/actors/ovl_En_Test/z_en_test.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_Test/z_en_test.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_Test/z_en_test.c')
-rw-r--r--src/overlays/actors/ovl_En_Test/z_en_test.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/overlays/actors/ovl_En_Test/z_en_test.c b/src/overlays/actors/ovl_En_Test/z_en_test.c
index 550fafa72..8dc9f764c 100644
--- a/src/overlays/actors/ovl_En_Test/z_en_test.c
+++ b/src/overlays/actors/ovl_En_Test/z_en_test.c
@@ -1537,7 +1537,8 @@ void func_80862E6C(EnTest* this, PlayState* play) {
EnTest_SetupJumpBack(this);
} else if ((this->actor.params == STALFOS_TYPE_5) &&
!Actor_FindNearby(play, &this->actor, ACTOR_EN_TEST, ACTORCAT_ENEMY, 8000.0f)) {
- Item_DropCollectibleRandom(play, &this->actor, &this->actor.world.pos, 0xD0);
+ Item_DropCollectibleRandom(play, &this->actor, &this->actor.world.pos,
+ COLLECTIBLE_DROP_RANDOM_PARAMS(COLLECTIBLE_DROP_TABLE_13, false));
if (this->actor.parent != NULL) {
this->actor.parent->home.rot.z--;
@@ -1645,7 +1646,8 @@ void func_808633E8(EnTest* this, PlayState* play) {
this->actor.params = STALFOS_TYPE_1;
if (BodyBreak_SpawnParts(&this->actor, &this->bodyBreak, play, this->actor.params)) {
- Item_DropCollectibleRandom(play, &this->actor, &this->actor.world.pos, 0xD0);
+ Item_DropCollectibleRandom(play, &this->actor, &this->actor.world.pos,
+ COLLECTIBLE_DROP_RANDOM_PARAMS(COLLECTIBLE_DROP_TABLE_13, false));
if (this->actor.parent != NULL) {
this->actor.parent->home.rot.z--;