Fixed cycling speed's charset animation not being slower as intended

This commit is contained in:
Maruno17
2021-05-20 21:46:09 +01:00
parent 8e56608409
commit 38081305b0

View File

@@ -943,7 +943,7 @@ class Game_Character
# game uses square tiles.
real_speed = (jumping?) ? jump_speed_real : move_speed_real
frames_per_pattern = Game_Map::REAL_RES_X / (real_speed * 2.0)
frames_per_pattern *= 2 if move_speed == 6 # Cycling/fastest speed
frames_per_pattern *= 2 if move_speed >= 5 # Cycling speed or faster
return if @anime_count < frames_per_pattern
# Advance to the next animation frame
@pattern = (@pattern + 1) % 4