Changes

Jump to navigation Jump to search

FF7/Field/Script/Opcodes/EA MPPAL2

892 bytes added, 21:25, 13 June 2011
no edit summary
* Opcode: '''0xEA'''
* Short name: '''MPPAL2'''
* Long name: Multiply Palette

==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0xEA
! width="40" | ''B1/B2''
! width="40" | ''B3/B4''
! width="40" | ''B5/0''
! width="40" | ''Source palette array id''
! width="40" | ''Destination palette array id''
! width="40" | ''Multiply Blue''
! width="40" | ''Multiply Green''
! width="40" | ''Multiply Red''
|}

==== Arguments ====

* '''const Bit[4]''' ''B1'': Bank for source palette array id.
* '''const Bit[4]''' ''B2'': Bank for destination palette array id.
* '''const Bit[4]''' ''B2'': Bank for multiply blue colour.
* '''const Bit[4]''' ''B2'': Bank for multiply green colour.
* '''const Bit[4]''' ''B2'': Bank for multiply red colour.

==== Description ====

Multiply stored palette by some colour.
Anonymous user

Navigation menu