GGbond
4198a5cb85
Fix Forewarn edge cases and random selection ( #9049 )
2026-01-29 13:54:28 +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 )
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
Eduardo Quezada
0f8b2a1ba8
Merge branch '_RHH/master' into _RHH/pr/master/pretSync20240909
2024-10-04 10:23:58 -03:00
Eduardo Quezada
5130ea9da3
Merge branch '_RHH/master' into _RHH/upcoming
2024-09-28 11:45:49 -03:00
Pawkkie
79776bf6bb
ShouldSwitchIfWonderGuard tests and cleanup ( #5383 )
2024-09-14 10:45:26 +02:00
Eduardo Quezada
831b394ca1
Merge branch '_pret/master' into _RHH/pr/master/pretSync20240909
...
# Conflicts:
# Makefile
# include/battle.h
# include/battle_main.h
# include/battle_util.h
# include/data.h
# make_tools.mk
# map_data_rules.mk
# src/battle_setup.c
# src/fieldmap.c
2024-09-11 15:26:14 -03:00
tertu
17f68563eb
Remove support for the original LCG random number generator ( #5078 )
2024-08-24 10:07:00 -07:00
PhallenTree
ec3a86dd9a
Adds in-battle effect of Pickup, adds Harvest and Pickup tests ( #5170 )
...
* Adds Harvest tests
* Adds Pickup in-battle effect + tests
* Fix G-Max Replenish test (Munchlax activates Pickup before G-Max Replenish)
* Change canPickupItem to bit field
* Make RandomUniformExcept inclusive (higher end) + convert bitfield
* Use CantPickupItem in PickupHasValidTargetc check
* Review
2024-08-16 15:37:23 +02:00
Bassoonian
c1ee43254e
Clean up defines lacking spaces
2024-08-15 19:34:56 +02:00
Pawkkie
9f845a79e5
Fix Switch AI Bug: AI never switching out when it could be OHKO'd ( #5089 )
...
* Fix switch AI bug
* Forgot to save a file lol
* Fix infinite loop test compatibility
2024-08-07 15:58:39 +02:00
ghoulslash
48d2bff553
merge w upcoming
2024-07-08 14:12:00 -04:00
Eduardo Quezada
fcdc9ed65a
Merge branch '_RHH/master' into _RHH/upcoming
...
# Conflicts:
# src/battle_util.c
# src/data/pokemon/species_info/gen_7_families.h
# test/battle/ability/download.c
# test/battle/ability/intimidate.c
# test/battle/ability/supreme_overlord.c
# test/battle/ability/zero_to_hero.c
# test/battle/ai/ai.c
# test/battle/move_effect/plasma_fists.c
2024-07-05 14:25:25 -04:00
sneed
609754f0f6
Add RandomChance macro and ability trigger chance config ( #4829 )
...
* RandomChance macro, contact ability chance config
* Unify config, add shed skin
2024-06-18 20:13:44 +02:00
sneed
b6d3bdf622
Confusion, cursed body and poison touch trigger chance fixes and tests ( #4831 )
...
* accurate confusion chance and a test
* Accurate Poison Touch chance and tests
* Accurate cursed body chance
* Create cursed_body.c
2024-06-18 20:07:40 +02:00