mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 20:24:18 +01:00
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!");
|
||
|
}
|
||
|
}
|