public void actionPerformed(ActionEvent e)
    {
    	if (e.getSource() == yesButton)
    	{
    		yes = true;
    		this.setVisible(false);
    		visible = false;
    		Battle.confirmEvolution(true);
    	}
    	else if (e.getSource() == noButton)
    	{
    		yes = false;
    		this.setVisible(false);
    		visible = false;
    		Battle.confirmEvolution(false);
    	}
    	System.out.println(yes);
    }