Commit Graph

109 Commits

Author SHA1 Message Date
Pawkkie
099aff910c
Shouldswitch refactor to use SwitchContext (#9847)
Some checks are pending
CI / build-emerald (push) Waiting to run
CI / build-firered (push) Waiting to run
CI / build-leafgreen (push) Waiting to run
CI / release (push) Waiting to run
CI / test (push) Waiting to run
CI / build (push) Blocked by required conditions
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-04-25 21:13:00 +02:00
moostoet
3707e6a52b
Implement Wish Passing in ShouldSwitch (#8472)
Some checks failed
CI / build-emerald (push) Has been cancelled
CI / build-firered (push) Has been cancelled
CI / build-leafgreen (push) Has been cancelled
CI / release (push) Has been cancelled
CI / test (push) Has been cancelled
CI / docs_validate (push) Has been cancelled
CI / allcontributors (push) Has been cancelled
CI / build (push) Has been cancelled
2026-04-10 17:29:09 -04:00
Pawkkie
6c40826d14
Config to randomize the order AI mons compute logic in double battles (#9462)
Some checks are pending
CI / build-emerald (push) Waiting to run
CI / build-firered (push) Waiting to run
CI / build-leafgreen (push) Waiting to run
CI / release (push) Waiting to run
CI / test (push) Waiting to run
CI / build (push) Blocked by required conditions
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2026-04-06 16:38:02 +02:00
Nephrite
47cac73a61
gBerries refactor + untangling berry indices from item IDs (#7305)
Some checks are pending
CI / build-emerald (push) Waiting to run
CI / build-firered (push) Waiting to run
CI / build-leafgreen (push) Waiting to run
CI / release (push) Waiting to run
CI / test (push) Waiting to run
CI / build (push) Blocked by required conditions
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-03-21 21:30:09 +01:00
GGbond
a354d21142
Add Intimidate cycling logic for ai switching (#9551)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-03-20 01:08:19 -04:00
Pawkkie
d12a6a46e5
Add AI contextual damage roll configs (#9568)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-03-19 16:31:20 +01:00
GGbond
72d635fc96
Add Gen 2-3 and Gen 4 Encore timers (#9429) 2026-03-18 09:26:14 +01:00
Eduardo Quezada
730d0a1fe8 Merge branch '_RHH/master' into _RHH/pr/upcoming/masterMerge 2026-03-14 15:45:44 -03:00
grintoul
62b91cf57d
Smarter Doubles Fake Out AI + EFFECT_FIRST_TURN_ONLY tests (#8664)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-03-07 21:08:53 -05:00
GGbond
474d586452
Add tests for Taunt (#9386) 2026-03-02 12:30:52 +00:00
Kildemal
b28878d639
Fixes wild mon target choice in double battles (#9075)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
2026-01-30 16:18:49 +01:00
AlexOn1ine
396c64c22a 30/01/26 Master to upcoming merge 2026-01-30 12:49:21 +01:00
GGbond
4198a5cb85
Fix Forewarn edge cases and random selection (#9049)
Some checks are pending
CI / build (push) Waiting to run
CI / docs_validate (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2026-01-29 13:54:28 +01:00
FosterProgramming
8d059cf5c4
Change randomweightedarray to use u16 weights instead of u8 (#8934) 2026-01-18 10:24:49 +01:00
FosterProgramming
550fe9a7de
Refactor pokerus and add configs (#7731)
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2026-01-14 12:04:33 +01:00
Pawkkie
0551fcf408
Add Dynamic Switch AI Function (#8629) 2025-12-25 02:02:01 +01:00
Alex
4ae2f03e02
Move disable struct members to battle mon volatiles (#8540) 2025-12-16 15:53:35 +01:00
Pawkkie
f5c4f403ca
AI ShouldPivot Overhaul (#8486) 2025-12-12 23:04:32 +01:00
grintoul
b58787f966
Adds TIE_BREAK_SCORE and TIE_BREAK_TARGET to test system to allow for forced or random move and target selection (#8398) 2025-12-07 16:58:10 -05:00
grintoul
2e6f941fdf
Decouples BattlerHasAi from battle positions to instead be determined by battler Battle Controller (#8247)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
2025-12-05 00:26:28 +01:00
Pawkkie
6615310279
Improve self-sacrifice AI (#8427) 2025-12-04 18:57:47 +01:00
Pawkkie
00b3179f75
Add AI_FLAG_RANDOMIZE_SWITCHINS (#6222) 2025-12-02 15:38:05 +01:00
FosterProgramming
44d4e0c1de
Refactor random functions to be runner specific (#7816) 2025-11-11 20:48:41 +00:00
AlexOn1ine
6acabd4ba2 Master to upcoming merge 2025-10-25 16:19:32 +02:00
Eduardo Quezada
dc0d910182
Fixed Stomping Tantrum not doubling in damage if the user failed Protect (#8008)
Some checks are pending
CI / build (push) Waiting to run
CI / allcontributors (push) Waiting to run
Docs / deploy (push) Waiting to run
2025-10-22 15:20:44 +02:00
FosterProgramming
a595696086
Update fishing odds to match official games (#7574) 2025-10-04 09:05:28 -07:00
AlexOn1ine
a4470cac2c Master to upcoming merge 2025-09-27 22:42:53 +02:00
FosterProgramming
1d11a2cb0a
Improve how test involving ball throw work (#7774) 2025-09-22 20:44:12 +02:00
FosterProgramming
db7e062fe1
Add some missing move animations to the move animation tests (#7507) 2025-09-21 23:27:05 +02:00
Alex
6aead97a37
Fix incorrect wrap turn amount (#7667) 2025-09-08 11:53:05 +02: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
Pawkkie
c544fee140
Improve AI's Sucker Punch handling (#7389) 2025-07-22 20:13:10 +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
Pawkkie
65a63fb9f0
Improve AI's ShouldRecover (#7342) 2025-07-16 23:30:51 +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
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
Pawkkie
3db12a0ae6
Haze Boosting AI Followup (#6966) 2025-06-11 18:30:22 +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
Pawkkie
83b7732fae Store predictingMove, config for chance 2025-05-08 14:19:43 -04:00
Pawkkie
c8fa4442d9
Adjust switch AI based on move scoring (#6615) 2025-05-06 00:39:44 +02:00
AlexOn1ine
40bf9ae087 conflicts 2025-05-03 10:26:07 +02:00
hedara90
ccda2308a3
Add AI_FLAG_PP_STALL_PREVENTION (#6743)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-05-02 11:30:09 -04:00
PhallenTree
fadf472157
Adds RNG tags and tests for Moody and Starf Berry (#6718) 2025-05-01 10:16:15 +02:00
Pawkkie
7a3cf5d3a3
Improve AI's defense against Focus Punch (#6713) 2025-04-28 08:34:09 +02:00
Pawkkie
579fa6410d
Switch chance config support (#6187) 2025-02-10 00:30:54 +01:00
tertu
14178edfe3
Don't use SeedRng some places where it isn't necessary (#6156) 2025-02-03 20:03:13 +01:00
Pawkkie
465d30fbd0
Add AI_FLAG_PREDICT_SWITCH (#6028) 2025-01-16 21:43:16 +01:00
ghoulslash
d8ea4fa1ec Merge branch 'upcoming' of https://github.com/rh-hideout/pokeemerald-expansion into rhh/dexnav 2025-01-02 08:28:21 -05:00
Pawkkie
c8b0da2493
Add AI_FLAG_WEIGH_ABILITY_PREDICTION (#5636) 2024-12-03 12:28:22 +01:00