2023-08-12 21:00:15 +02:00
|
|
|
#include "global.h"
|
|
|
|
#include "test/battle.h"
|
|
|
|
|
2023-10-15 03:58:31 +02:00
|
|
|
SINGLE_BATTLE_TEST("Powder moves are blocked by Grass-type Pokémon")
|
2023-08-12 21:00:15 +02:00
|
|
|
{
|
|
|
|
GIVEN {
|
2023-08-12 22:31:44 +02:00
|
|
|
ASSUME(gBattleMoves[MOVE_STUN_SPORE].powderMove);
|
2023-08-12 21:00:15 +02:00
|
|
|
ASSUME(gSpeciesInfo[SPECIES_ODDISH].types[0] == TYPE_GRASS);
|
|
|
|
PLAYER(SPECIES_WYNAUT);
|
|
|
|
OPPONENT(SPECIES_ODDISH);
|
|
|
|
} WHEN {
|
|
|
|
TURN { MOVE(player, MOVE_STUN_SPORE); }
|
|
|
|
} SCENE {
|
|
|
|
NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_STUN_SPORE, player);
|
|
|
|
MESSAGE("It doesn't affect Foe Oddish…");
|
|
|
|
}
|
|
|
|
}
|