Users browsing this thread: 1 Guest(s)
Roster palettes

#3
Posts: 149
Threads: 21
Thanks Received: 40
Thanks Given: 3
Joined: Dec 2013
Reputation: 9
Status
Auto-life
I was pondering about a unified palette for specific graphics ID. As example, the C2/CE2B table has the palette for all characters, relative only to battle graphics:
Code:
Battle characters palette:
C2/CE2B 02 Terra
C2/CE2C 01 Locke
C2/CE2D 04 Cyan
C2/CE2E 04 Shadow
C2/CE2F 00 Edgar
C2/CE30 00 Sabin
C2/CE31 00 Celes
C2/CE32 03 Strago
C2/CE33 03 Relm
C2/CE34 04 Setzer
C2/CE35 05 Mog
C2/CE36 03 Gau
C2/CE37 03 Gogo
C2/CE38 05 Umaro
C2/CE39 01 Soldier
C2/CE3A 00 Imp
C2/CE3B 00 Leo
C2/CE3C 03 Banon
C2/CE3D 06 Morphed Terra
C2/CE3E 01 Merchant (soldier portrait)
C2/CE3F 00 Ghost
C2/CE40 03 Kefka (terra portrait)
C2/CE41 03 ????
C2/CE42 00 ????

As example, let's suppose I want to change Terra's sprite. With only one byte change (CE2B), I can change the palette for hers battle graphics. However, it won't change hers NPC palettes.

For Terra's NPCs, their palettes are scattered in the events script. Generally, it is a combination of opcodes #$37 (set graphic) and #$43 (set palette). To synchronize Terra's battle palette with their NPC versions, it is necessary to track down the events script with their respective opcodes and change them. It can be really annoying.

The main concept is to change the code of the #$43 opcode (events script – change palette). If the NPC graphic is Terra, it will ignore hers defined palette in the opcode and use CE2B instead. The same logic applies for all other characters with battle graphics.

I did some experiments and I believe I have a good chance to implement the concept. I can also try to change the loading of NPC for the maps with the same logic. However, the roster code is being difficult. The palette, apparently, is hard coded with the OAM structure.

If possible, I wish to synchronize the roster palettes with the battle palettes. If it isn't possible, I will forget about it and try to synchronize the palettes for battle characters and their NPC versions. In the worst scenario, the roster palettes must be managed manually by hex-editing.

Thanks for the hints. I am busy now but I will check it later.
  Find
Quote  



Messages In This Thread
Roster palettes - by HatZen08 - 12-03-2013, 05:47 AM
RE: Roster palettes - by madsiur - 12-03-2013, 10:54 PM
RE: Roster palettes - by HatZen08 - 12-04-2013, 08:31 AM
RE: Roster palettes - by madsiur - 12-04-2013, 03:47 PM
RE: Roster palettes - by B-Run - 12-11-2013, 01:11 PM
RE: Roster palettes - by HatZen08 - 12-20-2013, 07:44 AM
RE: Roster palettes - by SSJ Rick - 12-20-2013, 02:24 PM
RE: Roster palettes - by Catone - 01-04-2016, 12:31 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite