More [CS] Extra Characters fixes

This commit is contained in:
Agent X 2024-07-08 18:27:09 -04:00
parent 2f8654708a
commit cc9154a16f
2 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@ function daisy_update(m)
smlua_anim_util_set_animation(m.marioObj, anim)
end
if (m.input & INPUT_A_PRESSED) ~= 0 and m.vel.y < 10 and (
if (m.input & INPUT_A_PRESSED) ~= 0 and m.vel.y < 10 and m.prevAction ~= ACT_DAISY_JUMP and (
m.action == ACT_JUMP or
m.action == ACT_DOUBLE_JUMP or
m.action == ACT_TRIPLE_JUMP or

View File

@ -196,7 +196,7 @@ function peach_update(m)
smlua_anim_util_set_animation(m.marioObj, anim)
end
if (m.input & INPUT_A_DOWN) ~= 0 and m.vel.y < -15 and (
if (m.input & INPUT_A_DOWN) ~= 0 and m.vel.y < -15 and m.prevAction ~= ACT_PEACH_FLOAT and (
m.action == ACT_JUMP or
m.action == ACT_DOUBLE_JUMP or
m.action == ACT_TRIPLE_JUMP or