mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 07:28:14 +00:00
Fixed custom character fall anims not playing
This commit is contained in:
@@ -268,8 +268,9 @@ func get_animation_name() -> String:
|
||||
return "StarFall"
|
||||
return "JumpFall"
|
||||
else:
|
||||
player.sprite.speed_scale = 0
|
||||
player.sprite.frame = walk_frame
|
||||
# guzlad: Fixes characters with fall anims not playing them, but also prevents old characters without that anim not being accurate
|
||||
if !player.sprite.sprite_frames.has_animation("Fall"):
|
||||
player.sprite.frame = walk_frame
|
||||
return "Fall"
|
||||
|
||||
func exit() -> void:
|
||||
|
Reference in New Issue
Block a user