pokeemerald/test/ability_limber.c

17 lines
452 B
C
Raw Normal View History

2023-02-03 00:22:02 +01:00
#include "global.h"
#include "test_battle.h"
SINGLE_BATTLE_TEST("Limber prevents paralysis")
{
GIVEN {
2023-06-23 11:38:18 +02:00
PLAYER(SPECIES_PERSIAN) { Ability(ABILITY_LIMBER); }
2023-02-03 00:22:02 +01: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); }
NONE_OF { STATUS_ICON(player, paralysis: TRUE); }
}
}