From adaf96ec5973d78c3785fed2b636732b9676f406 Mon Sep 17 00:00:00 2001 From: TheGag96 Date: Thu, 25 Aug 2022 19:26:37 -0500 Subject: [PATCH] Extended Moveset: Fix ground pound jump (#153) Woops! --- mods/extended-moveset.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mods/extended-moveset.lua b/mods/extended-moveset.lua index f9516e09..357f12d0 100644 --- a/mods/extended-moveset.lua +++ b/mods/extended-moveset.lua @@ -563,7 +563,6 @@ function act_spin_pound_land(m) end if (m.input & INPUT_A_PRESSED) ~= 0 then - m.vel.y = 65.0 return set_jumping_action(m, ACT_GROUND_POUND_JUMP, 0) end @@ -1340,7 +1339,9 @@ function mario_on_set_action(m) end end - if m.action == ACT_WATER_PLUNGE and m.prevAction == ACT_GROUND_POUND then + if m.action == ACT_GROUND_POUND_JUMP then + m.vel.y = 65.0 + elseif m.action == ACT_WATER_PLUNGE and m.prevAction == ACT_GROUND_POUND then return set_mario_action(m, ACT_WATER_GROUND_POUND, 1) elseif m.action == ACT_WALL_SLIDE then m.vel.y = 0.0