local PlayerCharset = Object:extend() function PlayerCharset:initPlayerCharset() self:updateCurrentCharset() end function PlayerCharset:updateCurrentCharset() if (not self.isJumping) then self:setCharset(self.active.data.charset, self.active.data.charId) self.largeAnim = false self.isFast = false else self:setCharset(self.active.data.charset .. "-jump", self.active.data.charId) self.largeAnim = true self.isFast = true end end return PlayerCharset