I fully get that ASM is NOT a high level language. But I'm curious. It has functions like .include. Could the target of that .include be variable, somehow? Let's say I had moveScript1 and moveScript2. Is there any way to define which to include in a variable way? In know that a constant expects a numerical value, but something like that...(I know this isn't directly possible, but conceptually)
Code: Select all
MOVE_SCRIPT = "scripts\MoveScript1.asm" ;; sets a target
.include MOVE_SCRIPT ;; this now does the same as
;; .include "scripts\MoveScript1.asm"
Thoughts?