def __localPieSplat(self, pieCode, entry):
    if (pieCode == ToontownGlobals.PieCodeToon):
        avatarDoId = entry.getIntoNodePath().getNetTag('avatarDoId')
        if (avatarDoId == ''):
            self.notify.warning(('Toon %s has no avatarDoId tag.' % repr(entry.getIntoNodePath())))
            return
        doId = int(avatarDoId)
        if (doId != localAvatar.doId):
            self.d_pieHitToon(doId)
    elif (pieCode == ToontownGlobals.PieCodeInvasionSuit):
        avatarDoId = entry.getIntoNodePath().getNetTag('avatarDoId')
        if (avatarDoId == ''):
            self.notify.warning(('Suit %s has no avatarDoId tag.' % repr(entry.getIntoNodePath())))
            return
        doId = int(avatarDoId)
        if (doId != localAvatar.doId):
            self.d_pieHitSuit(doId)
def __localPieSplat(self, pieCode, entry):
    if (pieCode == ToontownGlobals.PieCodeToon):
        avatarDoId = entry.getIntoNodePath().getNetTag('avatarDoId')
        if (avatarDoId == ):
            self.notify.warning(('Toon %s has no avatarDoId tag.' % repr(entry.getIntoNodePath())))
            return
        doId = int(avatarDoId)
        if (doId != localAvatar.doId):
            self.d_pieHitToon(doId)
    elif (pieCode == ToontownGlobals.PieCodeInvasionSuit):
        avatarDoId = entry.getIntoNodePath().getNetTag('avatarDoId')
        if (avatarDoId == ):
            self.notify.warning(('Suit %s has no avatarDoId tag.' % repr(entry.getIntoNodePath())))
            return
        doId = int(avatarDoId)
        if (doId != localAvatar.doId):
            self.d_pieHitSuit(doId)