53
edits
Changes
From Final Fantasy Inside
no edit summary
* '''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