Effects of branch (and union) space [Commit 2] (#28)

This commit is contained in:
xCrystal
2023-10-28 19:09:58 +02:00
parent a13558aeb2
commit 29f98ccb8c
15 changed files with 104 additions and 16 deletions

View File

@@ -134,9 +134,17 @@ ENDM
MACRO space
;\1: x coord
;\2: y coord
; [non-branch space]
;\3: effect (space type specific)
;\4: next space
db \1, \2, \3, \4
; [branch space]
;\3: pointer to branch struct
db \1, \2
if _NARG == 4
db \3, \4
else
dw \3
endc
ENDM
MACRO trainer