theastrogoth / tera-raid-builder

A tool for simulating Tera Raid battles in Pokémon Scarlet & Violet
https://theastrogoth.github.io/tera-raid-builder/
4 stars 3 forks source link

More robust status checking #190

Closed Ericzklm closed 9 months ago

Ericzklm commented 9 months ago

I've added some logic for burn, freeze, poison, and paralysis to check if a Pokemon is tera'd in or out of an immunity but I forgot to handle changed types. Probably best to have a utility function that returns the currently active type(s) of a Pokemon.

Ericzklm commented 9 months ago

Looks like this has been taken care of and hasType() already covers that function