1626 Commits

Author SHA1 Message Date
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
Raymond Dodge
c455665115
Add Struggle tests, weakness berry tests and prevent Struggle from activating Silk Scarf and Chilan Berry (#7880) 2025-10-08 16:03:20 +02:00
PhallenTree
4d12c35eb3
Fixes Steadfast not activating + tests (#7886) 2025-10-08 16:01:29 +02:00
cawtds
c64c276d77
Fixes shininess for givemon (#7847) 2025-10-07 23:16:48 +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
Alex
d2e8afa13a
Fixes Endure lasting forever (#7838) 2025-10-03 15:04:56 +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
Alex
3ea095a941
More White Herb fixes/clean up (#7826)
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2025-09-30 21:16:02 +02:00
spindrift64
2231b2fdca
Immunity abilities trigger on turn 0 (leads) (#7814) 2025-09-30 19:07:23 +02:00
Eduardo Quezada
2c80b9124b
Fix Debug Give Pokémon (Complex) with duplicate moves (#7821) 2025-09-29 23:05:13 +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
hedara90
988a7f0420
Fix Big Root tests (#7817)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-09-29 14:30:08 +02:00
Alex
bd1a4db380
Fixes EndTurn Eject Pack (#7813) 2025-09-29 11:49:09 +02:00
AlexOn1ine
a4470cac2c Master to upcoming merge 2025-09-27 22:42:53 +02:00
Alex
e5e0800b90
Fixes Throat Spray being blocked by Sheer Force (#7808) 2025-09-27 15:59:31 -04:00
Alex
567a1290d4
Fixes Effects activating when move wasn't successful (#7803)
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2025-09-27 19:55:12 +02:00
Alex
3c9f05b367
Fixes activation order for a couple abilities (#7732) 2025-09-27 18:47:10 +02:00
Bassoonian
512471268e
Fix Salt Cure in double battles (#7797) 2025-09-25 16:59:39 +02:00
Bassoonian
d1bd4edc57
Fix Forecast and Flower Gift corruption (#7796) 2025-09-25 16:03:17 +02:00
Alex
68e2bb5ab5
Fixes Leppa Berry timings (#7787)
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2025-09-25 10:41:27 +02:00
hedara90
27b542466f
Fix Flame Burst timeout if primary target is fainted (#7793)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-09-25 10:39:56 +02:00
surskitty
82ab4fe98d
Z Status move handling: Conversion, Detect, Nature Power, Transform (#7721) 2025-09-24 19:55:29 +02:00
PhallenTree
58b9642cb1
Fixes Instructed moves looking at the wrong turn order number (#7788) 2025-09-24 19:11:45 +02:00
Alex
b244740f52
Fixes OHKO moves calculating accuracy twice (#7785) 2025-09-24 13:34:08 +02:00
FosterProgramming
36fae27599
Fix catch bug introduced in #7774 (#7782) 2025-09-23 17:50:48 +02:00
Alex
a00b16fd90
Minor clean up for Lightning Rod / Storm Drain (#7778) 2025-09-22 23:47:44 +02:00
FosterProgramming
1d11a2cb0a
Improve how test involving ball throw work (#7774) 2025-09-22 20:44:12 +02:00
PhallenTree
5fad32decc
Fixes Helping Hand boosts not stacking with each other (#7775)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-09-22 20:00:34 +02:00
Pawkkie
1ca5b23f19
Fix abusable two-turn-move switch behaviour (#7770) 2025-09-22 19:47:23 +02:00
grintoul
dae8aea26c
Initial Lash Out tests (#7769)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-09-22 18:42:33 +02:00
Alex
780867611e
Minor White Herb and Neutralizing Gas clean up (#7754) 2025-09-22 15:57:47 +02:00
Alex
2c16f6ba55
Fixes Flower Shield affecting semi-invulnerable mons (#7766) 2025-09-22 15:57:11 +02:00
FosterProgramming
db7e062fe1
Add some missing move animations to the move animation tests (#7507) 2025-09-21 23:27:05 +02:00
bassforte123
abc471e9bd
Fixed Ball Fetch Ability (#7764) 2025-09-21 13:16:53 +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
Alex
83bfb34beb
Fixes Mycelium Might and Lagging Tail adjusting prio incorrectly (#7742)
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2025-09-17 18:33:09 +02:00
grintoul
b365221a0c
Fix for Levitate and Mold Breaker being seen correctly by switch AI, with Levitate tests (#7748) 2025-09-17 18:32:50 +02:00
Alex
f671b130a6
Fixes Beat Up incorrect slots usage (#7741) 2025-09-17 11:40:40 +02:00
Alex
74de29a921
Bugfixes Batch (#7739) 2025-09-16 19:44:06 +02:00
Alex
32f8464fec
Attackcanceller fixes and improvements (#7698) 2025-09-16 18:00:30 +02:00
hedara90
f99f234237
Fix Beak Blast burning fire types (#7740)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-09-15 21:32:18 +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
hedara90
70dec039cb
Add tests for Filter, Solid Rock and Prism Armor (#7734)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-09-14 20:19:53 +02:00
Alex
78a05c97ac
Refactors ruin ability checks into a field effect (#7711) 2025-09-14 14:41:10 +01:00
surskitty
abc0e10558
Moving additional effects out of AI_CalcMoveEffectScore and into AI_CalcMoveAdditionalEffectScore (#7727) 2025-09-13 10:58:16 +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