193 Commits

Author SHA1 Message Date
AlexOn1ine
93cc143134 conflicts 2025-11-11 13:12:00 +01:00
PhallenTree
649798449e
Powder Move blocking cleanup (#8194) 2025-11-10 21:01:35 +01:00
Alex
d9797fa01d
Remove redundant Future Sight flag (#8185) 2025-11-09 22:33:03 +01:00
grintoul1
c230e54678 Master to Upcoming merge 20251107 2025-11-07 22:45:57 +00:00
ghostyboyy97
3c72ca1158
fix (AI scoring): shield dust considerations, IsMoveEffectInMinus self effect edge case, hitsToKO zero-case consideration (#8126)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-11-04 09:35:43 +01:00
Alex
dd875b87bc
Combine Simple Beam and Worry Seed into one effect (#8039)
Co-authored-by: PhallenTree <168426989+PhallenTree@users.noreply.github.com>
2025-10-29 15:20:12 +01:00
Bassoonian
f7cbe4853b
Add type enum (#8054) 2025-10-27 16:41:22 +00:00
Bassoonian
be23dfdf2a
Even more enums and documentation (#8029) 2025-10-25 14:37:47 +02:00
Alex
eee546df06
Item battle effect refactor (#7857) 2025-10-12 08:59:33 +02:00
surskitty
94a6e126f3
Changing all HasBattlerSideAbility to AI_IsAbilityOnSide. (#7927) 2025-10-11 23:47: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
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
Alex
5e07d4a509
Use stored values for ai switch-in effectiveness checks (#7794)
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2025-09-25 14:41:06 +02:00
Alex
66b7a7bf1e
Improve ability/heldEffect access for IsBattlerGrounded func (#7753) 2025-09-24 20:35:12 +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
Alex
32f8464fec
Attackcanceller fixes and improvements (#7698) 2025-09-16 18:00:30 +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
b8d5951dfb
Move some checks out of IncreaseStatUpScore to ShouldRaiseAnyStat (#7722) 2025-09-12 10:50:05 +02:00
surskitty
0ebd308497
AI uses Extreme Evoboost. (#7706) 2025-09-09 22:13:18 +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
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