FF7/Field/Script/Opcodes/EA MPPAL2

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Revision as of 21:25, 13 June 2011 by my_wiki>Akari
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • Opcode: 0xEA
  • Short name: MPPAL2
  • Long name: Multiply Palette

Memory layout

0xEA B1/B2 B3/B4 B5/0 Source palette array id Destination palette array id Multiply Blue Multiply Green 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.