Added water ripple animation, removed second error message when the Compiler crashes

This commit is contained in:
Maruno17
2024-04-01 22:13:16 +01:00
parent 1ff5b12acd
commit a2af2c36f9
6 changed files with 25 additions and 4 deletions

View File

@@ -101,6 +101,7 @@ module Battle::Scene::Animation::BallAnimationMixin
end
def ballTracksHand(ball, traSprite, safariThrow = false)
raise _INTL("Trainer back sprite doesn't exist.") if !traSprite || !traSprite.bitmap
# Back sprite isn't animated, no hand-tracking needed
if traSprite.bitmap.width < traSprite.bitmap.height * 2
ball.setVisible(7, true)