'Transitions brick into BUMPED state'

def start_bump(self, score_group):

    self.y_vel = (-6)
    if (self.contents == '6coins'):
        setup.SFX['coin'].play()
        if (self.coin_total > 0):
            self.group.add(coin.Coin(self.rect.centerx, self.rect.y, score_group))
            self.coin_total -= 1
            if (self.coin_total == 0):
                self.frame_index = 1
                self.image = self.frames[self.frame_index]
    elif (self.contents == 'star'):
        setup.SFX['powerup_appears'].play()
        self.frame_index = 1
        self.image = self.frames[self.frame_index]
    self.state = c.BUMPED
