mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 04:04:17 +01:00
231ebea3f0
* Tests for 6 more abilities * Fix most of Egg's comments * Update Purifying Salt and Leaf Guard * Parenthesis fixes
18 lines
526 B
C
18 lines
526 B
C
#include "global.h"
|
|
#include "test/battle.h"
|
|
|
|
SINGLE_BATTLE_TEST("Quick Draw has a 30% chance of going first")
|
|
{
|
|
PASSES_RANDOMLY(3, 10, RNG_QUICK_DRAW);
|
|
GIVEN {
|
|
PLAYER(SPECIES_SLOWBRO_GALARIAN) { Ability(ABILITY_QUICK_DRAW); Speed(1); }
|
|
OPPONENT(SPECIES_WOBBUFFET) { Speed(100); }
|
|
} WHEN {
|
|
TURN { MOVE(player, MOVE_TACKLE); }
|
|
} SCENE {
|
|
ABILITY_POPUP(player, ABILITY_QUICK_DRAW);
|
|
MESSAGE("Slowbro used Tackle!");
|
|
MESSAGE("Foe Wobbuffet used Celebrate!");
|
|
}
|
|
}
|