db24128ee3
Co-authored-by: Eduardo Quezada <eduardo602002@gmail.com>
22 lines
696 B
C
22 lines
696 B
C
#include "global.h"
|
|
#include "test/battle.h"
|
|
|
|
SINGLE_BATTLE_TEST("Aegislash reverts to Shield Form upon switching out")
|
|
{
|
|
GIVEN {
|
|
PLAYER(SPECIES_AEGISLASH_SHIELD);
|
|
PLAYER(SPECIES_WOBBUFFET);
|
|
OPPONENT(SPECIES_WOBBUFFET);
|
|
} WHEN {
|
|
TURN { MOVE(player, MOVE_TACKLE); }
|
|
TURN { SWITCH(player, 1); }
|
|
TURN { SWITCH(player, 0); }
|
|
} SCENE {
|
|
ABILITY_POPUP(player, ABILITY_STANCE_CHANGE);
|
|
ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_FORM_CHANGE, player);
|
|
MESSAGE("Aegislash used Tackle!");
|
|
MESSAGE("The opposing Wobbuffet used Celebrate!");
|
|
} THEN {
|
|
EXPECT_EQ(player->species, SPECIES_AEGISLASH_SHIELD);
|
|
}
|
|
}
|