From d8e9cd8641f867a291222a740ab95efda8e1ae4f Mon Sep 17 00:00:00 2001 From: Sunk <69110309+Sunketchupm@users.noreply.github.com> Date: Sun, 27 Apr 2025 17:28:29 -0400 Subject: [PATCH] Fix INT_HIT_FROM_ABOVE/BELOW check (#751) --- src/game/interaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/interaction.c b/src/game/interaction.c index 12a1fd150..a5c86316e 100644 --- a/src/game/interaction.c +++ b/src/game/interaction.c @@ -226,7 +226,7 @@ u32 determine_interaction(struct MarioState *m, struct Object *o) { // Prior to this, the interaction type could be overwritten. This requires, however, // that the interaction not be set prior. This specifically overrides turning a ground // pound into just a bounce. - if (interaction == 0 && (action & ACT_FLAG_AIR)) { + if ((interaction == 0 || interaction & INT_LUA) && (action & ACT_FLAG_AIR)) { if (m->vel[1] < 0.0f) { if (m->pos[1] > o->oPosY) { interaction = INT_HIT_FROM_ABOVE;