Custom data class for a virtual pet menuu?

Ok, you see these functions at the end? Inside the {} for each you need to put
$gameTemp.reserveCommonEvent(ID)
Where ID is the number of your common event.

JavaScript:
Scene_Pets.prototype.commandTreat = function() {
    this.commandCancel();
};

Scene_Pets.prototype.commandDrink = function() {
    this.commandCancel();
};

Scene_Pets.prototype.commandTalk = function() {
    this.commandCancel();
};

Scene_Pets.prototype.commandGame = function() {
    this.commandCancel();
};

Then you make a common event of what you want to happen
This was what worked for mee! Thank youu! X)
This was what worked for mee! Thank youu! X)
I'm glad it worked because it was a guess and I didn't test it.

Original thread: https://forums.rpgmakerweb.com/threads/custom-data-class-for-a-virtual-pet-menuu.163121/