summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
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[];