Difference between revisions of "FF7/Field/Script/Opcodes/A2 DFANM"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Synergy Blades
 
my_wiki>BukTop
m (1 revision imported)
(No difference)

Revision as of 12:34, 4 April 2018

  • 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.