Use labels for script specials instead of constants/static values.

This commit is contained in:
yenatch
2015-02-11 15:03:42 -08:00
parent 8bc89189cc
commit b048ea0faf
110 changed files with 699 additions and 691 deletions

View File

@@ -80,11 +80,19 @@ callasm: macro
dw \1
endm
special: macro
db $0f
dw \1 ; predefined_script
dw (\1Special - SpecialsPointers) / 3
endm
add_special: MACRO
\1Special::
db BANK(\1)
dw \1
ENDM
ptcallasm: macro
db $10
dw \1 ; asm