if (state == 2) { instance_create((x + (18 * facing)), (y + 9), oA4RepairBotSpark) alarm[0] = 10 }