Changes
From Final Fantasy Inside
no edit summary
* Opcode: '''0xE7'''
* Short name: '''CPPAL'''
* Long name: Copy Palette
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0xE7
! width="40" | ''B1/B2''
! width="40" | ''Source palette array id''
! width="40" | ''Destination palette array id''
! width="40" | ''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 multiply + 1 (in unsigned short).
==== Description ====
Copy palette data.
* Short name: '''CPPAL'''
* Long name: Copy Palette
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0xE7
! width="40" | ''B1/B2''
! width="40" | ''Source palette array id''
! width="40" | ''Destination palette array id''
! width="40" | ''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 multiply + 1 (in unsigned short).
==== Description ====
Copy palette data.