18257 Commits

Author SHA1 Message Date
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
Martin Griffin
731948a769
preproc: Support __attribute__ in enums (#7344) 2025-07-18 21:43:02 +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
Martin Griffin
e5cf6b1e6e
Add Macro key to trainerproc (#7157) 2025-07-18 13:08:42 +01: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
64f9d6a24e
Fix AI resisted move scoring (#7350) 2025-07-15 13:13:30 -04:00
Alex
d5c1d3322c
Fixes Status overwrites and Effect Spore wrong func args (#7340) 2025-07-15 17:52:44 +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
hedara90
8ce4f42f4d
Master to upcoming, 2025-07-13 (#7336) 2025-07-13 20:37:04 +02:00
Pawkkie
819e7d9c03 Fix failing test 2025-07-13 14:16:22 -04: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
Martin Griffin
2dc67ab156
12/07/25 master merge (#7327) 2025-07-12 13:06:20 +01:00
AlexOn1ine
68db4c5a77 12/07/25 master to upcoming merge 2025-07-12 11:55:06 +02:00
surskitty
9ccb1fbc3a Lowering the default odds to 90%, 70%, and 40%. 2025-07-12 01:01:18 -04:00
surskitty
c7b8787f59 Better description in the documentation. 2025-07-12 00:55:52 -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
surskitty
4e0a8167be Test works? I think? 2025-07-12 00:37:11 -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
Linathan
9228826ae1
New and polished battle animations (#7074) 2025-07-11 19:14:19 +02:00
Nephrite
7d5a949b71
Bag refactor 2 (#7166) 2025-07-11 11:50:38 +02:00
grintoul
d63f859db6
Multibattles Illusion party boundaries fix (#7308) 2025-07-11 09:53:03 +02:00
ghoulslash
c7b2c771e1
Cotton down use jumpifabsent (#7318)
Co-authored-by: ghoulslash <pokevoyager0@gmail.com>
2025-07-11 09:43:14 +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
Phantonomy
809379797e
Better Hydrapple Backsprite (Adapted from DegelAlex on deviantart (#7246) 2025-07-10 23:43:43 -04:00
surskitty
3ee93c69ec Preliminary handling for AI_FLAG_ASSUME_POWERFUL_STATUS, not actually yet called. 2025-07-10 23:38:08 -04:00
hedara90
cb606cee6a
Fix HGSS dex running out of heap (#7317)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-07-10 23:37:06 +02:00
Pawkkie
c5f788444a
Fix choice AI not seeing Gorilla Tactics (#7316) 2025-07-10 22:49:16 +02: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
surskitty
4e558af76e
AI uses After You to help set up Trick Room. (#7310) 2025-07-10 20:03:46 +02:00
surskitty
cb03086c1d
AI checks the partner's moves for Flatter, Swagger, and Soak. (#7306) 2025-07-10 20:02:31 +02:00
Pawkkie
419219bb31
Add AI_FLAG_ASSUME_STAB (#6797) 2025-07-10 19:58:31 +02:00