From 5ebdcdc9b03ab95caaa2a1d2d16f7fbb75dd08a8 Mon Sep 17 00:00:00 2001 From: kittenchilly Date: Wed, 12 Jun 2024 02:34:36 -0500 Subject: [PATCH] Fix Pokemon in tests not being male by default (#4766) --- test/battle/ability/prankster.c | 2 +- test/test_runner_battle.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/battle/ability/prankster.c b/test/battle/ability/prankster.c index d6c5a924629a..8c5feaee430a 100644 --- a/test/battle/ability/prankster.c +++ b/test/battle/ability/prankster.c @@ -136,7 +136,7 @@ DOUBLE_BATTLE_TEST("Prankster-affected moves that target all Pokémon are succes { GIVEN { ASSUME(gMovesInfo[MOVE_CAPTIVATE].target == MOVE_TARGET_BOTH); - PLAYER(SPECIES_VOLBEAT) { Ability(ABILITY_PRANKSTER); } + PLAYER(SPECIES_ILLUMISE) { Ability(ABILITY_PRANKSTER); } PLAYER(SPECIES_WOBBUFFET); OPPONENT(SPECIES_UMBREON); OPPONENT(SPECIES_WOBBUFFET); diff --git a/test/test_runner_battle.c b/test/test_runner_battle.c index 30183a6dc811..376c3be8a55b 100644 --- a/test/test_runner_battle.c +++ b/test/test_runner_battle.c @@ -1553,7 +1553,7 @@ void OpenPokemon(u32 sourceLine, u32 side, u32 species) DATA.currentSide = side; DATA.currentPartyIndex = *partySize; DATA.currentMon = &party[DATA.currentPartyIndex]; - DATA.gender = MON_MALE; + DATA.gender = 0xFF; // Male DATA.nature = NATURE_HARDY; (*partySize)++;