Skip to content
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

Merged
merged 24 commits into from
Oct 15, 2023

Conversation

kittenchilly
Copy link

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.

@kittenchilly kittenchilly marked this pull request as ready for review August 28, 2023 21:37
Copy link
Collaborator

@AsparagusEduardo AsparagusEduardo left a 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.

test/battle/hold_effect/safety_goggles.c Outdated Show resolved Hide resolved
test/battle/move_effect/aurora_veil.c Outdated Show resolved Hide resolved
test/battle/ability/prankster.c Outdated Show resolved Hide resolved
test/battle/ability/prankster.c Show resolved Hide resolved
test/battle/move_effect/aurora_veil.c Outdated Show resolved Hide resolved
test/battle/move_effect/burn_hit.c Outdated Show resolved Hide resolved
test/battle/move_effect/freeze_hit.c Outdated Show resolved Hide resolved
@AsparagusEduardo
Copy link
Collaborator

There's still some unadressed comments

test/battle/move_effect/hurricane.c Show resolved Hide resolved
test/battle/move_effect/leech_seed.c Show resolved Hide resolved
test/battle/move_effect/moonlight.c Outdated Show resolved Hide resolved
test/battle/move_effect/morning_sun.c Outdated Show resolved Hide resolved
test/battle/move_effect/ohko.c Show resolved Hide resolved
test/battle/move_effect/weather_ball.c Outdated Show resolved Hide resolved
test/battle/weather/sandstorm.c Outdated Show resolved Hide resolved
test/battle/weather/snow.c Outdated Show resolved Hide resolved
test/battle/weather/sunlight.c Outdated Show resolved Hide resolved
test/battle/move_effect/freeze_hit.c Outdated Show resolved Hide resolved
@kittenchilly
Copy link
Author

All reviews applied, finally.

Copy link
Collaborator

@AsparagusEduardo AsparagusEduardo left a 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/ability/prankster.c Show resolved Hide resolved
}
}

SINGLE_BATTLE_TEST("Synthesis recovers 1/4 of the user's max HP in Rain")
Copy link
Collaborator

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.

@@ -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")
Copy link
Collaborator

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.

ASSUME(gBattleMoves[MOVE_SOLAR_BEAM].effect == EFFECT_SOLAR_BEAM);
}

SINGLE_BATTLE_TEST("Solar Beam can be used instantly in Sunlight")
Copy link
Collaborator

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/ability/harvest.c Show resolved Hide resolved
@AsparagusEduardo AsparagusEduardo merged commit 28c6a1a into rh-hideout:master Oct 15, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants