summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-07-20 19:41:23 -0700
committerYamaArashi <shadow962@live.com>2015-07-20 19:41:23 -0700
commitfd2b4b6c74e324f423cd3a5aac0428eae12b7620 (patch)
tree3ab359d55a9327c4649bcc96e9fd42c5994fe088 /macros.asm
parentfcab935a0f449246380480613ac0896e0b90a0d8 (diff)
gym leader events
Diffstat (limited to 'macros.asm')
-rw-r--r--macros.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros.asm b/macros.asm
index 11f0f37b..62fd4b53 100644
--- a/macros.asm
+++ b/macros.asm
@@ -428,7 +428,7 @@ event_fill_count = 1 + event_fill_count
ELSE
IF ((\2) % 8) != 7
ld a, [wEventFlags + event_end_byte]
- and ~((1 << (((\2) % 8) + 1)) - 1) $ ff
+ and ~((1 << (((\2) % 8) + 1)) - 1) & $ff
ld [wEventFlags + event_end_byte], a
ENDC
ENDC