Perhaps it will save someone a little bit of bother if I mention that both the actor's frame number and the game's frame count appear to be handled by Actor::handleActions() in actor_walk.cpp, and that the actor action seems to be kActionCycleFrames.