Anonymous

Changes

From Final Fantasy Inside

FF7/Field/Script/Opcodes/E5 STPAL

29 bytes added, 05:19, 23 May 2019
m
4 revisions imported
* '''const Bit[4]''' ''B2'': Bank for palette array id.
* '''const UByte''' ''Vram palette id'': Id of palette. All palettes stored starting from vram_x = 0, vram_y = 0x1e0, so this index is starting from vram_y.
* '''const UByte''' ''Palette array id'': All palette stored from in special array 0x20 size of each item. So this is only works with 4bit per pixel imagesBut it just index and can be used lo load full 256 colours (it just takes 0x10 slots of array).* '''const UByte''' ''Size'': Looks like size Size of palette to copy (not sure yet)+ 1.
==== Description ====
Stores palette data to special array (0x80095de0 in english psx version).