mostly finish string_util.c

This commit is contained in:
YamaArashi
2017-01-14 15:17:51 -08:00
parent 1268134668
commit 53935efc64
7 changed files with 322 additions and 480 deletions
+16
View File
@@ -3,6 +3,22 @@
#include "gba/gba.h"
// Prevent cross-jump optimization.
#define BLOCK_CROSS_JUMP asm("");
// to help in decompiling
#define asm_comment(x) asm volatile("@ -- " x " -- ")
#define ARRAY_COUNT(array) (sizeof(array) / sizeof((array)[0]))
#define POKEMON_NAME_LENGTH 10
#define OT_NAME_LENGTH 7
extern u8 gStringVar1[];
extern u8 gStringVar2[];
extern u8 gStringVar3[];
extern u8 gStringVar4[];
enum
{
VERSION_SAPPHIRE = 1,