- 2
- Posts
- 234
- Days
- Seen Apr 27, 2025
Hi folks!
I need some help understanding how to modify tilemaps, tilesets and palettes. In particular, the Berry Tag menu.
![[PokeCommunity.com] Trouble modifying the Berry Tag menu graphics [PokeCommunity.com] Trouble modifying the Berry Tag menu graphics](https://data.pokecommunity.com/attachments/86/86540-f7e797e36eaf0fcf5f74453935e0d5c9.jpg)
There are many files in there.
First of all,
The real palette seems to be
But, that palette seems to be used by multiple tilesets/tilemaps.
Also, is it normal for the tilemap and tileset filenames to not match? one is check_berry and the other berry_tag.
Anyway, I did try to modify berry tag part of the menu but it did not work. I'll describe what I did, please tell me what I'm doing wrong!
In tilemap studio, I opened the tilemap
This seems correct to me so far:
![[PokeCommunity.com] Trouble modifying the Berry Tag menu graphics [PokeCommunity.com] Trouble modifying the Berry Tag menu graphics](https://data.pokecommunity.com/attachments/86/86541-c73fa0afb8b2a0ae20e1d6805b3daaf4.jpg)
Then, I used "Print Tilemap" and I got a tilemap png file that looks like what it did in tilemap studio.
I then loaded that up on Aseprite and loaded the
Back in tilemap studio, I used "Image to Tiles" on the modified png. This created a bin, a png and a pal.
![[PokeCommunity.com] Trouble modifying the Berry Tag menu graphics [PokeCommunity.com] Trouble modifying the Berry Tag menu graphics](https://data.pokecommunity.com/attachments/86/86542-c622c34441c44e5bdd3d4e0bedc373d8.jpg)
I replaced
Recompiled the game.
And after all that, it looks super broken:
![[PokeCommunity.com] Trouble modifying the Berry Tag menu graphics [PokeCommunity.com] Trouble modifying the Berry Tag menu graphics](https://data.pokecommunity.com/attachments/86/86543-88d38de6bb6ca699788fc952da0b41f5.jpg)
![[PokeCommunity.com] Trouble modifying the Berry Tag menu graphics [PokeCommunity.com] Trouble modifying the Berry Tag menu graphics](https://data.pokecommunity.com/attachments/86/86544-4e6584304115add8dd4bcad45c7ac6d9.jpg)
So, what am I doing wrong?
I need some help understanding how to modify tilemaps, tilesets and palettes. In particular, the Berry Tag menu.
![[PokeCommunity.com] Trouble modifying the Berry Tag menu graphics [PokeCommunity.com] Trouble modifying the Berry Tag menu graphics](https://data.pokecommunity.com/attachments/86/86540-f7e797e36eaf0fcf5f74453935e0d5c9.jpg)
There are many files in there.
C++:
const u32 gBerryCheck_Gfx[] = INCBIN_U32("graphics/bag/check_berry.4bpp.lz");
const u32 gBerryCheck_Pal[] = INCBIN_U32("graphics/bag/check_berry.gbapal.lz");
const u32 gBerryTag_Gfx[] = INCBIN_U32("graphics/bag/berry_tag.bin.lz");
const u32 gBerryTag_Pal[] = INCBIN_U32("graphics/bag/berry_tag_title.bin.lz");
First of all,
gBerryTag_Pal
is not a palette, is it? Seems like a tilemap to me.The real palette seems to be
gBerryCheck_Pal
.But, that palette seems to be used by multiple tilesets/tilemaps.
Also, is it normal for the tilemap and tileset filenames to not match? one is check_berry and the other berry_tag.
Anyway, I did try to modify berry tag part of the menu but it did not work. I'll describe what I did, please tell me what I'm doing wrong!
In tilemap studio, I opened the tilemap
berry_tag.bin
. Then loaded the tileset check_berry.png
.This seems correct to me so far:
![[PokeCommunity.com] Trouble modifying the Berry Tag menu graphics [PokeCommunity.com] Trouble modifying the Berry Tag menu graphics](https://data.pokecommunity.com/attachments/86/86541-c73fa0afb8b2a0ae20e1d6805b3daaf4.jpg)
Then, I used "Print Tilemap" and I got a tilemap png file that looks like what it did in tilemap studio.
I then loaded that up on Aseprite and loaded the
check_berry.pal
palette. I made random modifications to the image and saved it.Back in tilemap studio, I used "Image to Tiles" on the modified png. This created a bin, a png and a pal.
![[PokeCommunity.com] Trouble modifying the Berry Tag menu graphics [PokeCommunity.com] Trouble modifying the Berry Tag menu graphics](https://data.pokecommunity.com/attachments/86/86542-c622c34441c44e5bdd3d4e0bedc373d8.jpg)
I replaced
berry_tag.bin
and check_berry.png
and I tried both replacing and not replacing check_berry.pal
(since I didn't modify/added/removed any colors).Recompiled the game.
And after all that, it looks super broken:
![[PokeCommunity.com] Trouble modifying the Berry Tag menu graphics [PokeCommunity.com] Trouble modifying the Berry Tag menu graphics](https://data.pokecommunity.com/attachments/86/86543-88d38de6bb6ca699788fc952da0b41f5.jpg)
![[PokeCommunity.com] Trouble modifying the Berry Tag menu graphics [PokeCommunity.com] Trouble modifying the Berry Tag menu graphics](https://data.pokecommunity.com/attachments/86/86544-4e6584304115add8dd4bcad45c7ac6d9.jpg)
So, what am I doing wrong?