Is this what you want?
Is this what you want?
Do you have the most up to date version of MV?
<Custom Apply Effect>
if (target.isActor()) {
name = target.battlerName();
newnamepet = name.replace('_Petrified',"");
var name1 = newnamepet + '_Petrified';
target.setBattlerImage(name1);
target.refresh();
}
</Custom Apply Effect>
<Custom Remove Effect>
target.setBattlerImage(newnamepet);
target.refresh();
</Custom Remove Effect>