sovereignx/test/battle/item_effect
hedara90 ebdc9ffc39
Fixed some moves' on-hit effects bypassing Substitutes where they shouldn't and some other things discovered along the way (#4558)
* Fixed some moves' on-hit effects bypassing Substitutes where they shouldn't.
Fixed Sparkling Aria interaction with Shield Dust in Singles vs Doubles.
Fixed Wake-Up Slap and Smelling Salts getting boosted damage where they shouldn't vs Substitutes.

* Cleaned up check for Sparkling Aria+Shield Dust interaction and fixed for agbcc.
Fixed logic for checking if moves should do extra damage on statused targets.
Wrote tests for Wake-Up Slap and Smelling Salts receicing extra damage on statused targets.
Wrote tests to check Thousand Arrows type effectiveness vs ungrounded Flying types.

* Update src/battle_util.c

Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>

* Update src/battle_script_commands.c

Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>

* Update src/battle_script_commands.c

Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>

* Update test/battle/ability/shield_dust.c

Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>

* Update test/battle/item_effect/covert_cloak.c

Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>

* Update test/battle/item_effect/covert_cloak.c

Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>

* Update test/battle/item_effect/covert_cloak.c

Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>

* Update test/battle/move_effect/smelling_salts.c

Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>

* Update test/battle/move_effect/thousand_arrows.c

Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>

* Update test/battle/move_effect/wake_up_slap.c

Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>

* Update test/battle/move_effect/wake_up_slap.c

Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>

* Update test/battle/move_effect/wake_up_slap.c

Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>

---------

Co-authored-by: Hedara <hedara90@gmail.com>
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2024-05-13 13:33:04 +02:00
..
covert_cloak.c Fixed some moves' on-hit effects bypassing Substitutes where they shouldn't and some other things discovered along the way (#4558) 2024-05-13 13:33:04 +02:00
cure_status.c Merge branch '_RHH/master' into _RHH/upcoming 2024-02-09 17:02:56 -03:00
escape.c Move data unification (#3999) 2024-01-29 08:51:32 -03:00
heal_and_cure_status.c Merge branch '_RHH/master' into _RHH/upcoming 2024-02-09 17:02:56 -03:00
increase_stat.c Move data unification (#3999) 2024-01-29 08:51:32 -03:00
restore_hp.c Rename gItems and gAbilities to gItemsInfo and gAbilitiesInfo (#4068) 2024-01-26 15:25:52 -03:00
restore_pp.c Rename gItems and gAbilities to gItemsInfo and gAbilitiesInfo (#4068) 2024-01-26 15:25:52 -03:00
revive.c Rename gItems and gAbilities to gItemsInfo and gAbilitiesInfo (#4068) 2024-01-26 15:25:52 -03:00
set_mist.c Rename gItems and gAbilities to gItemsInfo and gAbilitiesInfo (#4068) 2024-01-26 15:25:52 -03:00
throw_ball.c Added last CannotUseItemsInBattle tests (#3789) 2023-12-21 20:06:12 +01:00