2023-07-28 13:20:06 +02:00
|
|
|
#include "global.h"
|
2023-08-12 22:31:44 +02:00
|
|
|
#include "test/battle.h"
|
2023-07-28 13:20:06 +02:00
|
|
|
|
2023-07-29 12:44:21 +02:00
|
|
|
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)!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-28 13:20:06 +02:00
|
|
|
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")
|