Difference between revisions of "FF8/Field/Script/Opcodes/085 CTURNL"

From Final Fantasy Inside
< FF8‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Shard
m (Description)
my_wiki>Shard
Line 6: Line 6:
 
none
 
none
 
==== Stack ====
 
==== Stack ====
:''Angle''
+
:''Angle to face''
 
:''Duration of turn'' (frames)
 
:''Duration of turn'' (frames)
 
:'''CTURNL'''
 
:'''CTURNL'''
Line 13: Line 13:
 
Turns this entity.
 
Turns this entity.
  
Note that Final Fantasy 8 uses Final Fantasy mathematics, where circles contain only 240 degrees. Degrees 0 and 240 are defined as down, 60 right, 120 up, 180 left.
+
Note that Final Fantasy 8 uses 256 degree circles. Degrees 0 and 256 are defined as down, 64 right, 128 up, 192 left.
  
 
It's unknown how this is any different from [[FF8/Field/Script/Opcodes/084 CTURNR|CTURNR]].
 
It's unknown how this is any different from [[FF8/Field/Script/Opcodes/084 CTURNR|CTURNR]].

Revision as of 01:34, 2 February 2015

  • Opcode: 0x085
  • Short name: CTURNL
  • Long name: Turn Character

Argument

none

Stack

Angle to face
Duration of turn (frames)
CTURNL

Description

Turns this entity.

Note that Final Fantasy 8 uses 256 degree circles. Degrees 0 and 256 are defined as down, 64 right, 128 up, 192 left.

It's unknown how this is any different from CTURNR.