summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
Diffstat (limited to 'macros.asm')
-rw-r--r--macros.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros.asm b/macros.asm
index c4318278..f153e379 100644
--- a/macros.asm
+++ b/macros.asm
@@ -342,11 +342,11 @@ add_tx_pre: MACRO
ENDM
db_tx_pre: MACRO
- db \1_id
+ db (\1_id - TextPredefs) / 2 + 1
ENDM
tx_pre_id: MACRO
- ld a, \1_id ; - TextPredefs) / 2 + 1
+ ld a, (\1_id - TextPredefs) / 2 + 1
ENDM
tx_pre: MACRO