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 )
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 )
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 )
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 )
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
ghoulslash
b488ff9b53
merge w upcoming
2024-11-03 07:11:40 -05:00
Pawkkie
7413d107ae
Should switch refactor to facilitate switch prediction ( #5466 )
...
Co-authored-by: Martin Griffin <martinrgriffin@gmail.com>
2024-10-25 13:04:42 +02:00
Pawkkie
03eda5749d
Healer ability tests ( #5559 )
2024-10-22 19:02:28 +02:00
ghoulslash
54484593b3
Merge branch 'upcoming' of https://github.com/rh-hideout/pokeemerald-expansion into rhh/dexnav
2024-10-18 21:46:54 -04:00
Eduardo Quezada
ee9c6d4912
Merge branch '_RHH/master' into _RHH/upcoming
2024-10-17 00:16:01 -03:00
ghoulslash
cf78462fab
merge w upcoming
2024-10-15 21:24:47 -04:00
ghoulslash
353915ef64
Add various tests, add RNG_RANDOM_TARGET ( #5438 )
...
* burn dmg test depends on config
* burn and frostbite tests use B_BURN_DAMAGE config for denom val
* update kings shield test with config
* add RNG_RANDOM_TARGET, use SetRandomTarget in HandleAction_UseMove target acquisition, update uproar test to PASSES_RANDOMLY since test will fail if you target the soundproof voltorb. Slightly faster UproarWakeUpCheck
* add sticky web+contrary test
* add EXPECT_EQ to contrary+sticky web test
* Update src/battle_script_commands.c
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
* Update src/battle_util.c
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
* Update test/battle/move_effect/uproar.c
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
* fix test
* syntax fix
---------
Co-authored-by: ghoulslash <pokevoyager0@gmail.com>
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2024-10-11 23:47:46 +02:00
Pawkkie
464c90a862
ShouldSwitchIfGameStatePrompt Tests ( #5462 )
...
* Weird tests plz help <3
* better RNG tag names?
* DATA.trial for data to reset between trials
* Fix Wonder Guard test
* Unused errors
* Finish new tests
* Split fix into its own PR
* Spacing
* Rename RNG_AI_SWITCH_TOXICD
* Forgot to save file lol
---------
Co-authored-by: Martin Griffin <martinrgriffin@gmail.com>
2024-10-11 19:57:19 +02:00
ghoulslash
2e52e3331f
merge w upcoming
2024-10-04 12:56:21 -04:00