Changes

Jump to navigation Jump to search

FF7/Field/Script/Opcodes/B4 TURNGEN

1,021 bytes added, 17:44, 18 December 2007
no edit summary
* Opcode: '''0xB4'''
* Short name: '''TURNGEN'''
* Long name: Generate Turn

==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0xB4
! width="50" | ''00 / B2''
! width="80" | ''Final rotation''
! width="80" | ''Rotate side type''
! width="80" | ''Steps in rotation''
! width="80" | ''Type of steps calculation''
|}

==== Arguments ====

* '''const Bit[4]''' ''B2'': Bank to retrieve Final rotation, or zero if specifying ''Final rotation'' as a literal value.
* '''const Bute''' ''Final rotation'': Rotation value to which model will be rotated.
* '''const Short''' ''Rotate side type'': Specify how model will be rotated. (1 - clockwise/ 2 - closeat/ 3 - anti-clockwise)
* '''const Short''' ''Steps in rotation'': Set number of steps in rotation.
* '''const UShort''' ''Type of steps calculation'': Specify how to calculate rotation step by step. (1 - linear/ 2 - somehow related to Y rotation vector.).

==== Description ====
Anonymous user

Navigation menu