561 Commits

Author SHA1 Message Date
DizzyEggg
ffe0936ff1
Fix ShouldPivot overwriting random memory (#7882)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-10-08 19:44:31 +02:00
Alex
6cfdfd091f
Add failsafe to AI_DecideHoldEffectForTurn (#7849) 2025-10-05 23:15:30 +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
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
grintoul
6e18c2f06e
Tidy up CanTargetFaintAiWithMod and CanTargetMoveFaintAi (#7693)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-09-04 15:18:51 +02:00
Eduardo Quezada
1e6a533131
Fix most failed tests with GEN_LATEST = GEN_7 (#7688) 2025-09-03 19:23:23 +02:00
Eduardo Quezada
6c261fe416
Fixed compile issue in gcc 11 (#7579) 2025-08-18 21:09:09 +02:00
surskitty
0a8c8ad338
AI handling for Howl. (#7549) 2025-08-13 21:31:05 +02:00
surskitty
2967074342
AI handling for Autotomize. (#7550) 2025-08-13 18:06:16 +02:00
surskitty
260b12337e
Helping Hand logic (#7504) 2025-08-13 16:21:13 +02:00
surskitty
7fb5d98bf6
AI uses Tailwind. (#7515) 2025-08-12 17:12:45 -04:00
Pawkkie
eab10dc2f0
Fix AI's KO evaluation getting messed up by priority (#7533) 2025-08-12 10:30:14 +02:00
Alex
f4c91b5539
Convert statuses3 to volatiles (#7514) 2025-08-11 23:19:36 +02:00
Alex
38cfc4bacf
Modify move prediction to work in doubles (#7087) 2025-08-11 12:26:41 -04:00
AlexOn1ine
bd919e3219 11/08/25 Master to upcoming merge 2025-08-11 08:31:12 +02:00
surskitty
fda783b394
AI handling for similar utility moves (#7513) 2025-08-08 22:54:07 +02:00
surskitty
070a4f1dfa
Improved hazards logic and Mycelium Might ignores ability checks (#7509) 2025-08-08 09:54:30 +02:00
surskitty
6cb18f2048
Fiddling with CanLowerStat. (#7510) 2025-08-08 09:53:13 +02:00
Eduardo Quezada
0b299b3ffd
Fixed most failed tests with GEN_LATEST GEN_8 (#7498) 2025-08-08 09:44:12 +02:00
surskitty
e778d3cdfe
Improved Guaranteed Flinch logic (fake out et al) (#7501) 2025-08-06 23:39:43 +02:00
surskitty
e8b6d40f18
AI_FLAG_ATTACKS_PARTNER with a config for bloodthirstiness (#7401) 2025-08-06 10:22:34 -04:00
Alex
acc82e7d79
Convert Status4 to volatiles (#7411)
Co-authored-by: hedara90 <90hedara@gmail.com>
2025-08-05 19:28:33 +02:00
Nephrite
73fd567520
Additional effects tweak (#7392)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-08-01 18:13:23 +02:00
grintoul
1fbee7cce0
fixed-damage-move-ai-calc-fix (#7385) 2025-07-28 14:10:34 +02:00
Pawkkie
57fda0d060
Improve AI's priority handling (#7337) 2025-07-26 18:22:47 +02:00
Pawkkie
249b4d1574
19/07/25 Master merge (#7375) 2025-07-19 19:22:48 -04:00
surskitty
1b996fbb8e
AI refactor for weather-setting, terrain-setting, Trick Room behaviors; doubles-focused (#7319) 2025-07-19 19:20:07 -04:00
AlexOn1ine
90eef35715 master merge 2025-07-19 17:01:18 +02:00
hedara90
2f6e1ea6d3
Enum conversion for enum MoveEffects and enum BattleMoveEffects (#7366) 2025-07-19 10:28:25 +02:00
Pawkkie
e502c078e8
Switch AI can see weather abilities of switchin candidates during damage calcs (#7373) 2025-07-19 10:22:24 +02:00
Pawkkie
65a63fb9f0
Improve AI's ShouldRecover (#7342) 2025-07-16 23:30:51 +02:00
Pawkkie
0406caa687
Improve AI's setup logic (#7345) 2025-07-16 17:05:08 -04:00
Pawkkie
0e37bfd7ff
Fix stat change / stat ID ambiguity (#7346)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-07-15 12:07:26 -04:00
surskitty
1a1d8b58f8 Merge remote-tracking branch 'rh-hideout/upcoming' into rhh_assume_powerful_status 2025-07-13 22:03:48 -04:00
surskitty
f0da7c1707 Renaming Powerful status functions. 2025-07-13 22:00:00 -04:00
Pawkkie
5c2980b906
AI assumes Magnitude / Present damage (#7334) 2025-07-13 22:31:19 +02:00
surskitty
f6b0a15841 Renaming to AI_ASSUME_STATUS_MOVES and making a config for universal status move guessing + disabling the custom tuning. 2025-07-12 18:50:08 -04:00
surskitty
96274c772d Also adding Helping Hand. 2025-07-12 00:42:46 -04:00
surskitty
3defa24282 Adding other healing move effects. 2025-07-12 00:41:14 -04:00
Nephrite
a1e67572b6
Replaces STATUS2 usage with volatiles in code (#7262)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-07-11 22:53:49 +02:00
surskitty
026b1f25f2 I suspect the test is set up wrong, more than I have the logic wrong. Though that could also be true. 2025-07-11 00:31:47 -04:00
surskitty
3ee93c69ec Preliminary handling for AI_FLAG_ASSUME_POWERFUL_STATUS, not actually yet called. 2025-07-10 23:38:08 -04:00
surskitty
424c127b8b
AI Tests + accompanying bugfixes for Skill Swap, Worry Seed, weather setting in double battles, and Discharging into an ally's lightningrod (#7297) 2025-07-10 16:08:14 -04:00
Pawkkie
419219bb31
Add AI_FLAG_ASSUME_STAB (#6797) 2025-07-10 19:58:31 +02:00
Alex
d15c490223
Changes AccuracyCalcHelper into CanMoveSkipAccuracyCalc (#7303) 2025-07-09 17:33:48 -04:00
Alex
31a561201b
Adds hazard queue (#7295) 2025-07-07 15:30:35 -04:00
Nephrite
b183b660a1
Added missing braces (#7288) 2025-07-06 15:10:50 +02:00
grintoul
e53709aa25
Fix incorrect status in beneficial ability Guts check (#7285) 2025-07-05 16:51:56 +02:00
surskitty
4052ab337c
Expanding and Refactoring Skill Swap and other ability-changing moves (#7238)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-07-05 14:49:35 +02:00
surskitty
c360900a5b
Renaming STATUS1_REFRESH and adding more constants for common STATUS1 checks. (#7284) 2025-07-05 13:46:23 +02:00