From f65dee5a143bd543c74c010d7252eb76893ee243 Mon Sep 17 00:00:00 2001 From: Seth Barberee Date: Mon, 19 Apr 2021 21:55:40 -0700 Subject: 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 --- include/gba/io_reg.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/gba/io_reg.h') 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 -- cgit v1.2.3