shithub: pokecrystal

Download patch

ref: d334a331fabe25c4094c4c7e4cd9e270f51c1a30
parent: d6dc9351e9876d96c4d471aa1da9b722bbae1c9e
author: Remy Oukaour <remy.oukaour@gmail.com>
date: Thu Dec 14 19:54:45 EST 2017

Correct `endturn` value

--- a/docs/effect_commands.md
+++ b/docs/effect_commands.md
@@ -353,6 +353,6 @@
 
 ## `$AF`: `curl`
 
-## `$FF`: `endmove`
+## `$FE`: `endturn`
 
-## `$00`: `endturn`
+## `$FF`: `endmove`
--- a/macros/scripts/effect_commands.asm
+++ b/macros/scripts/effect_commands.asm
@@ -181,6 +181,7 @@
 	command startloop               ; ae
 	command curl                    ; af
 
-	enum_start -1, -1
-	command endmove
-	command endturn
+__enum__ set $fe
+
+	command endturn                 ; fe
+	command endmove                 ; ff