diff --git a/src/game/interaction.c b/src/game/interaction.c index 37ace1a82..dd344ee01 100644 --- a/src/game/interaction.c +++ b/src/game/interaction.c @@ -672,7 +672,8 @@ u32 determine_knockback_action(struct MarioState *m, UNUSED s32 arg) { if (!is_player_active(m2)) { continue; } if (m2->marioObj == NULL) { continue; } if (m2->marioObj != m->interactObj) { continue; } - if (m2->flags & MARIO_KICKING) { scaler = 2.0f; } + // Redundent check in case the kicking flag somehow gets missed + if (m2->action == ACT_JUMP_KICK || m2->flags & MARIO_KICKING) { scaler = 2.0f; } else if (m2->action == ACT_DIVE) { scaler = 1 + fabs(m2->forwardVel * 0.01f); } else if ((m2->flags & MARIO_PUNCHING)) { scaler = 0.2f; hasBeenPunched = TRUE; } if (m2->flags & MARIO_METAL_CAP) { scaler *= 1.25f; }