Class BerryStatusItemTests
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<TestResult>
An Aspear Berry will cure the frozen status of the Pokémon holding it.static CompletableFuture<TestResult>
If a Pokémon is paralyzed while holding a Cheri Berry, the Cheri Berry will be consumed to cure the paralysis.static CompletableFuture<TestResult>
If a Pokémon is asleep while holding a Chesto Berry, the Chesto Berry will be consumed to cure the sleep status.static CompletableFuture<TestResult>
If a Pokémon is poisoned while holding a Drash Berry, the Drash Berry will be consumed to cure the poison status.static CompletableFuture<TestResult>
If a Pokémon becomes infatuated while holding an Eggant Berry, the Eggant Berry will be consumed to cure the Pokémon's infatuation.static CompletableFuture<TestResult>
A Lum Berry cures confusion.static CompletableFuture<TestResult>
A Lum Berry cures non-volatile status conditions.static CompletableFuture<TestResult>
A Lum Berry held by a Pokémon cures status conditions immediately, not only at the end of the turn.static CompletableFuture<TestResult>
When Fling is used as an attack, a Lum Berry cures the non-volatile status conditions of the target.static CompletableFuture<TestResult>
If a Pokémon becomes poisoned while holding a Pecha Berry, the Pecha Berry will be consumed to cure the Pokémon's poison.static CompletableFuture<TestResult>
If a Pokémon becomes confused while holding a Persim Berry, the Persim Berry will be consumed to cure the Pokémon's confusion.static CompletableFuture<TestResult>
If a Pokémon becomes frozen while holding a Pumkin Berry, the Pumkin Berry will be consumed to cure the Pokémon's freeze.static CompletableFuture<TestResult>
If a Pokémon becomes burnt while holding a Rawst Berry, the Rawst Berry will be consumed to cure the Pokémon's burn.static CompletableFuture<TestResult>
If a Pokémon becomes confused while holding a Touga Berry, the Touga Berry will be consumed to cure the Pokémon's confusion.static CompletableFuture<TestResult>
If a Pokémon becomes burnt while holding a Yago Berry, the Yago Berry will be consumed to cure the Pokémon's burn.
-
Constructor Details
-
BerryStatusItemTests
public BerryStatusItemTests()
-
-
Method Details
-
testAspearBerryCuresFreezing
An Aspear Berry will cure the frozen status of the Pokémon holding it.In this test a Chansey that knows the move Ice Beam faces a Shuckle that is holding an Aspear Berry and that knows the move Sleep Talk. - Chansey uses Ice Beam. Shuckle becomes frozen. Shuckle eats its Aspear Berry and defrosts. Shuckle uses Sleep Talk. - We verify that the Shuckle no longer has a held item. We verify that the Shuckle does not have the Freeze status.
-
testCheriBerryCuresParalysis
If a Pokémon is paralyzed while holding a Cheri Berry, the Cheri Berry will be consumed to cure the paralysis.In this test a Chansey that knows the move Thunderbolt faces a Shuckle that is holding a Cheri Berry and that knows the move Sleep Talk. - Chansey uses Thunderbolt. Shuckle becomes paralyzed. Shuckle eats its Cheri Berry and cures its paralysis. Shuckle uses Sleep Talk. - We verify that the Shuckle no longer has a held item. We verify that the Shuckle does not have the Paralysis status.
-
testChestoBerryCuresSleep
If a Pokémon is asleep while holding a Chesto Berry, the Chesto Berry will be consumed to cure the sleep status.In this test a Chansey that knows the move Spore faces a Shuckle that is holding an Chesto Berry and that knows the move Sleep Talk. - Chansey uses Spore. Shuckle falls asleep. Shuckle eats its Chesto Berry and wakes up. Shuckle uses Sleep Talk. - We verify that the Shuckle no longer has a held item. We verify that the Shuckle does not have the Sleep status.
-
testDrashBerryCuresPoison
If a Pokémon is poisoned while holding a Drash Berry, the Drash Berry will be consumed to cure the poison status.In this test a Chansey that knows the move Toxic faces a Shuckle that is holding an Drash Berry and that knows the move Sleep Talk. - Chansey uses Toxic. Shuckle becomes badly poisoned. Shuckle eats its Drash Berry and cures itself. Shuckle uses Sleep Talk. - We verify that the Shuckle no longer has a held item. We verify that the Shuckle does not have the Poison status or the PoisonBadly status.
-
testEggantBerryCuresInfatuation
public static CompletableFuture<TestResult> testEggantBerryCuresInfatuation(BattleTestHelper helper) If a Pokémon becomes infatuated while holding an Eggant Berry, the Eggant Berry will be consumed to cure the Pokémon's infatuation.In this test a female Chansey that knows the move Attract faces a male Shuckle that is holding an Eggant Berry and that knows the move Sleep Talk. - Chansey uses Attract. Shuckle becomes infatuated. Shuckle eats its Eggant Berry and cures its infatuation. Shuckle uses Sleep Talk. - We verify that the Shuckle no longer has a held item. We verify that the Shuckle does not have the Infatuated status.
-
testLumBerryShouldCureNonVolatileStatusConditions
public static CompletableFuture<TestResult> testLumBerryShouldCureNonVolatileStatusConditions(BattleTestHelper helper) A Lum Berry cures non-volatile status conditions.In this test, a Rapidash that knows Inferno (guaranteed to burn the target) faces off against a Machamp with the No Guard ability, holding a Lum Berry, that knows Splash. - Turn 1 The Rapidash attacks with Inferno and inflicts a burn onto the Machamp. Machamp attacks with Splash. The Machamp's Lum Berry cures the burn. - We verify that the Machamp doesn't have a non-volatile status condition.
-
testLumBerryShouldCureConfusion
public static CompletableFuture<TestResult> testLumBerryShouldCureConfusion(BattleTestHelper helper) A Lum Berry cures confusion.In this test, a Golurk with the No Guard ability that knows Dynamic Punch (guaranteed to confuse the target) faces off against a Shuckle holding a Lum Berry that knows Splash. - Turn 1 The Golurk attacks with Dynamic Punch and inflicts confusion onto the Shuckle. Shuckle attacks with Splash. The Shuckle's Lum Berry cures the confusion. - We verify that the Shuckle isn't confused.
-
testLumBerryShouldCureStatusConditionsImmediately
public static CompletableFuture<TestResult> testLumBerryShouldCureStatusConditionsImmediately(BattleTestHelper helper) A Lum Berry held by a Pokémon cures status conditions immediately, not only at the end of the turn.In this test, a Charizard holding a Lum Berry that knows Outrage (confuses the user after the 2 or 3 turns of use) faces off against a Toxapex that knows Recover and Baneful Bunker. - Turn 1 The Charizard attacks with Outrage. Toxapex uses Recover. Turn 2 The Charizard attacks with Outrage. Toxapex uses Baneful Bunker. Baneful Bunker blocks the Outrage damage and poisons Charizard. Charizard consume its Lum Berry immediately to cure the poison. Charizard then receives the confusion from its Outrage ending, and does not have it cured. - We verify that the Charizard isn't poisoned. We verify that the Charizard is confused.
-
testLumBerryShouldCureStatusConditionsViaFling
public static CompletableFuture<TestResult> testLumBerryShouldCureStatusConditionsViaFling(BattleTestHelper helper) When Fling is used as an attack, a Lum Berry cures the non-volatile status conditions of the target.In this test, a Linoone that knows Rest and that is starting with its health at 50% faces off against a Primeape holding a Lum Berry that knows Fling. - Turn 1 The Linoone uses Rest and gives itself the Sleep condition. Primeape attacks with Fling. The Primeape's Lum Berry is consumed by the Linoone and cures its Sleep. - We verify that the Primeape is not holding an item. We verify that the Linoone doesn't have the Sleep status condition. We verify that the Linoone doesn't have exactly 50% health. We verify that the Linoone has consumed an item.
-
testPechaBerryCuresPoison
If a Pokémon becomes poisoned while holding a Pecha Berry, the Pecha Berry will be consumed to cure the Pokémon's poison.In this test a Chansey that knows the move Toxic faces a Shuckle that is holding an Pecha Berry and that knows the move Sleep Talk. - Chansey uses Toxic. Shuckle becomes badly poisoned. Shuckle eats its Pecha Berry and cures itself of its poison. Shuckle uses Sleep Talk. - We verify that the Shuckle no longer has a held item. We verify that the Shuckle does not have the Poison status or the BadlyPoisoned status.
-
testPersimBerryCuresConfusion
If a Pokémon becomes confused while holding a Persim Berry, the Persim Berry will be consumed to cure the Pokémon's confusion.In this test a Chansey that knows the move Confuse Ray faces a Shuckle that is holding an Persim Berry and that knows the move Sleep Talk. - Chansey uses Confuse Ray. Shuckle becomes confused. Shuckle eats its Persim Berry and cures its confusion. Shuckle uses Sleep Talk. - We verify that the Shuckle no longer has a held item. We verify that the Shuckle does not have the Confusion status.
-
testPumkinBerryCuresFreezing
If a Pokémon becomes frozen while holding a Pumkin Berry, the Pumkin Berry will be consumed to cure the Pokémon's freeze.In this test a Chansey that knows the move Ice Beam faces a Shuckle that is holding an Pumkin Berry and that knows the move Sleep Talk. - Chansey uses Ice Beam. Shuckle becomes Frozen. Shuckle eats its Pumkin Berry and defrosts. Shuckle uses Sleep Talk. - We verify that the Shuckle no longer has a held item. We verify that the Shuckle does not have the Freeze status.
-
testRawstBerryCuresFreezing
If a Pokémon becomes burnt while holding a Rawst Berry, the Rawst Berry will be consumed to cure the Pokémon's burn.In this test a Chansey that knows the move Flamethrower faces a Shuckle that is holding an Rawst Berry and that knows the move Sleep Talk. - Chansey uses Flamethrower. Shuckle becomes burnt. Shuckle eats its Rawst Berry and cures the burn. Shuckle uses Sleep Talk. - We verify that the Shuckle no longer has a held item. We verify that the Shuckle does not have the Burn status.
-
testTougaBerryCuresConfusion
If a Pokémon becomes confused while holding a Touga Berry, the Touga Berry will be consumed to cure the Pokémon's confusion.In this test a Chansey that knows the move Confuse Ray faces a Shuckle that is holding an Touga Berry and that knows the move Sleep Talk. - Chansey uses Confuse Ray. Shuckle becomes confused. Shuckle eats its Touga Berry and cures its confusion. Shuckle uses Sleep Talk. - We verify that the Shuckle no longer has a held item. We verify that the Shuckle does not have the Confusion status.
-
testYagoBerryCuresBurn
If a Pokémon becomes burnt while holding a Yago Berry, the Yago Berry will be consumed to cure the Pokémon's burn.In this test a Chansey that knows the move Flamethrower faces a Shuckle that is holding an Yago Berry and that knows the move Sleep Talk. - Chansey uses Flamethrower. Shuckle becomes burnt. Shuckle eats its Yago Berry and cures its burn. Shuckle uses Sleep Talk. - We verify that the Shuckle no longer has a held item. We verify that the Shuckle does not have the Burn status.
-