summaryrefslogtreecommitdiff
path: root/macros/scripts
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-11-06 10:34:05 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-11-06 10:34:05 -0500
commit4efb3e307cd6b4bf267ab0d509f8e5ab498f798e (patch)
treecd405b6d1ca27c14bfbed4fd3c2fefe91be7ee33 /macros/scripts
parent5db3bdd6551fad07066b669db1e44a6151aaa0b4 (diff)
Sync more with pokered
Diffstat (limited to 'macros/scripts')
-rw-r--r--macros/scripts/events.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/macros/scripts/events.asm b/macros/scripts/events.asm
index 266ffdd1..72420091 100644
--- a/macros/scripts/events.asm
+++ b/macros/scripts/events.asm
@@ -62,15 +62,15 @@ event_byte = ((\2) / 8)
ENDM
-EventFlagAddressa: MACRO
+EventFlagAddressA: MACRO
event_byte = ((\1) / 8)
ld [wEventFlags + event_byte], a
- ENDM
+ENDM
-aEventFlagAddress: MACRO
+AEventFlagAddress: MACRO
event_byte = ((\1) / 8)
ld a, [wEventFlags + event_byte]
- ENDM
+ENDM
;\1 = event index
CheckEventHL: MACRO
@@ -156,7 +156,7 @@ event_byte = ((\1) / 8)
bit (\1) % 8, [hl]
set (\1) % 8, [hl]
- ENDM
+ENDM
CheckAndResetEventReuseHL: MACRO
IF event_byte != ((\1) / 8)
@@ -166,7 +166,7 @@ event_byte = ((\1) / 8)
bit (\1) % 8, [hl]
res (\1) % 8, [hl]
- ENDM
+ENDM
;\1 = event index
@@ -519,7 +519,7 @@ event_byte = ((\1) / 8)
pop bc
ENDC
ENDC
- ENDM
+ENDM
; for handling fixed event bits when events are inserted/removed
;\1 = event index