Skip to content

Instantly share code, notes, and snippets.

@microaeris
Last active July 17, 2017 00:16
Show Gist options
  • Save microaeris/73724340b45771ad4ba32f6e18c15549 to your computer and use it in GitHub Desktop.
Save microaeris/73724340b45771ad4ba32f6e18c15549 to your computer and use it in GitHub Desktop.
Harvest Moon Game Boy Font Tiles
/*
FONT.C
Tile Source File. Font copied from Harvest Moon GBC 2.
Sprite Sheet: https://www.spriters-resource.com/game_boy_gbc/harvestmoongbc2/sheet/68590/
Info:
Form : All tiles as one unit.
Tile size : 8 x 8
Tiles : 0 to 46
*/
/* Start of tile array. */
unsigned char font[] =
{
// Numbers 0-9
0x7C,0x7C,0x82,0x82,0x82,0x82,0x82,0x82,
0x82,0x82,0x82,0x82,0x7C,0x7C,0x00,0x00,
0x10,0x10,0x30,0x30,0x10,0x10,0x10,0x10,
0x10,0x10,0x10,0x10,0x7C,0x7C,0x00,0x00,
0x7C,0x7C,0x82,0x82,0x02,0x02,0x0C,0x0C,
0x30,0x30,0x40,0x40,0xFE,0xFE,0x00,0x00,
0x7C,0x7C,0x82,0x82,0x02,0x02,0x3C,0x3C,
0x02,0x02,0x82,0x82,0x7C,0x7C,0x00,0x00,
0x0C,0x0C,0x14,0x14,0x24,0x24,0x44,0x44,
0x84,0x84,0xFE,0xFE,0x04,0x04,0x00,0x00,
0xFC,0xFC,0x80,0x80,0x80,0x80,0xFC,0xFC,
0x02,0x02,0x82,0x82,0x7C,0x7C,0x00,0x00,
0x7C,0x7C,0x82,0x82,0x80,0x80,0xFC,0xFC,
0x82,0x82,0x82,0x82,0x7C,0x7C,0x00,0x00,
0x7E,0x7E,0x82,0x82,0x02,0x02,0x04,0x04,
0x04,0x04,0x08,0x08,0x08,0x08,0x00,0x00,
0x7C,0x7C,0x82,0x82,0x82,0x82,0x7C,0x7C,
0x82,0x82,0x82,0x82,0x7C,0x7C,0x00,0x00,
0x7C,0x7C,0x82,0x82,0x82,0x82,0x7E,0x7E,
0x02,0x02,0x82,0x82,0x7C,0x7C,0x00,0x00,
// Letters and symbols
0x10,0x10,0x28,0x28,0x28,0x28,0x44,0x44,
0x7C,0x7C,0x82,0x82,0x82,0x82,0x00,0x00,
0xF8,0xF8,0x84,0x84,0x84,0x84,0xFC,0xFC,
0x82,0x82,0x82,0x82,0xFC,0xFC,0x00,0x00,
0x3C,0x3C,0x42,0x42,0x80,0x80,0x80,0x80,
0x80,0x80,0x42,0x42,0x3C,0x3C,0x00,0x00,
0xF8,0xF8,0x84,0x84,0x82,0x82,0x82,0x82,
0x82,0x82,0x84,0x84,0xF8,0xF8,0x00,0x00,
0xFE,0xFE,0x80,0x80,0x80,0x80,0xFC,0xFC,
0x80,0x80,0x80,0x80,0xFE,0xFE,0x00,0x00,
0xFE,0xFE,0x80,0x80,0x80,0x80,0xFC,0xFC,
0x80,0x80,0x80,0x80,0x80,0x80,0x00,0x00,
0x3C,0x3C,0x42,0x42,0x80,0x80,0x9E,0x9E,
0x82,0x82,0x42,0x42,0x3C,0x3C,0x00,0x00,
0x82,0x82,0x82,0x82,0x82,0x82,0xFE,0xFE,
0x82,0x82,0x82,0x82,0x82,0x82,0x00,0x00,
0x7C,0x7C,0x10,0x10,0x10,0x10,0x10,0x10,
0x10,0x10,0x10,0x10,0x7C,0x7C,0x00,0x00,
0x7E,0x7E,0x08,0x08,0x08,0x08,0x08,0x08,
0x88,0x88,0x88,0x88,0x70,0x70,0x00,0x00,
0x84,0x84,0x88,0x88,0x90,0x90,0xB0,0xB0,
0xC8,0xC8,0x84,0x84,0x82,0x82,0x00,0x00,
0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,
0x80,0x80,0x80,0x80,0xFE,0xFE,0x00,0x00,
0x82,0x82,0xC6,0xC6,0xAA,0xAA,0x92,0x92,
0x82,0x82,0x82,0x82,0x82,0x82,0x00,0x00,
0x82,0x82,0xC2,0xC2,0xA2,0xA2,0x92,0x92,
0x8A,0x8A,0x86,0x86,0x82,0x82,0x00,0x00,
0x38,0x38,0x44,0x44,0x82,0x82,0x82,0x82,
0x82,0x82,0x44,0x44,0x38,0x38,0x00,0x00,
0xFC,0xFC,0x82,0x82,0x82,0x82,0xFC,0xFC,
0x80,0x80,0x80,0x80,0x80,0x80,0x00,0x00,
0x38,0x38,0x44,0x44,0x82,0x82,0x82,0x82,
0x8A,0x8A,0x44,0x44,0x3A,0x3A,0x00,0x00,
0xFC,0xFC,0x82,0x82,0x82,0x82,0xFC,0xFC,
0x88,0x88,0x84,0x84,0x82,0x82,0x00,0x00,
0x78,0x78,0x84,0x84,0x80,0x80,0x7C,0x7C,
0x02,0x02,0x82,0x82,0x7C,0x7C,0x00,0x00,
0xFE,0xFE,0x10,0x10,0x10,0x10,0x10,0x10,
0x10,0x10,0x10,0x10,0x10,0x10,0x00,0x00,
0x82,0x82,0x82,0x82,0x82,0x82,0x82,0x82,
0x82,0x82,0x82,0x82,0x7C,0x7C,0x00,0x00,
0x82,0x82,0x82,0x82,0x44,0x44,0x44,0x44,
0x28,0x28,0x28,0x28,0x10,0x10,0x00,0x00,
0x82,0x82,0x92,0x92,0xAA,0xAA,0xAA,0xAA,
0xC6,0xC6,0xC6,0xC6,0x82,0x82,0x00,0x00,
0xC6,0xC6,0x44,0x44,0x28,0x28,0x10,0x10,
0x28,0x28,0x44,0x44,0xC6,0xC6,0x00,0x00,
0x82,0x82,0x44,0x44,0x28,0x28,0x10,0x10,
0x10,0x10,0x10,0x10,0x10,0x10,0x00,0x00,
0xFE,0xFE,0x04,0x04,0x08,0x08,0x10,0x10,
0x20,0x20,0x40,0x40,0xFE,0xFE,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x60,0x60,0x92,0x92,
0x0C,0x0C,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0xFE,0xFE,0x00,0x00,
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
0x10,0x10,0x00,0x00,0x10,0x10,0x00,0x00,
0x3C,0x3C,0x42,0x42,0x42,0x42,0x1C,0x1C,
0x10,0x10,0x00,0x00,0x10,0x10,0x00,0x00,
0x18,0x18,0x18,0x18,0x08,0x08,0x10,0x10,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x18,0x18,0x18,0x18,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,
0x18,0x18,0x08,0x08,0x10,0x10,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x54,0x54,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x10,
0x00,0x00,0x10,0x10,0x00,0x00,0x00,0x00
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment