Explorar el Código

ColoScript Autopilot reworked so it will actually use Express Mode.

david hace 5 años
padre
commit
7f5cd92491
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      flexible.py

+ 3 - 3
flexible.py

@@ -2587,9 +2587,9 @@ class ColoScript(object):
             if self.loops == 0:
                 self.loops = 1
             self.maxloops = self.loops
-            self.state = 4
-            self.send2game("1\r")
-            # Jump to moving to sector 1
+            self.state = 3
+            self.send2game("D") # A neutral command, that won't hose up sending Express Mode? (Yes)
+            # Jump to state 3 = Move to Terra
 
     def game_prompt(self, prompt: str):
         log.debug("P {0} | {1}".format(self.state, prompt))