You are not logged in.
Pages: 1
It's been a while since I visited the forum, so up to this time I have some questions:
1. Where is charmap for text_box.png?
2. Where does game use AB.png and p_tile.png?
3. How to edit the order of gamefreak_intro.png tiles on title screen?
Offline
GitHub's search function in the top-right can help answer your questions.
1. Where is charmap for text_box.png?
There isn't one. text_box.2bpp is defined as TextBoxGraphics by main.asm:177, and TextBoxGraphics is loaded by home.asm:3106 and engine/menu/start_sub_menus.asm:556. The places that reference its tiles, like here and here, do so with raw tile IDs.
2. Where does game use AB.png and p_tile.png?
AB.2bpp is defined as ABTiles by main.asm:166, and p_tile.1bpp is defined as PTile by engine/menu/status_screen.asm:244. ABTiles is not referenced anywhere, and as far as I can tell that graphic data is unused. PTile is referenced by c44171/engine/menu/status_screen.asm; it's the P for PP, tile $72.
Note that plenty of tiles in gfx/font.png are unused, so you could add the bold P to it, give it an alias like "[PPP]" in charmap.asm, and remove all the code for loading p_tile.1bpp. Same goes for the subset of tiles in gfx/text_box.png that are actually used; many are not. (As Danny-E explains in that thread, getting rid of gfx/text_box.png also frees up 25 more tiles that can be used by maps.)
3. How to edit the order of gamefreak_intro.png tiles on title screen?
gamefreak_intro.2bpp is defined as GameFreakIntro by engine/intro.asm:433 and referenced by LoadIntroGraphics. The order is defined by engine/titlescreen.asm:379 ("©'95.'96.'98 Nintendo / ©'95.'96.'98 Creatures inc. / ©'95.'96.'98 GAME FREAK inc.") and engine/gamefreak.asm:215 ("GAME FREAK PRESENTS" and their logo). (I think that only the original Red+Green had the "PRESENTS" text.)
Last edited by Rangi (2017-03-29 21:10:38)
My projects on GitHub:
• Polished Map 4.5.4 or 2.5.4++
• Tilemap Studio 3.2.2
• Pokémon Polished Crystal 2.2.0 or 3.0.0 beta
• Pokémon Red★/Blue★: Space World Edition 2020-11-01
Offline
Pages: 1