Author Topic: FF4 Advance's sprite color count vs FF4 SFC  (Read 2740 times)

JCE3000GT

  • Master of FF4
  • *
  • Posts: 1,429
  • Gender: Male
  • Vladof
    • View Profile
    • BlitzKrieg Innovations
FF4 Advance's sprite color count vs FF4 SFC
« on: August 30, 2008, 10:52:33 PM »
So anyone dissect the sprite color count of the GBA FF4 yet?  If so how many more (if any) colors are the characters, monsters, etc? 

Dragonsbrethren

  • Forum Overlord
  • *
  • Posts: 1,820
    • View Profile
    • Dragonsbrethren Industries
Re: FF4 Advance's sprite color count vs FF4 SFC
« Reply #1 on: August 30, 2008, 10:54:00 PM »
The GBA game uses 16 colors for most sprites/tiles, the SNES version used 8 with a few exceptions.

JCE3000GT

  • Master of FF4
  • *
  • Posts: 1,429
  • Gender: Male
  • Vladof
    • View Profile
    • BlitzKrieg Innovations
Re: FF4 Advance's sprite color count vs FF4 SFC
« Reply #2 on: August 30, 2008, 10:55:28 PM »
The GBA game uses 16 colors for most sprites/tiles, the SNES version used 8 with a few exceptions.

Question, does FF6 use 16 colors per sprite?

Dragonsbrethren

  • Forum Overlord
  • *
  • Posts: 1,820
    • View Profile
    • Dragonsbrethren Industries
Re: FF4 Advance's sprite color count vs FF4 SFC
« Reply #3 on: August 30, 2008, 11:01:34 PM »
FF6's characters use 12 in battle, they use the last four colors for the cursor/recovery palette, the recovery palette, an unused palette, and the reflect barrier's palette. Even with that optimization they still had to overwrite those palettes for a few spell animations, which is what causes this.

JCE3000GT

  • Master of FF4
  • *
  • Posts: 1,429
  • Gender: Male
  • Vladof
    • View Profile
    • BlitzKrieg Innovations
Re: FF4 Advance's sprite color count vs FF4 SFC
« Reply #4 on: August 30, 2008, 11:05:59 PM »
FF6's characters use 12 in battle, they use the last four colors for the cursor/recovery palette, the recovery palette, an unused palette, and the reflect barrier's palette. Even with that optimization they still had to overwrite those palettes for a few spell animations, which is what causes this.

So it is indeed possible for the SFC to display 16 colors per sprite?  Now, how can we get FF4 to do this?  I'd guess that there is an ASM code set that sets the number of colors for the sprites then sets the palette data table at a particular length.  Then the start of the pointers or both data blocks.  Thoughts?

Dragonsbrethren

  • Forum Overlord
  • *
  • Posts: 1,820
    • View Profile
    • Dragonsbrethren Industries
Re: FF4 Advance's sprite color count vs FF4 SFC
« Reply #5 on: August 30, 2008, 11:11:35 PM »
Take a look at this again. I'd imagine the other graphics would be similar.

 :edit:

Felt I should mention, while there are technically 16 colors the first color of the palette is always transparent.

Phoenix

  • FF4 Hacker
  • *
  • Posts: 456
    • View Profile
    • Phoenix Hacks
Re: FF4 Advance's sprite color count vs FF4 SFC
« Reply #6 on: August 30, 2008, 11:47:49 PM »
I've tried it, and I couldn't get it to work. I think the problem I ran into was that there was only so much RAM for overworld sprite palettes, and I wasn't sure what other locations in RAM could be used. I think I also had trouble loading from the palettes...I forget exactly what the problem was, but if anyone does get it to work, let me know.