View Single Post
  #17    
Old November 22nd, 2012, 07:45 PM
Sudeki's Avatar
Sudeki
Can you feel it?
 
Join Date: Feb 2010
Location: Golden Rod
Age: 22
Gender: Male
Nature: Gentle
Quote:
Originally Posted by solrecon111 View Post
I know you probably don't want to say how but where could I find out how to do that, like point me to a certain forum here or somewhere else.

Thank you.
Open up NSE Classic, go to the sprite you want to change the palette number of. Make sure "Advanced" mode is on.
Then you want to find the "Sprite Offset:" Go to that offset in your hex editor.

Ripped from Metapod 23's thread
Here is what the hero's first overworld data looks like
Code:
  FFFF001102110002100020001001000010373A089C373A0870343A08A0003A08FC1C2308
and is broken down like this (courtesy of GBChacker's post):

Code:
FFFF     = Starter Byte
00     = Palette Number
11 02 11 = Sprite validation.
0200 = This is equal to the second 4 numbers in the Frame Data Pointer; this is the size of each frame
0010 = Width
0020     = Height
0110 and 0000 = oam data. Do not modify!
1@ 10373A08    = Points to @3.
2@ 9C373A08    = Void pointer\ unsure.
3@ 70343A08    = A pointer to @5 lol.
4@ A0003A08    = Sprite Pointer
5@ FC1C2308    = Pointer to pointers which point to code that loads the  sprite through the ewram into the sprite block of the vram and its data  into the oam.
I bolded the parts you are interested in. Do not forget to put the number in hex and not decimal.
__________________
Reply With Quote