Ajarmar/universal-pokemon-randomizer-zx

[Bug] Pokemon Black/White 2, double battle outside battle subway crash with added pokemon

blepblops opened this issue · 0 comments

Describe the bug
When randomizing Black/White 2 and adding pokemon to trainers causes a crash during the double battle with Ingo & Emmet outside the Battle Subway.
Both trainers seem to have been assigned 6 pokemon each instead of 6 total, this crashes the game once you've defeated enough pokemon.

To Reproduce
Steps to reproduce the behavior:

  1. Load up a legitimate ROM of Pokemon Black 2 / White 2 into the randomizer.
  2. Under "Foe Pokemon" enable any randomization and the "Additional pokemon for..." setting (Whichever this battle is assigned to) and crank the number up to maximum
  3. Save the ROM & load it into your extremely legitimate hardware
  4. Once you've progressed to Nimbassa City engage Ingo & Emmet outside the Battle Subway
  5. Notice that the number of pokemon you've defeated does not line up with the number displayed on the UI
  6. Defeat approximately 6 pokemon to trigger a crash

Expected behavior
I expect double battles are supposed to have at maximum 6 pokemon and not crash.

System (please complete the following information):

  • Operating System: Win10
  • Java Version: -
  • Randomizer Version: v4.6.0

Additional context
I had also randomized wild pokemon, items and given trainers items.