sovereignx/test/battle/form_change/status.c
2023-12-30 17:42:53 +09:00

15 lines
444 B
C

#include "global.h"
#include "test/battle.h"
SINGLE_BATTLE_TEST("Shaymin-Sky reverts to Shaymin-Land when frozen or frostbitten")
{
ASSUME(MoveHasMoveEffect(MOVE_POWDER_SNOW, MOVE_EFFECT_FREEZE_OR_FROSTBITE));
GIVEN {
PLAYER(SPECIES_SHAYMIN_SKY);
OPPONENT(SPECIES_WOBBUFFET);
} WHEN {
TURN { MOVE(opponent, MOVE_POWDER_SNOW); }
} THEN {
EXPECT_EQ(player->species, SPECIES_SHAYMIN_LAND);
}
}