sovereignx/test/battle
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
..
ability 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
form_change Renamed "MoveHasMoveEffect" functions 2024-02-26 14:21:38 +09:00
hold_effect Small Battle Test reorganization (#4504) 2024-05-06 09:36:52 +02:00
item_effect 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
move_effect 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
move_effect_secondary Small Battle Test reorganization (#4504) 2024-05-06 09:36:52 +02:00
move_effects_combined Small Battle Test reorganization (#4504) 2024-05-06 09:36:52 +02:00
move_flags Small Battle Test reorganization (#4504) 2024-05-06 09:36:52 +02:00
status1 Move data unification (#3999) 2024-01-29 08:51:32 -03:00
terrain Move data unification (#3999) 2024-01-29 08:51:32 -03:00
weather Move data unification (#3999) 2024-01-29 08:51:32 -03:00
ai.c Stat stage related AI fixes (#4548) 2024-05-11 19:03:19 +02:00
ai_calc_best_move_score.c Renamed "MoveHasMoveEffect" functions 2024-02-26 14:21:38 +09:00
ai_check_viability.c Merge remote-tracking branch 'rhh/upcoming' into battlemove_refactored 2024-02-26 14:23:53 +09:00
ai_powerful_status.c Fixed test 2024-02-26 15:12:34 +09:00
ai_trytofaint.c Move data unification (#3999) 2024-01-29 08:51:32 -03:00
crit_chance.c Adds Dragon Cheer (#4122) 2024-02-03 08:00:41 -07:00
damage_formula.c Move data unification (#3999) 2024-01-29 08:51:32 -03:00
exp.c Fix Wall Werrors on modern (#3412) 2023-10-13 18:39:35 +02:00
move.c Apply suggestions from code review 2024-02-26 23:59:15 +09:00
trainer_control.c Sets neutral nature and ability 0 as default in trainer control (#4172) 2024-02-18 15:02:58 +01:00