pokeemerald/test/battle/ability/cloud_nine.c

17 lines
429 B
C
Raw Normal View History

2023-02-03 00:22:02 +01:00
#include "global.h"
#include "test/battle.h"
2023-02-03 00:22:02 +01:00
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); }
}
}