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
m (6 revisions imported)
 
(4 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
* Long name: Turn Character
 
* Long name: Turn Character
  
==== Argument ====
+
==== Argument ====
 +
 
 
none
 
none
==== Stack ====
 
:''Angle''
 
:''Duration of turn'' (frames)
 
:'''CTURNL'''
 
  
==== Description ====
+
==== Stack  ====
 +
 
 +
: ''Angle to face''
 +
: ''Duration of turn'' (frames)
 +
: '''CTURNL'''
 +
 
 +
====  Description ====
 +
 
 
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 CTURNL|CTURNL]].
+
It's unknown how this is any different from [[FF8/Field/Script/Opcodes/084_CTURNR|CTURNR]].

Latest revision as of 05:24, 23 May 2019

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