* Gen 1: SonicBoom can be Countered
* OHKO moves do 65535 damage (matters for Counter against sub)
* Move damage comparison with target hp outside getDamage()
* Remove a blank line
* Move damage comparison with target hp outside getDamage() (Stadium)
* Add counter test
* Fix Metronome not failing if calling Counter (move setting lastDamage before tryMoveHit)
* Do the same for Stadium
* Start phasing out pokemon.lastDamage from Gen 1 code
* Failed Counter doesn't zero lastDamage
* When a move misses, battle.lastDamage is set to 0
* Remove all pokemon.lastDamage
* Remove a couple of comments
* Gen 2: Lock-On and Pain Split have 100% accuracy and check for accuracy
* Gen 3: Moves that don't check accuracy should be listed as true accuracy
* Gen 3: Nightmare doesn't check for accuracy
* Gen 3: Foresight and Odor Sleuth check accuracy
* Gen 3: Memento does not accuracy check
* Gen 3: Mind Reader checks accuracy
* Gen 2: Nightmare doesn't check accuracy
* PP from ally moves is no longer infinite in PiC
* add deductpp to modded pokemon
* eep
* Refactor when start effects activate upon switching in.
* Add new effects for leppa berry consumption
* I forgot about these items ngl
* add some new support for moves
* Restrict Wandering Spirit, add extra failsafe
* fix things
* Last minute bugfix
* Update banlist
* start working on gen 9
* update nextturn
* a
* more stuff
* Update formats.ts
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Fix Glaive Rush resetting if used before foe attacks
* Remove duration check in onBeforeTurn
it can only ever be called the turn after Glaive Rush is used
* use better property name
* thought of a better one
* use proper accuracy event