You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Use labels for script specials instead of constants/static values.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user