Author Topic: Palette opcodes in FFVII.  (Read 2434 times)

Akari

  • *
  • Posts: 766
    • View Profile
Palette opcodes in FFVII.
« on: 2011-06-13 19:12:47 »
I just add some info about palette opcodes to wiki. Strange than noone documented them yet.

http://wiki.qhimm.com/FF7/Field/Script/Opcodes/E5_STPAL
http://wiki.qhimm.com/FF7/Field/Script/Opcodes/E6_LDPAL
http://wiki.qhimm.com/FF7/Field/Script/Opcodes/E7_CPPAL
http://wiki.qhimm.com/FF7/Field/Script/Opcodes/EA_MPPAL2

At least this describes how it works on MD1_1 =D

Can someone tell me where RTPAL is used?
« Last Edit: 2011-06-14 13:45:39 by Akari »

Aali

  • *
  • Posts: 1196
    • View Profile
Re: Palette opcodes in FFVII.
« Reply #1 on: 2011-06-15 10:53:34 »
I was going to document these opcodes a while back but never got around to it. RTPAL "rotates" the palette, every colour is shifted a certain number of steps, dont know where its used though. ADPAL works pretty much the same as MPPAL except it adds to R, G and B components. PLS versions of STPAL and LDPAL don't read anything from the banks, all parameters are fixed. CPPAL2 also reads size from a bank, dont remember what makes the ADPAL2/RTPAL2 versions different.
« Last Edit: 2011-06-15 10:55:58 by Aali »