diff code/ghost0.gq @ 68:f4f403c83e80

Small ghost AI change. Doesn't seem to change results, but closer to my actual intent
author Michael Pavone <pavone@retrodev.com>
date Sun, 27 Jul 2014 23:11:46 -0700
parents 9cc019c98335
children 8a0f1447c034
line wrap: on
line diff
--- a/code/ghost0.gq	Sun Jul 27 22:34:37 2014 -0700
+++ b/code/ghost0.gq	Sun Jul 27 23:11:46 2014 -0700
@@ -105,7 +105,7 @@
 		
 		tmp <- 0
 		i <- 0
-		while: { i < 2} do: {
+		while: { i < 3} do: {
 			targetX <- getDirX: firstChoice myX
 			targetY <- getDirY: firstChoice myY
 		
@@ -123,7 +123,7 @@
 					secondChoice <- opDir: firstChoice
 					i <- i + 1
 				} else: {
-					i <- 2
+					i <- 3
 				}
 			}
 		}