Added Ability TODO tests - Volume D (#8538)

This commit is contained in:
Eduardo Quezada 2025-12-16 09:55:57 -03:00 committed by GitHub
parent c5b8c9d471
commit 1c819450fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 85 additions and 4 deletions

View File

@ -72,3 +72,5 @@ SINGLE_BATTLE_TEST("Damp prevents damage from Aftermath")
NONE_OF { HP_BAR(player); }
}
}
//TO_DO_BATTLE_TEST("Damp affects non-adjacent Pokémon (triples)")

View File

@ -79,6 +79,9 @@ DOUBLE_BATTLE_TEST("Dancer triggers from slowest to fastest")
}
}
TO_DO_BATTLE_TEST("Dancer triggers from slowest to fastest during Trick Room")
TO_DO_BATTLE_TEST("Dancer triggering ignores Lagging Tail")
SINGLE_BATTLE_TEST("Dancer doesn't trigger if the original user flinches")
{
GIVEN {
@ -191,6 +194,9 @@ DOUBLE_BATTLE_TEST("Dancer doesn't trigger on a snatched move")
}
}
TO_DO_BATTLE_TEST("Dancer-called moves can be snatched")
TO_DO_BATTLE_TEST("Dancer-called moves can be reflected by Magic Bounce/Coat")
DOUBLE_BATTLE_TEST("Dancer triggers on Instructed dance moves")
{
GIVEN {
@ -246,6 +252,9 @@ DOUBLE_BATTLE_TEST("Dancer-called move doesn't update move to be Instructed")
}
}
TO_DO_BATTLE_TEST("Dancer-called moves doesn't update move to be called by Mimick")
TO_DO_BATTLE_TEST("Dancer-called moves doesn't update move to be called by Mirror Move")
DOUBLE_BATTLE_TEST("Dancer doesn't call a move that didn't execute due to Powder")
{
GIVEN {
@ -268,7 +277,6 @@ DOUBLE_BATTLE_TEST("Dancer doesn't call a move that didn't execute due to Powder
}
}
DOUBLE_BATTLE_TEST("Dancer still activates after Red Card")
{
GIVEN {
@ -355,3 +363,16 @@ DOUBLE_BATTLE_TEST("Dancer correctly restores move targets")
HP_BAR(playerRight);
}
}
TO_DO_BATTLE_TEST("Dancer-called damaging moves are considered for Counter/Mirror Coat/Metal Burst")
TO_DO_BATTLE_TEST("Dancer copies a status Z-Move's base move without gaining an additional Z-Power effect")
TO_DO_BATTLE_TEST("Dancer user may hit itself in confusion instead of copying a move if it's confused")
TO_DO_BATTLE_TEST("Dancer tries to copy a move but fails if it's being forced into a different move - Rampage move") // Test with Petal Dance, Thrash
TO_DO_BATTLE_TEST("Dancer tries to copy a move but fails if it's being forced into a different move - Rollout")
TO_DO_BATTLE_TEST("Dancer tries to copy a move but fails if it's being forced into a different move - Choice items")
TO_DO_BATTLE_TEST("Dancer tries to copy a move but fails if it's being forced into a different move - Encore")
TO_DO_BATTLE_TEST("Dancer tries to copy a status move but fails if it's under Taunt's effect")
TO_DO_BATTLE_TEST("Dancer can still copy status moves if the user is holding an Assault Vest")
TO_DO_BATTLE_TEST("Dancer copies Lunar Dance after the original user faints, but before the replacement is sent out")
TO_DO_BATTLE_TEST("Dancer doesn't activate Feather Dance if it was reflected by Magic Bounce/Coat")

View File

@ -1,7 +1,6 @@
#include "global.h"
#include "test/battle.h"
ASSUMPTIONS
{
ASSUME(GetMovePriority(MOVE_QUICK_ATTACK) > 0);
@ -122,3 +121,14 @@ SINGLE_BATTLE_TEST("Dazzling, Queenly Majesty and Armor Tail prevent Protean act
ABILITY_POPUP(opponent, ability);
}
}
// Listed on Bulbapedia as "Moves that target all Pokémon (except Perish Song, Flower Shield, and Rototiller),"
// Despite the fact that there's only 2 remaining moves from that list, being Haze and Teatime
TO_DO_BATTLE_TEST("Dazzling, Queenly Majesty and Armor Tail do not block Haze")
TO_DO_BATTLE_TEST("Dazzling, Queenly Majesty and Armor Tail do not block Teatime")
TO_DO_BATTLE_TEST("Dazzling, Queenly Majesty and Armor Tail do not block a move's Z-Status effect") // Z-Baby-Doll eyes increases Def but doesn't reduce Atk
TO_DO_BATTLE_TEST("Mold Breaker ignores Dazzling, Queenly Majesty and Armor Tail")
TO_DO_BATTLE_TEST("Instruct-called moves keep their priority, which is considered for Dazzling, Queenly Majesty and Armor Tail")
TO_DO_BATTLE_TEST(" Dazzling, Queenly Majesty and Armor Tail do not block high-priority moves called by other moves") // Metronome, Assist, Nature Power, etc.

View File

@ -1,4 +1,9 @@
#include "global.h"
#include "test/battle.h"
TO_DO_BATTLE_TEST("TODO: Write Delta Stream (Ability) test titles")
// Effects of strong winds are handled in test/battle/weather/strong_winds.c
//TO_DO_BATTLE_TEST("Delta Stream doesn't activate if is sent-out in a rotated-out position (Rotation)")
//TO_DO_BATTLE_TEST("Delta Stream doesn't activate if is rotated-in (Rotation)")
TO_DO_BATTLE_TEST("Delta Stream doesn't activate if there's already strong winds")
TO_DO_BATTLE_TEST("Strong winds continue as long as there's a Pokémon with Delta Stream on the field") // Doesn't need to be the original mon

View File

@ -98,3 +98,15 @@ SINGLE_BATTLE_TEST("Desolate Land is removed immediately if user faints")
MESSAGE("The extremely harsh sunlight faded!");
}
}
TO_DO_BATTLE_TEST("Desolate Land makes Sunny Day fail")
TO_DO_BATTLE_TEST("Desolate Land makes Rain Dance fail")
TO_DO_BATTLE_TEST("Desolate Land makes Sandstorm fail")
TO_DO_BATTLE_TEST("Desolate Land makes Hail fail")
TO_DO_BATTLE_TEST("Desolate Land makes Snowscape fail") // Extrapolation
TO_DO_BATTLE_TEST("Desolate Land makes Drought fail to activate")
TO_DO_BATTLE_TEST("Desolate Land makes Drizzle fail to activate")
TO_DO_BATTLE_TEST("Desolate Land makes Sand Stream fail to activate")
TO_DO_BATTLE_TEST("Desolate Land makes Snow Warning fail to activate")
TO_DO_BATTLE_TEST("Desolate Land can be replaced by Delta Stream")
TO_DO_BATTLE_TEST("Desolate Land can be replaced by Primordial Sea")

View File

@ -85,7 +85,7 @@ SINGLE_BATTLE_TEST("Disguised Mimikyu's Air Balloon will pop upon changing to it
}
}
SINGLE_BATTLE_TEST("Disguised Mimikyu takes damage from secondary damage without breaking the disguise")
SINGLE_BATTLE_TEST("Disguised Mimikyu takes damage from secondary damage without breaking the disguise - Stealth Rock")
{
GIVEN {
ASSUME(GetMoveEffect(MOVE_STEALTH_ROCK) == EFFECT_STEALTH_ROCK);
@ -104,6 +104,8 @@ SINGLE_BATTLE_TEST("Disguised Mimikyu takes damage from secondary damage without
}
}
TO_DO_BATTLE_TEST("Disguised Mimikyu takes damage from secondary damage without breaking the disguise - Weather")
SINGLE_BATTLE_TEST("Disguised Mimikyu takes damage from Rocky Helmet without breaking the disguise")
{
GIVEN {

View File

@ -64,3 +64,15 @@ SINGLE_BATTLE_TEST("Primordial Sea does not block a move if Pokémon is asleep a
MESSAGE("The opposing Wobbuffet is fast asleep.");
}
}
TO_DO_BATTLE_TEST("Primordial Sea makes Sunny Day fail")
TO_DO_BATTLE_TEST("Primordial Sea makes Rain Dance fail")
TO_DO_BATTLE_TEST("Primordial Sea makes Sandstorm fail")
TO_DO_BATTLE_TEST("Primordial Sea makes Hail fail")
TO_DO_BATTLE_TEST("Primordial Sea makes Snowscape fail") // Extrapolation
TO_DO_BATTLE_TEST("Primordial Sea makes Drought fail to activate")
TO_DO_BATTLE_TEST("Primordial Sea makes Drizzle fail to activate")
TO_DO_BATTLE_TEST("Primordial Sea makes Sand Stream fail to activate")
TO_DO_BATTLE_TEST("Primordial Sea makes Snow Warning fail to activate")
TO_DO_BATTLE_TEST("Primordial Sea can be replaced by Delta Stream")
TO_DO_BATTLE_TEST("Primordial Sea can be replaced by Desolate Land")

View File

@ -0,0 +1,17 @@
#include "global.h"
#include "test/battle.h"
TO_DO_BATTLE_TEST("Strong winds remove Flying-type weaknesses of all battlers") // Electric, Ice, Rock
TO_DO_BATTLE_TEST("Strong winds remove Flying-type weaknesses of all battlers - Inverse Battle") // Bug, Fighting, Grass
TO_DO_BATTLE_TEST("Strong winds don't affect Stealth Rock's damage")
TO_DO_BATTLE_TEST("Strong winds makes Sunny Day fail")
TO_DO_BATTLE_TEST("Strong winds makes Rain Dance fail")
TO_DO_BATTLE_TEST("Strong winds makes Sandstorm fail")
TO_DO_BATTLE_TEST("Strong winds makes Hail fail")
TO_DO_BATTLE_TEST("Strong winds makes Snowscape fail") // Extrapolation
TO_DO_BATTLE_TEST("Strong winds makes Drought fail to activate")
TO_DO_BATTLE_TEST("Strong winds makes Drizzle fail to activate")
TO_DO_BATTLE_TEST("Strong winds makes Sand Stream fail to activate")
TO_DO_BATTLE_TEST("Strong winds makes Snow Warning fail to activate")
TO_DO_BATTLE_TEST("Strong winds can be replaced by Desolate Land")
TO_DO_BATTLE_TEST("Strong winds can be replaced by Primordial Sea")