db24128ee3
Co-authored-by: Eduardo Quezada <eduardo602002@gmail.com>
17 lines
555 B
C
17 lines
555 B
C
#include "global.h"
|
|
#include "test/battle.h"
|
|
|
|
SINGLE_BATTLE_TEST("Cursed Body triggers 30% of the time")
|
|
{
|
|
PASSES_RANDOMLY(3, 10, RNG_CURSED_BODY);
|
|
GIVEN {
|
|
PLAYER(SPECIES_WOBBUFFET);
|
|
OPPONENT(SPECIES_FRILLISH) { Ability(ABILITY_CURSED_BODY); }
|
|
} WHEN {
|
|
TURN { MOVE(player, MOVE_AQUA_JET); }
|
|
} SCENE {
|
|
ANIMATION(ANIM_TYPE_MOVE, MOVE_AQUA_JET, player);
|
|
ABILITY_POPUP(opponent, ABILITY_CURSED_BODY);
|
|
MESSAGE("Wobbuffet's Aqua Jet was disabled by the opposing Frillish's Cursed Body!");
|
|
}
|
|
}
|