Convert item_icon_table.inc to C

This commit is contained in:
Slawter666
2018-05-06 13:37:28 +01:00
parent aab1238ec0
commit 279a6e1ddc
5 changed files with 908 additions and 1523 deletions

View File

@@ -4,13 +4,13 @@
#include "sprite.h"
#include "decompress.h"
#include "constants/items.h"
#include "data/item_icon_table.h"
// EWRAM vars
EWRAM_DATA void *gItemIconDecompressionBuffer = NULL;
EWRAM_DATA void *gItemIcon4x4Buffer = NULL;
// const rom data
extern const void *const gItemIconTable[][2]; // todo: move to C file
static const struct OamData sOamData_ItemIcon =
{