FF7/Field/Script/Opcodes/35 PTURA

From QhimmWiki
Revision as of 04:16, 23 May 2019 by ffrtt>BukTop (4 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • Opcode: 0x35
  • Short name: PTURA
  • Long name: Turn to Party Member

Memory layout

0x35 P S A

Arguments

  • const UByte P: Party member to turn towards.
  • const UByte S: Speed of turning; the larger the number, the slower the turn.
  • const UByte A: Larger numbers increase the likelihood that the turn will be anticlockwise.

Description

Rotates (turns) the field object to face the party member specified by P (from 0 to 2), at the speed S. The "standard" value for A is 2.