function loadData($pokemonId = false) { if ($pokemonId !== false) { parent::loadData($pokemonId); $this->setExperiencePoints(); $this->setSex(); $this->setAbility(); $this->setEvValues(); $this->setDvValues(); $this->setKp(); $this->setWesen(); $this->loadAttacks(); } }