if (phaseturn == 1) { myattackchoice = 0; difficulty = 0; } if (phaseturn == 2) { myattackchoice = 1; difficulty = 0; } if (phaseturn == 3) { myattackchoice = 2; difficulty = 0; } if (phaseturn == 4) { myattackchoice = 3; difficulty = 0; } if (phaseturn == 5) { myattackchoice = 4; difficulty = 0; } if (phaseturn == 6) { myattackchoice = 5; difficulty = 0; } if (phaseturn == 7) { myattackchoice = 6; difficulty = 0; } if (phaseturn == 8) { myattackchoice = 7; difficulty = 0; } if (phaseturn == 9) { myattackchoice = 8; difficulty = 0; } if (phaseturn == 10) { myattackchoice = 10; difficulty = 0; } phaseturn++; if (phaseturn == 11) phaseturn = 10;