Fixed broken Starting Terrain test (#5582)

Co-authored-by: Hedara <hedara90@gmail.com>
This commit is contained in:
hedara90 2024-10-27 10:36:31 +01:00 committed by GitHub
parent ad16fa76f2
commit 2ccc91e091
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,7 +67,7 @@ SINGLE_BATTLE_TEST("Terrain started after the one which started the battle lasts
VarSet(B_VAR_STARTING_STATUS_TIMER, 0); VarSet(B_VAR_STARTING_STATUS_TIMER, 0);
GIVEN { 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); OPPONENT(SPECIES_WOBBUFFET);
} WHEN { } WHEN {
// More than 5 turns // More than 5 turns
@ -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); ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_RESTORE_BG);
// Player uses Grassy Terrain // Player uses Grassy Terrain
if (viaMove) { if (viaMove) {
MESSAGE("Wobbuffet used GrssyTerrain!"); MESSAGE("Tapu Bulu used Grassy Terrain!");
ANIMATION(ANIM_TYPE_MOVE, MOVE_GRASSY_TERRAIN, player); ANIMATION(ANIM_TYPE_MOVE, MOVE_GRASSY_TERRAIN, player);
MESSAGE("Grass grew to cover the battlefield!"); MESSAGE("Grass grew to cover the battlefield!");
} else { } else {
@ -94,13 +94,13 @@ SINGLE_BATTLE_TEST("Terrain started after the one which started the battle lasts
} }
// 5 turns // 5 turns
MESSAGE("Wobbuffet used Celebrate!"); MESSAGE("Tapu Bulu used Celebrate!");
MESSAGE("Foe Wobbuffet used Celebrate!"); MESSAGE("Foe Wobbuffet used Celebrate!");
MESSAGE("Wobbuffet used Celebrate!"); MESSAGE("Tapu Bulu used Celebrate!");
MESSAGE("Foe Wobbuffet used Celebrate!"); MESSAGE("Foe Wobbuffet used Celebrate!");
MESSAGE("Wobbuffet used Celebrate!"); MESSAGE("Tapu Bulu used Celebrate!");
MESSAGE("Foe Wobbuffet used Celebrate!"); MESSAGE("Foe Wobbuffet used Celebrate!");
MESSAGE("The grass disappeared from the battlefield."); MESSAGE("The grass disappeared from the battlefield.");