Changes

Jump to navigation Jump to search

FF7/Field/Script/Opcodes/A2 DFANM

796 bytes added, 21:37, 14 September 2006
no edit summary
* Opcode: '''0xA2'''
* Short name: '''DFANM'''
* Long name: Animate, Loop

==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0xA2
! width="40" | ''A''
! width="40" | ''S''
|}

==== Arguments ====

* '''const UByte''' ''A'': Animation ID for this entity's field object.
* '''const UByte''' ''S'': Speed the animation is played at. Higher numbers indicate slower animations.

==== Description ====

Plays the animation given by ''A'' at the speed ''S''. The animation loops (plays, completes, then rewinds and plays again) until another animation is played, either using any animation opcode, or an opcode indirectly changes the animation being played, such as [[FF7/Field/Script/Opcodes/A8 MOVE|MOVE]].

Navigation menu