public void combat(Opponent oposition, object player, int effects) { //SET UP SCREEN FOR WOMBAT gameState = false; foeBox.Image = oposition.icon; pictureBox2.Visible = true; foeBox.Visible = true; foeHb.Visible = true; playHb.Visible = true; button1.Enabled = false; //Done hiding objects foeHolder = oposition; updateHealth(); MessageBox.Show("Test 3"); try { recEngine.RecognizeAsync(RecognizeMode.Single); } catch (InvalidOperationException) { MessageBox.Show("Excessively pressing the start button does nothing"); } }