-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More weather and type-specific tests #3260
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initial review, only fully viewed 5 files for now.
Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com>
There's still some unadressed comments |
Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com>
All reviews applied, finally. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there! :)
test/battle/move_effect/synthesis.c
Outdated
} | ||
} | ||
|
||
SINGLE_BATTLE_TEST("Synthesis recovers 1/4 of the user's max HP in Rain") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't addressed this yet.
test/battle/move_effect/poison_hit.c
Outdated
@@ -37,3 +38,19 @@ SINGLE_BATTLE_TEST("Poison Sting cannot poison Poison-type") | |||
NOT STATUS_ICON(opponent, poison: TRUE); | |||
} | |||
} | |||
|
|||
SINGLE_BATTLE_TEST("Poison cannot be inflicted on Steel-type Pokémon") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't addressed this yet.
test/battle/move_effect/solar_beam.c
Outdated
ASSUME(gBattleMoves[MOVE_SOLAR_BEAM].effect == EFFECT_SOLAR_BEAM); | ||
} | ||
|
||
SINGLE_BATTLE_TEST("Solar Beam can be used instantly in Sunlight") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't addressed this yet.
Description
Most weather tests should be implemented now, as well as a few weather-adjacent and type-specific tests.
Also re-orders a few tests to be more consistent with eachother.