aboutsummaryrefslogtreecommitdiffstats
path: root/macros/scripts/events.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2021-04-13 17:48:44 -0500
committerdannye <33dannye@gmail.com>2021-04-13 17:48:44 -0500
commit3af309e80584a0e2567586613f406883118d88e3 (patch)
tree9204f1351993e4679ad9ef91aa82ad1ebb4b8c4c /macros/scripts/events.asm
parentTrim extra newlines from some files (diff)
parentThe 'def_trainers' macro checks that trainers' event flag bits are correct (#... (diff)
downloadpokeyellow-3af309e80584a0e2567586613f406883118d88e3.tar.gz
pokeyellow-3af309e80584a0e2567586613f406883118d88e3.tar.xz
pokeyellow-3af309e80584a0e2567586613f406883118d88e3.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'macros/scripts/events.asm')
-rw-r--r--macros/scripts/events.asm22
1 files changed, 0 insertions, 22 deletions
diff --git a/macros/scripts/events.asm b/macros/scripts/events.asm
index afa9783d..83c938c0 100644
--- a/macros/scripts/events.asm
+++ b/macros/scripts/events.asm
@@ -273,28 +273,6 @@ ResetEvents: MACRO
ENDM
-;\1 = event index
-;\2 = number of bytes away from the base address (optional, for matching the ROM)
-dbEventFlagBit: MACRO
- IF _NARG > 1
- db ((\1) % 8) + ((\2) * 8)
- ELSE
- db ((\1) % 8)
- ENDC
-ENDM
-
-
-;\1 = event index
-;\2 = number of bytes away from the base address (optional, for matching the ROM)
-dwEventFlagAddress: MACRO
- IF _NARG > 1
- dw wEventFlags + ((\1) / 8) - (\2)
- ELSE
- dw wEventFlags + ((\1) / 8)
- ENDC
-ENDM
-
-
;\1 = start
;\2 = end
SetEventRange: MACRO