Animation playback rate (executable)
The character animation player stores, per
play, a slot, a start frame and a rate
set to 1.0 (the jump routine’s
stretched rates replace it). Each tick it adds
the rate to the current frame and compares the
result with the slot’s length; the length is the
float at +0x08 of the slot’s first 0x5
chunk (Esper-RE’s length,
“how many frames the animation lasts”), read
when the character’s animations are bound. Past
the length a looping slot wraps (frame −
length), a one-shot one ends.
So one key frame per tick: animations
play at 30 key frames per second.
pdconv’s ANIM_FPS = 30
is the game’s rate (Esper-RE’s viewer assumes
24). pdconv writes the longest
chunk’s length as the slot’s
frames; the game reads the first
chunk’s. On pc00a all 129 slots have the same
length in every chunk, so the two agree.