In settings
Code:
def getAllForms
return [
:PIKACHU,
:CYNDAQUIL,
:AEGISLASH
]
end
can be expanded.
now same thing like golisiopod suggested;
(same #draw delta icon, but will call it form icon here for ease )
then under def ismega? (like golisiopod)
Code:
def isDelta?
formarray=getAllForms
return true formarray.any? { |s| getConst(PBSpecies, s) == @battler.species }
end
Now you can add a check for the form like golisiopod did, like you wanted, just add that check like;
Code:
def isDelta?
formarray=getAllForms
return true formarray.any? { |s| getConst(PBSpecies, s) == pokemon.species } && pokemon.form==20
end
Now every one of these forms will need to be form 20, but since its a high number im sure your fine there.
this should work for you, so good luck.
(basically golisiopods works best if its like 2 or 3 but if its a group or so might be easier doing it the array way)