sovereignx/test/battle/ability/speed_boost.c

21 lines
757 B
C
Raw Normal View History

2023-02-02 23:22:02 +00:00
#include "global.h"
#include "test/battle.h"
2023-02-02 23:22:02 +00:00
SINGLE_BATTLE_TEST("Speed Boost gradually boosts Speed")
2023-02-02 23:22:02 +00:00
{
GIVEN {
2023-06-23 10:38:18 +01:00
PLAYER(SPECIES_TORCHIC) { Ability(ABILITY_SPEED_BOOST); Speed(99); }
OPPONENT(SPECIES_WOBBUFFET) { Speed(100); }
2023-02-02 23:22:02 +00:00
} WHEN {
TURN { MOVE(player, MOVE_CELEBRATE); MOVE(opponent, MOVE_CELEBRATE); }
TURN { MOVE(player, MOVE_CELEBRATE); MOVE(opponent, MOVE_CELEBRATE); }
} SCENE {
MESSAGE("The opposing Wobbuffet used Celebrate!");
2023-02-02 23:22:02 +00:00
MESSAGE("Torchic used Celebrate!");
ABILITY_POPUP(player, ABILITY_SPEED_BOOST);
MESSAGE("Torchic's Speed Boost raised its Speed!");
2023-02-02 23:22:02 +00:00
MESSAGE("Torchic used Celebrate!");
MESSAGE("The opposing Wobbuffet used Celebrate!");
2023-02-02 23:22:02 +00:00
}
}