Romhacking.net

Romhacking => ROM Hacking Discussion => Topic started by: Dogeritos on February 01, 2015, 09:32:20 AM

Title: ALttP Item Icon Editing in YY-CHR
Post by: Dogeritos on February 01, 2015, 09:32:20 AM
I need to change the flute's icon graphics because I edited the main ones. What's the location of the icon graphics in YY-CHR? I'll greatly appreciate if anyone can help. Thanks!
Title: Re: ALttP Item Icon Editing in YY-CHR
Post by: puzzledude on February 01, 2015, 01:43:53 PM
The gfx for all the Menu items (including the Flute) is at bin gfx address 38800, that's somewhere in the middle, right after that big empty gap. But the encoding must be set to 2BPP GB, since the menu is 8-bit, instead of 16-bit and only has 3 colours: white, black and the "colour", which is then defined as blue, red, green or yellow.

(http://dl.dropbox.com/s/zn9vifs83e5med9/Menu.png?dl=0)


The gfx for the Flute coming out of the chest or when digged up from the ground is elsewhere and is in 16-bit, at 66000, where all the item-sprites are at.

Luckily the Flute has no third location, which is using the item in-game (like the Hammer). Some rare items have even more locations, such as the pendant (since it needs the gfx for the map display and when on-screen during the Master sword grab).
Title: Re: ALttP Item Icon Editing in YY-CHR
Post by: Dogeritos on February 01, 2015, 04:05:48 PM
Quote from: puzzledude on February 01, 2015, 01:43:53 PM
The gfx for all the Menu items (including the Flute) is at bin gfx address 38800, that's somewhere in the middle, right after that big empty gap. But the encoding must be set to 2BPP GB, since the menu is 8-bit, instead of 16-bit and only has 3 colours: white, black and the "colour", which is then defined as blue, red, green or yellow.

(http://dl.dropbox.com/s/zn9vifs83e5med9/Menu.png?dl=0)


The gfx for the Flute coming out of the chest or when digged up from the ground is elsewhere and is in 16-bit, at 66000, where all the item-sprites are at.

Luckily the Flute has no third location, which is using the item in-game (like the Hammer). Some rare items have even more locations, such as the pendant (since it needs the gfx for the map display and when on-screen during the Master sword grab).

Thank you!:D