mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 11:37:40 +01:00
21 lines
741 B
C
21 lines
741 B
C
#include "global.h"
|
|
#include "test_battle.h"
|
|
|
|
SINGLE_BATTLE_TEST("Speed Boost gradually boosts speed")
|
|
{
|
|
GIVEN {
|
|
PLAYER(SPECIES_TORCHIC) { Ability(ABILITY_SPEED_BOOST); Speed(99); };
|
|
OPPONENT(SPECIES_WOBBUFFET) { Speed(100); };
|
|
} WHEN {
|
|
TURN { MOVE(player, MOVE_CELEBRATE); MOVE(opponent, MOVE_CELEBRATE); }
|
|
TURN { MOVE(player, MOVE_CELEBRATE); MOVE(opponent, MOVE_CELEBRATE); }
|
|
} SCENE {
|
|
MESSAGE("Foe Wobbuffet used Celebrate!");
|
|
MESSAGE("Torchic used Celebrate!");
|
|
ABILITY_POPUP(player, ABILITY_SPEED_BOOST);
|
|
MESSAGE("Torchic's Speed Boost raised its SPEED!");
|
|
MESSAGE("Torchic used Celebrate!");
|
|
MESSAGE("Foe Wobbuffet used Celebrate!");
|
|
}
|
|
}
|