View Single Post
  #1    
Old December 6th, 2007 (2:23 AM).
Coolboyman's Avatar
Coolboyman Coolboyman is offline
Veteran Hacker
     
    Join Date: Sep 2003
    Location: The East Bay
    Age: 29
    Gender: Male
    Nature: Bold
    Posts: 471
    Each palette has 2 bytes that tells it's color. You need to basically add up the values, so if you want 31 Red, you need to use 1F00. More of a color is lighter, and less of it is darker. You can find out what colors the game uses using the palette viewer in Visual Boy Advance. To find them, you need to flip the two variables displayed (if it's 5A27 then search for 275A)

    First:
    01 = R + 1
    02 = R + 2
    04 = R + 4
    08 = R + 8
    10 = R + 16
    20 = G + 1
    40 = G + 2
    80 = G + 4

    Second:
    01 = G + 8
    02 = G + 16
    04 = B + 1
    08 = B + 2
    10 = B + 4
    20 = B + 8
    40 = B + 16

    Examples (Basic Colors):
    FF03 = Yellow
    1F00 = Red
    E003 = Green
    007C = Blue
    1F7C = Pink
    C0FF = Cyan

    1C7C = Purple
    1F02 = Orange
    1002 = Brown
    FF7F = White
    0001 = Dark Green
    1042 = Grey/Silver

    0000 = Black
    Reply With Quote