mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-10-06 07:45:30 -04:00
fac958b280
- Indent with single tabs, not spaces - Colons after labels - Capitalize BANK, HIGH, and LOW - dbw BANK(X), X -> dba X
15 lines
194 B
NASM
Executable File
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
|