Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Donkey Kong Land III/Notes: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
(Dang, I got the order mixed up)
Line 3: Line 3:
= Japanese Version =
= Japanese Version =


All color palettes, such as the [[Donkey Kong Land III:ROM map#Sprite_Color_Palettes|sprite color palettes]] (<tt>0x0001BE60-0x0001BE67</tt>) and the [[Donkey Kong Land III:ROM map#Level_Color_Palettes|level color palettes]] (<tt>0x00084FFB-0x000852FA</tt>) have four different colors (eight bytes) each and each color is a 15-bit value: 5 bits for red, 5 bits for green, and 5 for blue, in that order. Since each color has two bytes and there are 16 bits in two bytes, the first bit is unused. The bits for each color are then translated into a four-digit hex value, and the first two hex digits and the last two are switched because all [[Nintendo Game Boy|Game Boy]] variants are [[Endian|little endian]]. Sprite palettes are constant and never change at all in the game, so each sprite can have one of eight different color palettes.
All color palettes, such as the [[Donkey Kong Land III:ROM map#Sprite_Color_Palettes|sprite color palettes]] (<tt>0x0001BE60-0x0001BE67</tt>) and the [[Donkey Kong Land III:ROM map#Level_Color_Palettes|level color palettes]] (<tt>0x00084FFB-0x000852FA</tt>) have four different colors (eight bytes) each and each color is a 15-bit value: 5 bits for blue, 5 bits for green, and 5 for red, in that order. Since each color has two bytes and there are 16 bits in two bytes, the first bit is unused. The bits for each color are then translated into a four-digit hex value, and the first two hex digits and the last two are switched because all [[Nintendo Game Boy|Game Boy]] variants are [[Endian|little endian]]. Sprite palettes are constant and never change at all in the game, so each sprite can have one of eight different color palettes.


All [[Donkey Kong Land III:ROM map#Sprite_Colors|sprite color values]], from <tt>0x0001BEA0-0x0001BF1E</tt> (?), is assigned a 3-bit value from 00-07. This number corresponds to the palette defined in the [[Donkey Kong Land III:ROM map#Sprite_Color_Palettes|Sprite Color Palettes]] section (from <tt>0x0001BE60-0x0001BE9F</tt>). Any number 08 or higher will cause the sprite to be invisible, which isn't used at all.
All [[Donkey Kong Land III:ROM map#Sprite_Colors|sprite color values]], from <tt>0x0001BEA0-0x0001BF1E</tt> (?), is assigned a 3-bit value from 00-07. This number corresponds to the palette defined in the [[Donkey Kong Land III:ROM map#Sprite_Color_Palettes|Sprite Color Palettes]] section (from <tt>0x0001BE60-0x0001BE9F</tt>). Any number 08 or higher will cause the sprite to be invisible, which isn't used at all.

Revision as of 06:36, 6 July 2008

Chip tiny.png The following article is a Notes Page for Donkey Kong Land III.

Japanese Version

All color palettes, such as the sprite color palettes (0x0001BE60-0x0001BE67) and the level color palettes (0x00084FFB-0x000852FA) have four different colors (eight bytes) each and each color is a 15-bit value: 5 bits for blue, 5 bits for green, and 5 for red, in that order. Since each color has two bytes and there are 16 bits in two bytes, the first bit is unused. The bits for each color are then translated into a four-digit hex value, and the first two hex digits and the last two are switched because all Game Boy variants are little endian. Sprite palettes are constant and never change at all in the game, so each sprite can have one of eight different color palettes.

All sprite color values, from 0x0001BEA0-0x0001BF1E (?), is assigned a 3-bit value from 00-07. This number corresponds to the palette defined in the Sprite Color Palettes section (from 0x0001BE60-0x0001BE9F). Any number 08 or higher will cause the sprite to be invisible, which isn't used at all.

Most playable characters have different colors for various animations (such as jumping or swimming), especially Dixie and Kiddy (however, Ellie also has three and Squitter has two). Therefore, if you change the color of a character, it is important to change the color for every byte that relates to that character, otherwise a character can change color depending on his/her action.

When Kobble is defeated, his color becomes that of Skidda's. Therefore, if you make Skidda a different color from Kobble (Kobble's color is located in 0x0001BEA1, Skidda's is 0x0001BEA4), Kobble will turn into a different color when he is defeated.

For some reason, when trying to edit the color palette for cave levels (0x000851FB-0x0008523A), it completely screws up when playing the level Haunted Hollows (except the bonus stages in that level). It is likely because it is the only cave level with water in it. The same problem occurs with Ugly Ducting when trying to edit the color palette for tube levels.

(todo: add screenshots)