FF7/Field/Script/Opcodes/BA ANIM!2

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Revision as of 14:30, 20 October 2020 by Dangarfield (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • Opcode: 0xBA
  • Short name: ANIM!2
  • Long name: Animate/Stay

Memory layout

0xBA 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

Similarly to ANIME2, plays the animation found at ID A in this entity's field object, at the speed marked by S. However, in contrast, the field object stays posed in the last frame of the animation played.

The current script's execution is halted whilst the animation is played, and continues when the animation has completed.

Makou Reactor Description: Play animation #%1 of the field model (speed=%2, type=2)