pokeemmo/test/battle/ability/hydration.c
hedara90 d0bd82452f
Added some TO_DO tests (#6140)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-01-29 21:13:53 -03:00

30 lines
970 B
C

#include "global.h"
#include "test/battle.h"
SINGLE_BATTLE_TEST("Hydration cures non-volatile Status conditions if it is raining")
{
GIVEN {
PLAYER(SPECIES_VAPOREON) { Ability(ABILITY_HYDRATION); Status1(STATUS1_BURN); }
OPPONENT(SPECIES_WOBBUFFET);
} WHEN {
TURN { MOVE(player, MOVE_RAIN_DANCE); }
} SCENE {
ABILITY_POPUP(player, ABILITY_HYDRATION);
MESSAGE("Vaporeon's Hydration cured its burn problem!");
STATUS_ICON(player, none: TRUE);
}
}
SINGLE_BATTLE_TEST("Hydration doesn't cure status conditions if Cloud Nine/Air Lock is on the field")
{
GIVEN {
PLAYER(SPECIES_VAPOREON) { Ability(ABILITY_HYDRATION); Status1(STATUS1_BURN); }
OPPONENT(SPECIES_GOLDUCK) { Ability(ABILITY_CLOUD_NINE); }
} WHEN {
TURN { MOVE(player, MOVE_RAIN_DANCE); }
} SCENE {
NOT ABILITY_POPUP(player, ABILITY_HYDRATION);
MESSAGE("Vaporeon was hurt by its burn!");
}
}