sovereignx/test/battle/form_change/status.c

16 lines
444 B
C
Raw Normal View History

2023-12-15 10:17:35 +00:00
#include "global.h"
#include "test/battle.h"
SINGLE_BATTLE_TEST("Shaymin-Sky reverts to Shaymin-Land when frozen or frostbitten")
{
2023-12-30 08:42:53 +00:00
ASSUME(MoveHasMoveEffect(MOVE_POWDER_SNOW, MOVE_EFFECT_FREEZE_OR_FROSTBITE));
2023-12-15 10:17:35 +00:00
GIVEN {
PLAYER(SPECIES_SHAYMIN_SKY);
OPPONENT(SPECIES_WOBBUFFET);
} WHEN {
TURN { MOVE(opponent, MOVE_POWDER_SNOW); }
} THEN {
EXPECT_EQ(player->species, SPECIES_SHAYMIN_LAND);
}
}