174 Commits

Author SHA1 Message Date
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
38cfc4bacf
Modify move prediction to work in doubles (#7087) 2025-08-11 12:26:41 -04: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
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
Pawkkie
57fda0d060
Improve AI's priority handling (#7337) 2025-07-26 18:22:47 +02:00
surskitty
1b996fbb8e
AI refactor for weather-setting, terrain-setting, Trick Room behaviors; doubles-focused (#7319) 2025-07-19 19:20:07 -04: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
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
AlexOn1ine
68db4c5a77 12/07/25 master to upcoming merge 2025-07-12 11:55:06 +02:00
surskitty
3ee93c69ec Preliminary handling for AI_FLAG_ASSUME_POWERFUL_STATUS, not actually yet called. 2025-07-10 23:38:08 -04:00
Pawkkie
419219bb31
Add AI_FLAG_ASSUME_STAB (#6797) 2025-07-10 19:58:31 +02:00
Pawkkie
e4d9298200
Fix move comparison scoring (#7301) 2025-07-10 09:51:46 +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
Bassoonian
6333702461
Converts more defines to enums and name unnamed enums (#7071)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-06-18 14:30:37 +02:00
Alex
cb4ef705f7
Remove redundancy for ShouldLowerStat functions (#6577) 2025-06-09 21:47:16 -04:00
Alex
fd856e5068
Removes duplicate AI ability func (#7045)
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2025-06-09 11:30:16 +02:00
Emilia Daelman
f4ff5e6d26
Feature/ai/wide guard quick guard singles (#7086)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-06-08 21:50:34 +02:00
jfb1337
096493aa35
AI: Add AI_SMART_TERA flag to make smarter decisions about when to terastalize. (#6705)
Co-authored-by: jfb1337 <>
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-05-31 09:47:25 +02:00
AlexOn1ine
b90fdd1b3c Master to upcoming merge 2025-05-26 10:41:11 +02:00
Alex
f9400332fc
Fixes AI repeated use of weather set up moves (#6963) 2025-05-22 16:50:13 -04:00
Alex
f1c1906324
Fix misleading name (#6865) 2025-05-17 16:23:30 +02:00
Eduardo Quezada
edf7c67775
Remove non-volatile status EFFECTs (#6772) 2025-05-16 22:52:51 +02:00
Alex
73e65b76c4
Consolidated HasMoveFlagX functions (#6874) 2025-05-16 20:50:45 +02:00
surskitty
e44d0326be
AI double battle friendly fire logic improvements (#6766) 2025-05-16 11:41:03 -04:00
Eduardo Quezada
3056909286
Added weather accuracy move flags (#6857) 2025-05-16 07:58:40 +02:00
AlexOn1ine
243c43e6a4 Add prediction function 2025-05-15 08:10:19 +02:00
Pawkkie
b48d0c387d Throw out unnecessary functions 2025-05-08 14:49:49 -04:00
Pawkkie
1a2cd5645a
Fix roll handling in AI party damage calcs (#6733) 2025-05-01 10:15:19 +02:00
Alex
4ff2f3de42
Centralizes non volatile status effect checks (#6533)
Co-authored-by: PhallenTree <168426989+PhallenTree@users.noreply.github.com>
2025-04-30 11:34:19 -04:00
Bassoonian
cca969b04d
Adds move effect type checking (#6618) 2025-04-16 00:08:57 +02:00
Bassoonian
512368fd03
Add type checking for hold item effects (#6619) 2025-04-15 23:33:00 +02:00
Bassoonian
d62205f2fc
Converts some defines to enums (#6592) 2025-04-13 13:39:20 +02:00
Pawkkie
54928726cb
AI smarter status handling (#6550) 2025-04-08 17:47:45 +02:00
Pawkkie
9cb96235f9
Add basic Unaware check bad move scoring (#6524) 2025-04-02 18:18:33 -04:00
Alex
c707df358e
Clean up AI code duplication and unify checks (#6348) 2025-03-20 22:50:01 +01:00
Alex
98a5fab898
Optimization / Clean up of AI move usability (#6332) 2025-03-18 23:42:07 -04:00
Alex
6031bb2a78
Split ai function IsBattlerTrapped (#6438) 2025-03-18 12:00:11 -04:00
Pawkkie
b12f32667f
Fix roll handling in AI damage calcs (#6396)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-03-08 09:53:14 +01:00
Hedara
06d31bc8ea Merge branch 'master' into final-1.10-master-upcoming-merge 2025-02-26 22:07:10 +01:00
Pawkkie
b109c4c36b
Fix Substitute / Shed Tail Switch AI (#6334) 2025-02-25 13:06:39 +01:00