summaryrefslogtreecommitdiff
path: root/engine/overworld
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-09 11:27:10 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-09 11:27:10 -0400
commit61598ad92556072233fa3bae28b07999cabf0c99 (patch)
tree02107b2b2fd90b35c035a89f13035c6ef9d185f5 /engine/overworld
parentab0c582cbc79df7226357bc23b9e8254bcc4f053 (diff)
Eliminate enum: use const instead, with case-by-case parallel const implementations
Diffstat (limited to 'engine/overworld')
-rw-r--r--engine/overworld/movement.asm2
-rw-r--r--engine/overworld/scripting.asm2
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/overworld/movement.asm b/engine/overworld/movement.asm
index 3789ff51..24c7a542 100644
--- a/engine/overworld/movement.asm
+++ b/engine/overworld/movement.asm
@@ -1,5 +1,5 @@
MovementPointers:
-; entries correspond to macros/scripts/movement.asm enumeration
+; entries correspond to movement_* constants (see macros/scripts/movement.asm)
dw Movement_turn_head_down ; 00
dw Movement_turn_head_up ; 01
dw Movement_turn_head_left ; 02
diff --git a/engine/overworld/scripting.asm b/engine/overworld/scripting.asm
index b952818b..11f3fc45 100644
--- a/engine/overworld/scripting.asm
+++ b/engine/overworld/scripting.asm
@@ -62,7 +62,7 @@ RunScriptCommand:
ret
ScriptCommandTable:
-; entries correspond to macros/scripts/events.asm enumeration
+; entries correspond to *_command constants (see macros/scripts/events.asm)
dw Script_scall ; 00
dw Script_farscall ; 01
dw Script_memcall ; 02