Difference between revisions of "FF7/Field/Script/Opcodes/DA AKAO2"
Jump to navigation
Jump to search
my_wiki>Myst6re |
m (4 revisions imported) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
! width="40" | ''Op'' | ! width="40" | ''Op'' | ||
! width="80" | ''Param1'' | ! width="80" | ''Param1'' | ||
− | ! width=" | + | ! width="80" | ''Param2'' |
− | ! width=" | + | ! width="80" | ''Param3'' |
− | ! width=" | + | ! width="80" | ''Param4'' |
− | ! width=" | + | ! width="80" | ''Param5'' |
|} | |} | ||
Line 26: | Line 26: | ||
* '''const UByte''' ''Op'': Operation to perform. | * '''const UByte''' ''Op'': Operation to perform. | ||
* '''const UShort''' ''Param1'': Parameter 1. | * '''const UShort''' ''Param1'': Parameter 1. | ||
− | * '''const | + | * '''const UShort''' ''Param2'': Parameter 2. |
− | * '''const | + | * '''const UShort''' ''Param3'': Parameter 3. |
− | * '''const | + | * '''const UShort''' ''Param4'': Parameter 4. |
− | * '''const | + | * '''const UShort''' ''Param5'': Parameter 5. |
==== Description ==== | ==== Description ==== |
Latest revision as of 05:19, 23 May 2019
- Opcode: 0xDA
- Short name: AKAO2
- Long name: Sound Operation (word param1)
Memory layout
0xF2 | B1 / B2 | B3 / B4 | 0 / B6 | Op | Param1 | Param2 | Param3 | Param4 | 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 UShort Param2: Parameter 2.
- const UShort Param3: Parameter 3.
- const UShort Param4: Parameter 4.
- const UShort Param5: Parameter 5.
Description
Perform an operation described by Op, and uses the parameters depending on the operation.