summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-02-03 09:42:19 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2018-02-03 09:42:19 -0500
commitd52f52fa734b856361b04ea5d70877a6f265df0c (patch)
tree60444b7ba53b8e4c9030a694acb03c54e4144778 /include/global.h
parentd4e8c20f840996049f269ffcd22d7e3feb489696 (diff)
parenteb6aed50e56f36ce416f7ecc8edfacea1da61bf1 (diff)
Merge branch 'master' into link
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 8b1925513..7a892c5bd 100644
--- a/include/global.h
+++ b/include/global.h
@@ -38,6 +38,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[];