With the right help I managed to make the 9th generation moves functional in contests, I had to add this:
def has_contest_flag?(flag)
return false if !@contest_flags || @contest_flags.empty?
return @contest_flags.any? { |f| f.downcase == flag.downcase }
end
but there are...
I have a problem wanting to adapt this to my version 21 of essentials, when the contest ends and the tape is received, I get an error on the line 71 aprox
$stats.pokemon_contests_won_total += 1 it says that is not defined, but when i set it to =0 and then =1 it has no problem, how can i fix...