Move more code from home.asm to home/

This commit is contained in:
Rangi 2020-07-03 22:57:43 -04:00
parent 6ef36800b0
commit 053afc4634
19 changed files with 2836 additions and 2854 deletions

View file

@ -1,13 +1,3 @@
predef_const: MACRO
const \1PredefID
ENDM
add_predef: MACRO
\1Predef::
db BANK(\1)
dw \1
ENDM
predef_id: MACRO
ld a, (\1Predef - PredefPointers) / 3
ENDM
@ -22,17 +12,6 @@ predef_jump: MACRO
jp Predef
ENDM
tx_pre_const: MACRO
const \1_id
ENDM
add_tx_pre: MACRO
\1_id:: dw \1
ENDM
db_tx_pre: MACRO
db (\1_id - TextPredefs) / 2 + 1
ENDM
tx_pre_id: MACRO
ld a, (\1_id - TextPredefs) / 2 + 1
@ -47,3 +26,7 @@ tx_pre_jump: MACRO
tx_pre_id \1
jp PrintPredefTextID
ENDM
db_tx_pre: MACRO
db (\1_id - TextPredefs) / 2 + 1
ENDM