mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-03-21 17:34:42 -05:00
This greatly decreases the ROM size, from 245 KB to 198 KB with no visual
changes (that I am aware of)
Changes:
- Enable compression on every graphic but the Pokemon sprites (which are
too large for the GBA to decompress).
- Change grit from emitting .s files to .c files so GCC can strip unused
palettes and maps
- Fix the empty tiles
- Trim down the font to skip 00-1F and 80-FF which were all zeroes
- needs a slight workaround because the Pokemon name display was printing
an invisible FF byte
- Switch memcpy to tonccpy which is vram safe
- Limit palette sizes.
Signed-off-by: easyaspi314 <6258309+easyaspi314@users.noreply.github.com>
15 lines
228 B
C
15 lines
228 B
C
|
|
//{{BLOCK(pkmn_font)
|
|
|
|
#ifndef __PKMN_FONT__
|
|
#define __PKMN_FONT__
|
|
|
|
extern const TFont pkmn_fontFont;
|
|
|
|
#define pkmn_fontGlyphsLen 768
|
|
extern const unsigned int pkmn_fontGlyphs[96];
|
|
|
|
#endif // __PKMN_FONT__
|
|
|
|
//}}BLOCK(pkmn_font)
|