Difference between revisions of "FF7/Field/Script/Opcodes/E7 CPPAL"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Akari
 
my_wiki>Aali
m
Line 18: Line 18:
 
* '''const UByte''' ''Source palette array id'': Source palette array id to copy data from.
 
* '''const UByte''' ''Source palette array id'': Source palette array id to copy data from.
 
* '''const UByte''' ''Destination palette array id'': Destination palette array id to copy data to.
 
* '''const UByte''' ''Destination palette array id'': Destination palette array id to copy data to.
* '''const UByte''' ''Size'': Size of palette data to multiply + 1 (in unsigned short).
+
* '''const UByte''' ''Size'': Size of palette data to copy + 1 (in unsigned short).
  
 
==== Description ====
 
==== Description ====
  
 
Copy palette data.
 
Copy palette data.

Revision as of 13:38, 15 June 2011

  • Opcode: 0xE7
  • Short name: CPPAL
  • Long name: Copy Palette

Memory layout

0xE7 B1/B2 Source palette array id Destination palette array id Size

Arguments

  • const Bit[4] B1: Bank for source palette array id.
  • const Bit[4] B2: Bank for destination palette array id.
  • const UByte Source palette array id: Source palette array id to copy data from.
  • const UByte Destination palette array id: Destination palette array id to copy data to.
  • const UByte Size: Size of palette data to copy + 1 (in unsigned short).

Description

Copy palette data.