Syntax Error on line 4
MOVE: cr -a11 is not a valid expression, because cr is not a recognized piece, coordinate, command, or subroutine.
Edit the Settings File for Catapults of Troy
For the sake of debugging, here is the full GAME Code program that this error occurred in. The lines have been properly indented to help you spot scope errors.
0 moveindex 4 1 MOVE: B c1-a3 2 moveindex 5 3 MOVE: c b11- 4 MOVE: cr -a11 5 end 6functions
uservar
Array ( [0] => Array ( [main] => Array ( ) ) )mline
Array ( [0] => MoveLine Object ( [movenum] => 0 [move] => [level] => 0 [comment] => [length] => 0 [newturn] => [turn] => 0 ) [1] => MoveLine Object ( [movenum] => 0 [move] => [level] => 7 [comment] => // For some reason, preset worked wrong, so [length] => 51 [newturn] => [turn] => 0 ) [2] => MoveLine Object ( [movenum] => 0 [move] => [level] => 7 [comment] => // here is another [length] => 26 [newturn] => [turn] => 0 ) [3] => MoveLine Object ( [movenum] => 0 [move] => [level] => 7 [comment] => // invitation. [length] => 22 [newturn] => [turn] => 0 ) [4] => MoveLine Object ( [movenum] => 1 [move] => B c1-a3 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 1 ) [5] => MoveLine Object ( [movenum] => 2 [move] => c b11-; cr -a11 [level] => 0 [comment] => [length] => 20 [newturn] => [turn] => 1 ) )allmoves
Array ( [0] => moveindex 5;MOVE: c b11-; MOVE: cr -a11 [1] => moveindex 4;MOVE: B c1-a3 )movelist
||||||| // For some reason, preset worked wrong, so ||||||| // here is another ||||||| // invitation. 1. B c1-a3 1... c b11-; cr -a11constants
Array ( )