Added Poké Ball burst animation for recalling in battle, some bug fixes

This commit is contained in:
Maruno17
2022-03-16 22:44:39 +00:00
parent 93a0173fe8
commit 21f7c57905
3 changed files with 61 additions and 7 deletions

View File

@@ -204,8 +204,8 @@ class SpriteAnimation
sprite.src_rect.set(pattern % 5 * 192, pattern / 5 * 192, 192, 192)
case @_animation_height
when 0 then sprite.z = 1
when 1 then sprite.z = sprite.y + 32 + 17
when 2 then sprite.z = sprite.y + 32 + 32 + 17
when 1 then sprite.z = sprite.y + (Game_Map::TILE_HEIGHT * 3 / 2) + 1
when 2 then sprite.z = sprite.y + (Game_Map::TILE_HEIGHT * 3) + 1
else sprite.z = 2000
end
sprite.ox = 96