Searched refs:thisPawn (Results 1 – 1 of 1) sorted by relevance
1136 function CheckLegalityPawn(thisPawn) { argument1137 if ((mvFromCol >= 0) && (mvFromCol != PieceCol[MoveColor][thisPawn])) { return false; }1138 if ((mvFromRow >= 0) && (mvFromRow != PieceRow[MoveColor][thisPawn])) { return false; }1139 if (Math.abs(PieceCol[MoveColor][thisPawn]-mvToCol) != mvCapture) { return false; }1141 if (PieceRow[MoveColor][thisPawn]-mvToRow != 2*MoveColor-1) { return false; }1143 if (PieceRow[MoveColor][thisPawn]-mvToRow == 4*MoveColor-2) {1144 if (PieceRow[MoveColor][thisPawn] != 1+5*MoveColor) { return false; }1147 if (PieceRow[MoveColor][thisPawn]-mvToRow != 2*MoveColor-1) { return false; }