Loads of work to replace panics with results.
continuous-integration/drone/push Build is failing

This commit is contained in:
Deukhoofd committed 2023-04-15 19:33:29 +02:00
1 parent 2849cad57b
commit 6f1880c768
25 files changed
+547 -309

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ impl TestStep {
match self {
TestStep::SetPokemon { place, from_party } => {
let p = battle.parties()[from_party[0] as usize].get_pokemon(from_party[1] as usize);
battle.sides_mut()[place[0] as usize].set_pokemon(place[1], p);
battle.sides_mut()[place[0] as usize].set_pokemon(place[1], p).unwrap();
}
TestStep::SetMoveChoice {
for_pokemon,