sovereignx/test/battle/ability/limber.c

19 lines
464 B
C
Raw Normal View History

2023-02-02 23:22:02 +00:00
#include "global.h"
#include "test/battle.h"
2023-02-02 23:22:02 +00:00
SINGLE_BATTLE_TEST("Limber prevents paralysis")
{
GIVEN {
2023-06-23 10:38:18 +01:00
PLAYER(SPECIES_PERSIAN) { Ability(ABILITY_LIMBER); }
2023-02-02 23:22:02 +00:00
OPPONENT(SPECIES_WOBBUFFET);
} WHEN {
TURN { MOVE(opponent, MOVE_THUNDER_SHOCK); }
} SCENE {
HP_BAR(player);
NONE_OF {
ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_PRZ, player);
STATUS_ICON(player, paralysis: TRUE);
}
2023-02-02 23:22:02 +00:00
}
}