Skip to content

Commit

Permalink
Fixed broken Starting Terrain test (#5582)
Browse files Browse the repository at this point in the history
Co-authored-by: Hedara <[email protected]>
  • Loading branch information
hedara90 and Hedara authored Oct 27, 2024
1 parent ad16fa7 commit 2ccc91e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/battle/terrain/starting_terrain.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ SINGLE_BATTLE_TEST("Terrain started after the one which started the battle lasts
VarSet(B_VAR_STARTING_STATUS_TIMER, 0);

GIVEN {
PLAYER(SPECIES_WOBBUFFET) { Ability(viaMove == TRUE ? ABILITY_SHADOW_TAG : ABILITY_GRASSY_SURGE); }
PLAYER(SPECIES_TAPU_BULU) { Ability(viaMove == TRUE ? ABILITY_TELEPATHY : ABILITY_GRASSY_SURGE); }
OPPONENT(SPECIES_WOBBUFFET);
} WHEN {
// More than 5 turns
Expand All @@ -84,7 +84,7 @@ SINGLE_BATTLE_TEST("Terrain started after the one which started the battle lasts
ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_RESTORE_BG);
// Player uses Grassy Terrain
if (viaMove) {
MESSAGE("Wobbuffet used GrssyTerrain!");
MESSAGE("Tapu Bulu used Grassy Terrain!");
ANIMATION(ANIM_TYPE_MOVE, MOVE_GRASSY_TERRAIN, player);
MESSAGE("Grass grew to cover the battlefield!");
} else {
Expand All @@ -94,13 +94,13 @@ SINGLE_BATTLE_TEST("Terrain started after the one which started the battle lasts
}

// 5 turns
MESSAGE("Wobbuffet used Celebrate!");
MESSAGE("Tapu Bulu used Celebrate!");
MESSAGE("Foe Wobbuffet used Celebrate!");

MESSAGE("Wobbuffet used Celebrate!");
MESSAGE("Tapu Bulu used Celebrate!");
MESSAGE("Foe Wobbuffet used Celebrate!");

MESSAGE("Wobbuffet used Celebrate!");
MESSAGE("Tapu Bulu used Celebrate!");
MESSAGE("Foe Wobbuffet used Celebrate!");

MESSAGE("The grass disappeared from the battlefield.");
Expand Down

0 comments on commit 2ccc91e

Please sign in to comment.