Changes

Jump to navigation Jump to search

FF7/Field/Script/Opcodes/DA AKAO2

1,539 bytes added, 17:42, 12 September 2012
no edit summary
* Opcode: '''0xDA'''
* Short name: '''AKAO2'''
* Long name: Sound Operation (word param1)
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0xF2
! width="50" | ''B1 / B2''
! width="50" | ''B3 / B4''
! width="50" | ''0 / B6''
! width="40" | ''Op''
! width="80" | ''Param1''
! width="40" | ''Param2''
! width="40" | ''Param3''
! width="40" | ''Param4''
! width="40" | ''Param5''
|}

==== Arguments ====

* '''const Bit[4]''' ''B1'': Bank to retrieve ''Param1'', or zero if ''Param1'' is specified as a literal value.
* '''const Bit[4]''' ''B2'': Bank to retrieve ''Param2'', or zero if ''Param2'' is specified as a literal value.
* '''const Bit[4]''' ''B3'': Bank to retrieve ''Param3'', or zero if ''Param3'' is specified as a literal value.
* '''const Bit[4]''' ''B4'': Bank to retrieve ''Param4'', or zero if ''Param4'' is specified as a literal value.
* '''const Bit[4]''' ''0'': Zero.
* '''const Bit[4]''' ''B6'': Bank to retrieve ''Param5'', or zero if ''Param5'' is specified as a literal value.
* '''const UByte''' ''Op'': Operation to perform.
* '''const UShort''' ''Param1'': Parameter 1.
* '''const UByte''' ''Param2'': Parameter 2.
* '''const UByte''' ''Param3'': Parameter 3.
* '''const UByte''' ''Param4'': Parameter 4.
* '''const UByte''' ''Param5'': Parameter 5.

==== Description ====

Perform an operation described by ''Op'', and uses the parameters depending on the operation.

[[FF7/Field/Script/Opcodes/F2_AKAO|Opcode list]]
Anonymous user

Navigation menu