Skip to content

Commit

Permalink
Fix Pokemon in tests not being male by default (#4766)
Browse files Browse the repository at this point in the history
  • Loading branch information
kittenchilly authored Jun 12, 2024
1 parent 4724b5d commit 5ebdcdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/battle/ability/prankster.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion test/test_runner_battle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)++;

Expand Down

0 comments on commit 5ebdcdc

Please sign in to comment.