summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2018-01-31 14:58:34 -0600
committerGitHub <noreply@github.com>2018-01-31 14:58:34 -0600
commit9b1eb0b9036eb7200d4042c92b93d1d642a8dac7 (patch)
treec9b08c43bc300e1b4295f9cb1fb614a43cc1be40 /include
parentef3df1d40c9dd66df2b54ddac52ee3091be3707a (diff)
parenta998cba4f03b34c147acb78d4b70766a50346afe (diff)
Merge pull request #195 from ProjectRevoTPP/save_rodata
save.c rodata
Diffstat (limited to 'include')
-rw-r--r--include/global.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index 9f6c45df1..f358dafe7 100644
--- a/include/global.h
+++ b/include/global.h
@@ -37,6 +37,9 @@
#define POKEMON_NAME_LENGTH 10
#define OT_NAME_LENGTH 7
+#define min(a, b) ((a) < (b) ? (a) : (b))
+#define max(a, b) ((a) >= (b) ? (a) : (b))
+
#define HEAP_SIZE 0x1C000
extern u8 gStringVar1[];