Changes

Jump to navigation Jump to search

FF7/Field/Script/Opcodes/D5 COS

No change in size, 16:56, 16 September 2020
no edit summary
! width="40" | ''M''
! width="40" | ''A''
! width="40" | ''CS''
|}
* '''const UByte''' ''M'': Multiplicand, or address to retrieve value if ''B2'' is non-zero.
* '''const UByte''' ''A'': Addition, or address to retrieve value if ''B3'' is non-zero.
* '''const UByte''' ''CS'': Variable for cos angle, or source address to retrieve value if ''B4'' is non-zero.
==== Description ====
Var[B1][D] = ( ( Math.cos(Var[B4][CS]) * M) + A) >> 12
Creates a variable from the another variable, with COS, a multiplicand and an addition factor
50
edits

Navigation menu