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''' ...")
Qhimm>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/085 CTURNL|CTURNL]].
It's unknown how this is any different from [[FF8/Field/Script/Opcodes/085 CTURNL|CTURNL]].

Revision as of 00:33, 2 February 2015

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