FF7/Field/Script/Opcodes/A2 DFANM

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Revision as of 12:34, 4 April 2018 by my_wiki>BukTop (1 revision imported)
Jump to navigation Jump to search
  • Opcode: 0xA2
  • Short name: DFANM
  • Long name: Animate, Loop

Memory layout

0xA2 A 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 MOVE.