Poke_Transporter_GB/include/pkmn_font.h
easyaspi314 e4ef25e20e Compress the graphics (mostly), fix potential vram memcpy issue
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>
2025-01-17 19:32:48 -05:00

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)