226 Commits

Author SHA1 Message Date
grintoul
e82ed111ba
Misc style and whitespace cleanup (#8681) 2026-01-02 18:01:43 +01:00
grintoul
02afaf2a66
Prevent AI seeing Pollen Puff damage on its ally (#8693) 2025-12-27 23:39:45 +01:00
Pawkkie
4f55dade50
Fix Commander Dondozo Switching (#8624) 2025-12-25 22:27:56 +00:00
ghostyboyy97
a901d227cc
fix (scoring): AI_IsMoveEffectInPlus - AI should not see secondary effect of Sheer Force boosted moves as beneficial (#8579)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-12-19 12:40:46 -05:00
surskitty
cc6ac23185
Fixing crash from Last Resort with Normalium Z in certain damage thresholds (#8583) 2025-12-18 23:57:03 -05:00
Eduardo Quezada
66b6664938
B_REDIRECT_ABILITY_IMMUNITY config tests (#8571) 2025-12-18 23:26:50 -05:00
GGbond
16ed9fbf3d
Fix: AI should not use Helping Hand on a partner with ABILITY_GOOD_AS_GOLD (#8560) 2025-12-17 12:38:28 -05:00
GGbond
ded6a0fe18
Fix AI handling of Trick/Bestow and add comprehensive tests (#8516) 2025-12-14 12:27:28 -05:00
Eduardo Quezada
08a5a319bd
Fix Lunar Dance not checking PP (#8364) 2025-12-14 12:47:01 +01:00
GGbond
04b26b752e
Respect beneficial status in healing moves and add tests (#8478) 2025-12-09 10:58:11 -05:00
ghostyboyy97
7e0b1de2ae
fix (setup): ignore self-speed drop when checking speed control on KO threshold change (#8409)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-12-02 16:27:46 -05:00
Eduardo Quezada
115694675f
Renamed Config Test system to more general names (#7283) 2025-12-02 11:26:44 -05:00
AlexOn1ine
15d9342fe5 30/11/25 master to upcoming merge 2025-11-30 14:57:50 +01:00
moostoet
bcf90b71a7
Prevent double Dynamax for single-trainer 2v1 multi battles (#8323)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-11-30 12:44:55 +01:00
Pawkkie
f42117a9d8
Fix switchin KO threshold logic (#8370)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-11-30 11:56:07 +01:00
FosterProgramming
c7735d6d2c
Fix known failing AI trace test (#8337) 2025-11-28 11:26:22 -05:00
AlexOn1ine
68300e0f9a 27/11/25 Master to upcoming merge 2025-11-27 13:39:12 +01:00
FosterProgramming
79163deb24
Pre gen 5 encored move now signals the test engine a move is happening (#8338) 2025-11-25 13:04:19 +01:00
FosterProgramming
a4482f0ee2
Rework switch AI and add more tests for ace pokemon flags (#8321) 2025-11-23 19:04:44 +01:00
Eduardo Quezada
51a750e61a
Finished fixing tests when setting GEN_LATEST to GEN_5 (#8263) 2025-11-23 12:04:36 +01:00
AlexOn1ine
aa20b2bc0f master to upcoming merge 2025-11-22 10:39:52 +01:00
Martin Griffin
f51a8e7325
Fix ohko moves ai tests (#8309) 2025-11-20 16:19:23 +00:00
Jamie Foster
e41de2544a Fix ohko moves ai tests 2025-11-20 16:38:55 +01:00
AlexOn1ine
6a28506ee2 19/11/25 Master to upcoming merge 2025-11-19 18:20:30 +01:00
moostoet
5e40456f45
Fix AI_FLAG_DOUBLE_ACE_POKEMON sending duplicate Pokémon in doubles (#8279) 2025-11-18 19:33:49 +01:00
Eduardo Quezada
1545e22d0a
Clean usage of gMovesInfo (#8234) 2025-11-12 19:29:45 +01:00
AlexOn1ine
93cc143134 conflicts 2025-11-11 13:12:00 +01:00
Maxime Grouazel
927101a5fc
Added check for parental bond killing through sturdy (#8206)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-11-11 00:10:53 +01:00
grintoul
95c2a6e2b6
Multibattle testing system (#7257)
Co-authored-by: hedara90 <90hedara@gmail.com>
Co-authored-by: Martin Griffin <martinrgriffin@gmail.com>
2025-10-24 15:00:23 +02:00
AlexOn1ine
e365add4cf 15/10/25 Master to upcoming merge 2025-10-15 21:31:00 +02:00
ghostyboyy97
ade850b215
fix (post-KO switch): force AI data recalc to see abilities on field correctly when pivot moves used by player (#7900)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-10-10 20:07:27 +02:00
Maxime Grouazel
81af2be16e
Fix AI seeing priority wrong for players choice lock (#7899)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-10-10 20:06:35 +02:00
surskitty
f0444f0d3f
Improved AI for status curing; trainer items, Purify, Smelling Salts, Sparkling Aria (#7853) 2025-10-06 23:52:27 +02:00
AlexOn1ine
870b93aad9 06/10/25 Master to upcoming merge 2025-10-06 19:42:42 +02:00
Eduardo Quezada
13f392987a
Fix some failed and assume fail tests with GEN_LATEST = GEN_5 (#7735) 2025-10-02 13:27:06 +02:00
khbsd
e385c7f59f
feat: change defines in constants/abilities.h to an enum (#7006)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-09-29 21:35:09 +02:00
AlexOn1ine
a4470cac2c Master to upcoming merge 2025-09-27 22:42:53 +02:00
surskitty
82ab4fe98d
Z Status move handling: Conversion, Detect, Nature Power, Transform (#7721) 2025-09-24 19:55:29 +02:00
Pawkkie
1ca5b23f19
Fix abusable two-turn-move switch behaviour (#7770) 2025-09-22 19:47:23 +02:00
surskitty
a55d603502
AI sees dynamic moves and Nature Power as correct types for weather, terrain (#7759) 2025-09-19 20:50:13 +02:00
Phexi
f28b3bf3b8
Fix failing test for B_PREFERRED_ICE_WEATHER = B_ICE_WEATHER_SNOW (#7755) 2025-09-19 20:38:20 +02:00
AlexOn1ine
bc84e6656d Master to upcoming merge 2025-09-17 20:18:51 +02:00
Eduardo Quezada
deaf77f619
Fix most failed and assume fail tests with GEN_LATEST = GEN_6 (#7696) 2025-09-14 20:21:38 +02:00
surskitty
fab4dc1163
Adjusted AI handling for Gravity; AI for weather/field status additional effects. (#7651) 2025-09-12 23:16:45 +02:00
surskitty
0ebd308497
AI uses Extreme Evoboost. (#7706) 2025-09-09 22:13:18 +02:00
surskitty
0f2518c17f
Some tests for future Dynamax AI behavior. (#7707) 2025-09-09 22:12:14 +02:00
surskitty
c3dec7d030
AI can use Z-status moves (#7666) 2025-09-07 18:00:02 +02:00
grintoul
441d39cc57
Doubles AI: Trick Room timer fix and test for DOUBLE_TRICK_ROOM_ON_LAST_TURN_CHANCE (#7622) 2025-09-06 20:32:54 +02:00
Hedara
1ec08fbe0d Merge branch 'master' into master-to-upcoming 2025-09-06 19:43:43 +02:00
surskitty
9e56a259e6 Simple gimmick tests 2025-09-05 07:31:13 +01:00