mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 11:44:17 +01:00
5167b01b14
fix for small bug introduced in the latest commit
30 lines
1.3 KiB
C
30 lines
1.3 KiB
C
#include "global.h"
|
|
#include "test_battle.h"
|
|
|
|
SINGLE_BATTLE_TEST("Population Bomb can hit ten times")
|
|
{
|
|
GIVEN {
|
|
ASSUME(gBattleMoves[MOVE_POPULATION_BOMB].strikeCount == 10);
|
|
PLAYER(SPECIES_WOBBUFFET);
|
|
OPPONENT(SPECIES_WOBBUFFET);
|
|
} WHEN {
|
|
TURN { MOVE(player, MOVE_POPULATION_BOMB); }
|
|
} SCENE {
|
|
ANIMATION(ANIM_TYPE_MOVE, MOVE_POPULATION_BOMB, player);
|
|
ANIMATION(ANIM_TYPE_MOVE, MOVE_POPULATION_BOMB, player);
|
|
ANIMATION(ANIM_TYPE_MOVE, MOVE_POPULATION_BOMB, player);
|
|
ANIMATION(ANIM_TYPE_MOVE, MOVE_POPULATION_BOMB, player);
|
|
ANIMATION(ANIM_TYPE_MOVE, MOVE_POPULATION_BOMB, player);
|
|
ANIMATION(ANIM_TYPE_MOVE, MOVE_POPULATION_BOMB, player);
|
|
ANIMATION(ANIM_TYPE_MOVE, MOVE_POPULATION_BOMB, player);
|
|
ANIMATION(ANIM_TYPE_MOVE, MOVE_POPULATION_BOMB, player);
|
|
ANIMATION(ANIM_TYPE_MOVE, MOVE_POPULATION_BOMB, player);
|
|
ANIMATION(ANIM_TYPE_MOVE, MOVE_POPULATION_BOMB, player);
|
|
MESSAGE("Hit 10 time(s)!");
|
|
}
|
|
}
|
|
|
|
TO_DO_BATTLE_TEST("Accuracy for Population Bomb is checked independently for each hit")
|
|
TO_DO_BATTLE_TEST("Accuracy for Population Bomb is only checked for the first hit with Skill Link")
|
|
TO_DO_BATTLE_TEST("Accuracy for Population Bomb is only checked for the first hit with Loaded Dice")
|