From ef6ec31075abde783169b0ae987ba36058493048 Mon Sep 17 00:00:00 2001 From: MysterD Date: Tue, 8 Sep 2020 15:01:31 -0700 Subject: [PATCH] Prevent ground pound from attacking until they're moving downward --- src/game/interaction.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game/interaction.c b/src/game/interaction.c index bffa646be..15ef6eb79 100644 --- a/src/game/interaction.c +++ b/src/game/interaction.c @@ -1252,7 +1252,10 @@ u32 interact_player(struct MarioState* m, UNUSED u32 interactType, struct Object } } + // determine if ground pound should be ignored if (m->action == ACT_GROUND_POUND) { + // not moving down yet? + if (m->actionState == 0) { return FALSE; } m2->squishTimer = max(m2->squishTimer, 20); }