pokeemerald/test/ability_cloud_nine.c
2023-02-09 23:25:25 +01:00

17 lines
429 B
C

#include "global.h"
#include "test_battle.h"
SINGLE_BATTLE_TEST("Cloud Nine prevents weather effects")
{
GIVEN {
ASSUME(gBattleMoves[MOVE_SANDSTORM].effect == EFFECT_SANDSTORM);
PLAYER(SPECIES_PSYDUCK) { Ability(ABILITY_CLOUD_NINE); }
OPPONENT(SPECIES_WOBBUFFET);
} WHEN {
TURN { MOVE(opponent, MOVE_SANDSTORM); }
TURN {}
} SCENE {
NONE_OF { HP_BAR(player); }
}
}