summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2018-01-31 15:26:57 -0500
committerProjectRevoTPP <projectrevotpp@hotmail.com>2018-01-31 15:26:57 -0500
commit78bd2b0849f357f0d2fbbb8e1e69e50d630dd9b0 (patch)
treec51ded4d73eed841f9e9cf330d72213c704fa940 /include/global.h
parentef3df1d40c9dd66df2b54ddac52ee3091be3707a (diff)
move save rodata to source and use saveblock chunk macros
Diffstat (limited to 'include/global.h')
-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[];