I've managed to get it to work somewhat! But because I'm using four stats, instead of this in levelup.php:
Code:
$message = "<div id='personality'>Personality: {$adoptablepersonality}</div>";
I'm using just:
Code:
$message = "<div id='personality'>Personality: {$this->adopt->personality}</div>";
(For example, anyway.) Which means I'm not even calling back to the edits made in class_ownedadoptable.php.
I really like how on your site, once you reload the page, rather than throwing an error that you've already levelled up the adoptable, it shows a nice profile page for it. How are you getting the species name to show? I can't seem to find where that variable is stored.