mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 12:14:20 +01:00
28c6a1af49
Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com>
18 lines
522 B
C
18 lines
522 B
C
#include "global.h"
|
|
#include "test/battle.h"
|
|
|
|
SINGLE_BATTLE_TEST("Powder moves are blocked by Grass-type Pokémon")
|
|
{
|
|
GIVEN {
|
|
ASSUME(gBattleMoves[MOVE_STUN_SPORE].powderMove);
|
|
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…");
|
|
}
|
|
}
|