summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
Diffstat (limited to 'macros')
-rw-r--r--macros/event.asm1
-rw-r--r--macros/move_anim.asm1
-rw-r--r--macros/movement.asm1
-rw-r--r--macros/sound.asm2
-rw-r--r--macros/text.asm6
-rwxr-xr-xmacros/trade_anim.asm2
6 files changed, 10 insertions, 3 deletions
diff --git a/macros/event.asm b/macros/event.asm
index a439b8fbf..b00b6a6da 100644
--- a/macros/event.asm
+++ b/macros/event.asm
@@ -1,3 +1,4 @@
+; ScriptCommandTable indexes (see engine/scripting.asm)
enum_start
enum scall_command
diff --git a/macros/move_anim.asm b/macros/move_anim.asm
index c795f561e..9859fbd50 100644
--- a/macros/move_anim.asm
+++ b/macros/move_anim.asm
@@ -5,6 +5,7 @@ endc
db \1
endm
+; BattleAnimCommands indexes (see battle/anim_commands.asm)
enum_start $d0
enum anim_obj_command ; d0
diff --git a/macros/movement.asm b/macros/movement.asm
index 53b8bf107..a2acf1356 100644
--- a/macros/movement.asm
+++ b/macros/movement.asm
@@ -1,3 +1,4 @@
+; MovementPointers indexes (see engine/movement.asm)
enum_start
; Directional movements
diff --git a/macros/sound.asm b/macros/sound.asm
index ad6a50749..bac979a5f 100644
--- a/macros/sound.asm
+++ b/macros/sound.asm
@@ -23,7 +23,9 @@ cry_header: macro
dw \1, \2, \3
endm
+; MusicCommands indexes (see audio/engine.asm)
enum_start $d8
+
enum notetype_cmd
octave: macro
db notetype_cmd - (\1)
diff --git a/macros/text.asm b/macros/text.asm
index 08004f32a..5f4701b8c 100644
--- a/macros/text.asm
+++ b/macros/text.asm
@@ -7,9 +7,9 @@ cont EQUS "db $55," ; Scroll to the next line.
done EQUS "db $57" ; End a text box.
prompt EQUS "db $58" ; Prompt the player to end a text box (initiating some other event).
-; TX_RAM EQU $01
-; TX_FAR EQU $16
- enum_start 1
+; TextCommands indexes (see home/text.asm)
+ enum_start $01
+
enum TX_RAM
text_from_ram: MACRO
db TX_RAM
diff --git a/macros/trade_anim.asm b/macros/trade_anim.asm
index c590cb620..c38dc75d6 100755
--- a/macros/trade_anim.asm
+++ b/macros/trade_anim.asm
@@ -1,4 +1,6 @@
+; DoTradeAnimation.JumpTable indexes (see engine/trade/animation.asm)
enum_start
+
enum tradeanim_next_command
tradeanim_next: macro
db tradeanim_next_command ; 00