View Single Post
  #24859    
Old May 3rd, 2013, 05:12 AM
kearnseyboy6's Avatar
kearnseyboy6
Aussie's Toughest Mudder
 
Join Date: Dec 2008
Quote:
Originally Posted by karatekid552 View Post
The color system is much different. It isn't reading actual colors, but more, it is reading what slot in the palette the color is in. Take a look:

FF 00 00 is 3 bytes.

There are 8 bits is one byte.

So, to break those numbers up into groups of 4 bits:

F F 0 0 0 0

Understand?

So, I don't understand exactly how it corelates to each slot in the palette, but the first "F" goes with sprite 0, the second "F" goes with sprite 1, the third number (0) goes with sprite 2, the next with sprite 3, etc. This should be enough info to get you to play around with it. Try looking at a boy's sprite in the table and then a girl's and see how they are different.
THANK YOU! I can't believe I didn't know what a bit was... would have made it easier!

Anyway I played around with the area the number 0 = Boy (blue), 1 = Girl (red) and any value from 2-F was black. So I was stuck again.

I ended up searching the whole palette (found this by accident when the text doesn't change with DNS and saw only 3 palettes weren't affected) and found it at 0x471DF4 (proof I found it) and changed it from red to my colour. Now it works So thank you!!!

So RED is located at 0x471DF4
And BLUE is at 0x471DFC