I have the files on hand :)
Here's the code you need to select the fav pet:
PHP Code:
$mysidia->user->getprofile();
if ((int)$profile->getFavpetID() == 0) {
$document->addLangVar('No fav pet set.');
return;
}
$favpet = new OwnedAdoptable($profile->getFavpetID());
// Now you can select the stats of the pet.
if ($favpet->str < 10){
$document->addLangVar('Your pet isn\'t strong enough to travel here.');
return;
}
// Explore code here.