Would it be possible to make the `animate` and `animationPhase` commands take animation indices in addition to the names? (i.e. `obj animationPhase index`)
Based on a quick test I made, it seems that animations are stored as arrays internally, because the performance of `animationPhase` seems to vary linearly with the index of the animation in `animationNames` array.
If I'm right, it means the game searches for the animation name first before returning the phase, which is a bit wasteful since object animations don't change indices.
If so, using indices means the command works faster, which could save me a lot of performance since I'm using `animationPhase` every frame for many objects and each have many animations.