Difference between revisions of "FF8/Field/Script/Opcodes/084 CTURNR"

From QhimmWiki
Jump to navigation Jump to search
Qhimm>Shard
(Created page with "* Opcode: '''0x084''' * Short name: '''CTURNR''' * Long name: Turn Character ==== Argument ==== none ==== Stack ==== :''Angle'' :''Duration of turn'' (frames) :'''CTURNL''' ...")
ffrtt>BukTop
m (4 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/085 CTURNL|CTURNL]].
It's unknown how this is any different from [[FF8/Field/Script/Opcodes/085_CTURNL|CTURNL]].

Latest revision as of 04:24, 23 May 2019

  • Opcode: 0x084
  • Short name: CTURNR
  • 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 CTURNL.