Fixed Database animations' position not moving the animation for exclamations

This commit is contained in:
Maruno17
2024-01-18 23:47:33 +00:00
parent 97a66020ca
commit c78e32db09
7 changed files with 41 additions and 29 deletions

View File

@@ -49,9 +49,9 @@ module RPG
array.push(anim)
end
def animation(animation, hit, height = 3)
def animation(animation, hit, height = 3, no_tone = false)
anim = SpriteAnimation.new(self)
anim.animation(animation, hit, height)
anim.animation(animation, hit, height, no_tone)
pushAnimation(@animations, anim)
end