mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 04:04:17 +01:00
09fc48461f
# Conflicts: # test/battle/move_flags/three_strikes.c # test/move_flag_strike_count.c # test/move_flag_three_strikes.c # test/powder_moves.c # test/status1.c
22 lines
701 B
C
22 lines
701 B
C
#include "global.h"
|
|
#include "test/battle.h"
|
|
|
|
SINGLE_BATTLE_TEST("Overcoat blocks powder and spore moves")
|
|
{
|
|
GIVEN {
|
|
ASSUME(gBattleMoves[MOVE_STUN_SPORE].powderMove);
|
|
PLAYER(SPECIES_WYNAUT);
|
|
OPPONENT(SPECIES_PINECO) { Ability(ABILITY_OVERCOAT); }
|
|
} WHEN {
|
|
TURN { MOVE(player, MOVE_STUN_SPORE); }
|
|
} SCENE {
|
|
ABILITY_POPUP(opponent, ABILITY_OVERCOAT);
|
|
NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_STUN_SPORE, player);
|
|
MESSAGE("It doesn't affect Foe Pineco…");
|
|
}
|
|
}
|
|
|
|
TO_DO_BATTLE_TEST("Overcoat blocks damage from hail");
|
|
TO_DO_BATTLE_TEST("Overcoat blocks damage from sandstorm");
|
|
TO_DO_BATTLE_TEST("Overcoat blocks Effect Spore's effect");
|