summaryrefslogtreecommitdiff
path: root/include/constants
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2018-01-30 13:06:32 -0600
committerGitHub <noreply@github.com>2018-01-30 13:06:32 -0600
commitb08b94978b3f9271e30f1d65a20d2f60e26e4ddb (patch)
treef7afe118b026cb67b263763224436754d998c838 /include/constants
parent8dbab51c0e30c1cd590fd549324eaa54b45224a6 (diff)
parent78fc471f320f7088caa0bf0e7fa065ca1d75329e (diff)
Merge pull request #184 from DizzyEggg/decompile_pokemon_animation
decompilie pokemon animation
Diffstat (limited to 'include/constants')
-rw-r--r--include/constants/rgb.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/constants/rgb.h b/include/constants/rgb.h
new file mode 100644
index 000000000..2c22df32a
--- /dev/null
+++ b/include/constants/rgb.h
@@ -0,0 +1,15 @@
+#ifndef GUARD_RGB_H
+#define GUARD_RGB_H
+
+#define RGB(r, g, b) ((r) | ((g) << 5) | ((b) << 10))
+
+#define RGB_BLACK RGB(0, 0, 0)
+#define RGB_WHITE RGB(31, 31, 31)
+#define RGB_RED RGB(31, 0, 0)
+#define RGB_GREEN RGB(0, 31, 0)
+#define RGB_BLUE RGB(0, 0, 31)
+#define RGB_YELLOW RGB(31, 31, 0)
+#define RGB_MAGENTA RGB(31, 0, 31)
+#define RGB_CYAN RGB(0, 31, 31)
+
+#endif // GUARD_RGB_H