public void checkPurchase()
    {
        if(BackerGS.storeVisible)
        {
            if(CurrencyCounter.currencyCollected < 80)
            {
                if(Greenfoot.mouseClicked(this))
                {
                    NotEnoughMoney.fade = 200;
                    boop.play();
                }   
            }
        }
        if(CurrencyCounter.currencyCollected >= 80)
        {
            if(PowerUps3.powerUp3 != 0)
            {
                if(Greenfoot.mouseClicked(this))
                {
                    YouAlreadyHaveThisPotion.yfade = 200;
                    boop.play();
                }
            }
            if(PowerUps3.powerUp3 == 0)
            {
                if(Greenfoot.mouseClicked(this))
                {
                    chaChing.play();
                    CurrencyCounter.currencyCollected = CurrencyCounter.currencyCollected - 80;
                    PowerUps3.powerUp3 = 3;
                }
            }
        }
    }