Files
pokegold-spaceworld/macros/scripts.asm
T
Rangi fac958b280 - Remove trailing whitespace
- Indent with single tabs, not spaces
- Colons after labels
- Capitalize BANK, HIGH, and LOW
- dbw BANK(X), X -> dba X
2020-09-20 13:58:03 -04:00

15 lines
194 B
NASM
Executable File

init_script_table: MACRO
script_id = 0
ENDM
add_script: MACRO
dw \1
\1ScriptID = script_id
script_id = script_id + 1
ENDM
set_script: MACRO
ld a, \1ScriptID
ld [wFieldMoveScriptID], a
ENDM