2023-07-19 12:25:20 +01:00
|
|
|
#include "global.h"
|
2023-08-12 21:31:44 +01:00
|
|
|
#include "test/battle.h"
|
2023-07-19 12:25:20 +01:00
|
|
|
|
|
|
|
ASSUMPTIONS
|
|
|
|
{
|
2024-02-26 05:21:38 +00:00
|
|
|
ASSUME(MoveHasAdditionalEffectSelf(MOVE_SPIN_OUT, MOVE_EFFECT_SPD_MINUS_2) == TRUE);
|
2023-07-19 12:25:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
SINGLE_BATTLE_TEST("Spin Out lowers speed by 2 stages")
|
|
|
|
{
|
|
|
|
GIVEN {
|
|
|
|
PLAYER(SPECIES_WOBBUFFET);
|
|
|
|
OPPONENT(SPECIES_WOBBUFFET);
|
|
|
|
} WHEN {
|
|
|
|
TURN { MOVE(player, MOVE_SPIN_OUT); }
|
|
|
|
} SCENE {
|
|
|
|
ANIMATION(ANIM_TYPE_MOVE, MOVE_SPIN_OUT, player);
|
|
|
|
ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_STATS_CHANGE, player);
|
|
|
|
MESSAGE("Wobbuffet's Speed harshly fell!");
|
|
|
|
}
|
|
|
|
}
|