sovereignx/test/battle/move_effect/cosmic_power.c
Eduardo Quezada 7eee3b35c2
Added missing tests + Fix Coaching/Crafty Shield interaction (#5796)
Co-authored-by: hedara90 <90hedara@gmail.com>
2024-12-11 09:05:09 +01:00

21 lines
557 B
C

#include "global.h"
#include "test/battle.h"
ASSUMPTIONS
{
ASSUME(gMovesInfo[MOVE_COSMIC_POWER].effect == EFFECT_COSMIC_POWER);
}
SINGLE_BATTLE_TEST("Cosmic Power increases the user's Defense and Sp. Defense by 1 stage each")
{
GIVEN {
PLAYER(SPECIES_WOBBUFFET);
OPPONENT(SPECIES_WOBBUFFET);
} WHEN {
TURN { MOVE(player, MOVE_COSMIC_POWER); }
} SCENE {
ANIMATION(ANIM_TYPE_MOVE, MOVE_COSMIC_POWER, player);
MESSAGE("Wobbuffet's Defense rose!");
MESSAGE("Wobbuffet's Sp. Def rose!");
}
}