summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2017-12-15 00:54:45 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2017-12-15 00:54:45 -0500
commitd334a331fabe25c4094c4c7e4cd9e270f51c1a30 (patch)
tree4aed5a78ecfce79be92409959d17bcfa5850da4b
parentd6dc9351e9876d96c4d471aa1da9b722bbae1c9e (diff)
Correct `endturn` value
-rw-r--r--docs/effect_commands.md4
-rw-r--r--macros/scripts/effect_commands.asm7
2 files changed, 6 insertions, 5 deletions
diff --git a/docs/effect_commands.md b/docs/effect_commands.md
index 172b04b8a..3112950a9 100644
--- a/docs/effect_commands.md
+++ b/docs/effect_commands.md
@@ -353,6 +353,6 @@ Defined in [macros/scripts/effect_commands.asm](/macros/scripts/effect_commands.
## `$AF`: `curl`
-## `$FF`: `endmove`
+## `$FE`: `endturn`
-## `$00`: `endturn`
+## `$FF`: `endmove`
diff --git a/macros/scripts/effect_commands.asm b/macros/scripts/effect_commands.asm
index bc752262f..4fd2475b7 100644
--- a/macros/scripts/effect_commands.asm
+++ b/macros/scripts/effect_commands.asm
@@ -181,6 +181,7 @@ endm
command startloop ; ae
command curl ; af
- enum_start -1, -1
- command endmove
- command endturn
+__enum__ set $fe
+
+ command endturn ; fe
+ command endmove ; ff