13119 Commits

Author SHA1 Message Date
Nephrite
2eeb346387
Bag refactor3 + Ghoulslash's sorting feature port (#7330) 2025-07-29 10:47:32 +02:00
Nephrite
689bf0bcbc
Fixed item swapping bug (#7428) (#7430) 2025-07-29 10:28:12 +02:00
grintoul
1fbee7cce0
fixed-damage-move-ai-calc-fix (#7385) 2025-07-28 14:10:34 +02:00
Nephrite
7c6cff1fb3
Get/SetMonData optimisation (#7313) 2025-07-28 11:42:28 +01:00
Pawkkie
b12fcd8c7e
Fix dynamic move types in switching (#7415) 2025-07-26 19:59:17 +02:00
Pawkkie
57fda0d060
Improve AI's priority handling (#7337) 2025-07-26 18:22:47 +02:00
Eduardo Quezada
cf4bb3e286
Moved some fields to BattlerState/PartyState (#7409) 2025-07-25 22:16:35 +02:00
Alex
e7cf162180
Fixes various Choice lock issues (#7383) 2025-07-25 10:18:30 -04:00
Alex
e222b725d2
Remove leftover code (#7397) 2025-07-25 09:32:20 -04:00
Pawkkie
c544fee140
Improve AI's Sucker Punch handling (#7389) 2025-07-22 20:13:10 +02:00
Alex
8e8813e593
Show chosen move in the battle debug menu (#7382) 2025-07-22 12:58:15 -04:00
grintoul
14a7fc58ad
Multibattle Partner AI Flags and 2vs1 battler3 AI Flags fix (#7378) 2025-07-20 15:00:55 -04:00
Pawkkie
a92f432daf
Improve AI type matchup calcs (#7364)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-07-20 12:53:14 +02:00
Pawkkie
cb66393df7
Add missing break (#7356) 2025-07-20 11:34:51 +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
c61c2bbbc1
Fix AI unusable move scoring freeze (#7369) 2025-07-19 09:56:56 +02:00
Alex
71d40cc3f1
Convert various to callnatives (#7355) 2025-07-18 19:12:37 +02:00
hedara90
05b1db8cc6
trainerproc copy other trainer party (#7251) 2025-07-18 15:57:57 +01:00
ghoulslash
ac69a61cb4
Fix magnet rise ai timer check (#7361)
Co-authored-by: ghoulslash <pokevoyager0@gmail.com>
2025-07-18 16:57:32 +02:00
Alex
705f194d98
Fixes various battler corruption during switch in ability activation (#7352) 2025-07-18 12:28:00 +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
PhallenTree
19c9aa508d
Fixes shadows and mon animations for Illusioned battlers (#7347) 2025-07-16 22:31:06 +02:00
PhallenTree
67d007f4fb
Fixes Grassy Terrain healing when Heal Blocked/Semi-Invulnerable (#7353) 2025-07-16 22:29:25 +02:00
Pawkkie
64f9d6a24e
Fix AI resisted move scoring (#7350) 2025-07-15 13:13:30 -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
Alex
d5c1d3322c
Fixes Status overwrites and Effect Spore wrong func args (#7340) 2025-07-15 17:52:44 +02:00
AlexOn1ine
674d46bb0f Fixes incorrect recoil damage after a berry was eaten 2025-07-15 15:37:23 +02:00
Alex
73a2e5104e
Bugfixes for Knock Off, Cover, Thief, Ceaseless Edge and Stone Axe (#7326) 2025-07-14 21:34:21 +02:00
Pawkkie
d27884cbb8
AI_FLAG_ASSUME_STATUS_MOVES -- AI flag to randomly know some of the player's status moves (#7324) 2025-07-14 15:04:31 -04:00
kittenchilly
b62e4924a3
Turn OW_FRLG_WHITEOUT into OW_WHITEOUT_CUTSCENE and make it generational (#6962) 2025-07-14 13:08:14 +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
Pawkkie
5c2980b906
AI assumes Magnitude / Present damage (#7334) 2025-07-13 22:31:19 +02:00
mudskipper13
688ec0023e
battle intro: fix issues with follower slide-in and wild shiny mon (#7325) 2025-07-13 20:47:14 +02:00
Pawkkie
bc4ad07f47 Merge branch 'master' into master-to-upcoming 2025-07-13 13:34:35 -04:00
Pawkkie
939e168c04
Fix AI_DoesChoiceEffectBlockMove typo (#7335) 2025-07-13 19:24:14 +02:00
Pawkkie
06c54a2d60
Fix switching 1v1 calcs not handling 0 (#7131) 2025-07-13 17:45:59 +02:00
Pawkkie
bad2307497
Instant Win option in Battle Debug (#7333) 2025-07-13 11:40:21 -04:00
AlexOn1ine
165e7502bc Instant Win option in Battle Debug 2025-07-13 16:21:37 +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
Pawkkie
1cea65cc76
master to upcoming 2, 2025-07-12 (#7329) 2025-07-12 16:07:05 -04:00
hedara90
14dbbf63d4
Remove competitive syntax config (#7154)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-07-12 13:03:36 -07:00
Hedara
a7e60ae08a Merge branch 'master' into merge-for-pawkkie 2025-07-12 21:29:30 +02:00
Pawkkie
b55ee2288b
Fix AI seeing switchin abilities wrong in tests (#7328) 2025-07-12 21:28:05 +02:00
Frank DeBlasio
c9ec896312
Refactor battle environment (#4891) 2025-07-12 12:38:06 -04:00