Skip to content

Bide fix: Defaults 0 when no value in attack order

Invatorzen requested to merge invatorzen/pokemonsdk:Bide-fix into development

MR Description

  • Bide was causing a crash due to an issue with sorting the attack order. There was also a crash when you would use an item on a mon that was using bide. These were discovered in double battles, may not have persisted in single battles.

Before testing

  • Probably should assign bide as a self-targeting moving

Tests to realize

  • Ensure that bide is changing targets
  • Ensure that bide is failing when no damage taken
  • Ensure that there is no crash when using an item on a bide-mon

Showcasing content

Showing it doesn't crash anymore.

Edited by Zøzo

Merge request reports