forked from DizzyEggg/pokeemerald
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
var for ability + hold effect, loaded dice comparison
fix for small bug introduced in the latest commit
- Loading branch information
1 parent
5fa7a6d
commit 5167b01
Showing
2 changed files
with
29 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,29 @@ | ||
#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") |