mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 04:04:17 +01:00
5fe564f014
Fix Purifying Salt to be immune to statuses from secondary effects.
19 lines
464 B
C
19 lines
464 B
C
#include "global.h"
|
|
#include "test/battle.h"
|
|
|
|
SINGLE_BATTLE_TEST("Limber prevents paralysis")
|
|
{
|
|
GIVEN {
|
|
PLAYER(SPECIES_PERSIAN) { Ability(ABILITY_LIMBER); }
|
|
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);
|
|
}
|
|
}
|
|
}
|