Difference between revisions of "FF7/Field/Script/Opcodes/35 PTURA"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Synergy Blades
m
m (4 revisions imported)
 
(One intermediate revision by one other user not shown)
(No difference)

Latest revision as of 05:16, 23 May 2019

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