summaryrefslogtreecommitdiff
path: root/include/gba/io_reg.h
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2021-04-19 21:55:40 -0700
committerGitHub <noreply@github.com>2021-04-19 23:55:40 -0500
commitf65dee5a143bd543c74c010d7252eb76893ee243 (patch)
treed343e826c63f8b501d37873c3c7bc1f010819deb /include/gba/io_reg.h
parentd316d1e359c7672277a9cf644acd4e40170f5968 (diff)
Wonder mail and some boss dialogues (#36)
* more wonder mail and main menu work * Lots of things.. doc'ing, decomping, and other things * continue decomping boss scenes * up to Suicune * up to Mewtwo dialogue * up to Raquaza * fix spelling error on Rayquaza and decomp a few more * up to groudon * divide > shift
Diffstat (limited to 'include/gba/io_reg.h')
-rw-r--r--include/gba/io_reg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/gba/io_reg.h b/include/gba/io_reg.h
index 2453645..e50b580 100644
--- a/include/gba/io_reg.h
+++ b/include/gba/io_reg.h
@@ -597,6 +597,9 @@
// BLDALPHA
#define BLDALPHA_BLEND(target1, target2) (((target2) << 8) | (target1))
+// There is one time that we need to reverse the OR to match in PMD
+#define BLDALPHA_BLEND1(target1, target2) ((target1) | ((target2) << 8))
+
// SOUNDCNT_H
#define SOUND_CGB_MIX_QUARTER 0x0000
#define SOUND_CGB_MIX_HALF 0x0001