2024-08-07 14:52:40 +01:00
|
|
|
#include "global.h"
|
|
|
|
#include "test/battle.h"
|
|
|
|
|
2024-12-11 08:05:09 +00:00
|
|
|
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!");
|
|
|
|
}
|
|
|
|
}
|