Help Please - Anyone Know How to Change Sprite/Color Palette Links? FFIII (NES)

Started by SuzieStarscream, October 07, 2022, 12:28:43 PM

Previous topic - Next topic

SuzieStarscream

Hi there!

I was crazy excited when I discovered that you could swap out NES Sprites for sprites from other games/sprites you design yourself!

In FFIII there are groups of PC sprites all linked to the same color palette; Red/White, Blue/Yellow, or Green/Brown.

I know how to change the sprite color in general, but it changes the color of every sprite in that group. Does anybody know how to point a specific sprite to a different color palette? Say you have a sprite currently in Green/Brown color palette and would like to point it to the Blue/Yellow color palette, without changing the color of every other Green/Brown sprite.

I can draw, but I can't code. I didn't know if this post should go here or under programming since it's a programing question.

Thank you in advance for your help!

Everything

There are lists of palette ids for each job in 3 places (that I know of).

For the end credits (ROM offset 0x3FF6F)
; palette for each job
1F/BF5F: 00 00 01 00 01 00 02 00 02 00 01 01 01 01 01 02
1F/BF6F: 02 01 00 02 00 00

For battle (ROM offset 0x5DE5A)
; palette for each job (first 4 also correspond to onion knight)
2E/9E4A: 00 01 02 00 00 00 01 00 01 00 02 00 02 00 01 01
2E/9E5A: 01 01 01 02 02 01 00 02 00 00

For menus (0x782E8)
; palette for each job
;     $00: fighter and character 1 onion knight
; $01-$15: other classes
; $16-$18: character 2, 3, 4 onion knight
; $19-$21: guest npcs
3C/82D8: 00 00 01 00 01 00 02 00 02 00 01 01 01 01 01 02
3C/82E8: 02 01 00 02 00 00 01 02 00 00 01 02 01 02 00 00
3C/82F8: 00 00

00 is red/white
01 is blue/yellow
02 is green/brown

Here is the order of the jobs:

00: onion kid 
01: fighter   
02: monk       
03: white mage
04: black mage
05: red mage   
06: hunter     
07: knight     
08: thief     
09: scholar   
0A: geomancer 
0B: dragoon   
0C: viking     
0D: karateka   
0E: m.knight   
0F: conjurer   
10: bard       
11: warlock   
12: shaman     
13: summoner   
14: sage       
15: ninja