13536 Commits

Author SHA1 Message Date
Pawkkie
50b0c5a2e3 WHOOPS 2025-03-22 20:29:03 -04:00
Pawkkie
11a7ea99f1 fix choice switches 2025-03-22 17:23:13 -04:00
kittenchilly
76bb903d06
Update Battle Debug menu with new AI flags (#6444) 2025-03-22 08:54:52 +01:00
Alex
c707df358e
Clean up AI code duplication and unify checks (#6348) 2025-03-20 22:50:01 +01:00
Pawkkie
4c18e88282
Improve "all moves bad" switching (#6453) 2025-03-20 16:43:56 +01:00
Alex
5c05715585
Adds move description battle config (#6364) 2025-03-20 10:12:37 +01:00
Bassoonian
9a23f19575
19-03-25 master to upcoming merge (#6450) 2025-03-20 09:57:05 +01:00
Alex
adc2c61fe8
Unifies dynamic move category checks (#6443) 2025-03-19 23:06:08 +01:00
AlexOn1ine
3c632b8b44 19-03-25 master to upcoming merge 2025-03-19 17:12:47 +01:00
Alex
4c4d043c13
Refactor the function IsAbilityPreventingEscape (#6439)
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2025-03-19 16:09:36 +01:00
Alex
8dfd3bd278
Fixes Magic Coat message when move is bounced back (#6419)
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2025-03-19 13:57:48 +01:00
Alex
21f1b3bf9d
Refactor HasWeatherEffect and IsUnnerveAbilityOnOpposingSide (#6441) 2025-03-19 13:56:58 +01:00
PhallenTree
cf9ee2caee
Fixes Toxic Spikes Absorbed message (#6448) 2025-03-19 13:46:23 +01:00
Pawkkie
411a236ce7
Fix AI using Scald / fire moves against frozen / frostbitten targets (#6442) 2025-03-19 09:32:59 +01:00
Alex
98a5fab898
Optimization / Clean up of AI move usability (#6332) 2025-03-18 23:42:07 -04:00
Raymond Dodge
7b6b9ab655
Remove casts in decoration.c (#2110) 2025-03-18 18:41:51 -04:00
Alex
6031bb2a78
Split ai function IsBattlerTrapped (#6438) 2025-03-18 12:00:11 -04:00
Alex
4193963096
Fixes Cotton Spore failing if one of the targets blocks it (#6418)
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
Co-authored-by: DizzyEggg <jajkodizzy@wp.pl>
2025-03-18 15:41:37 +01:00
Alex
29fa249762
Allow the AI to see the second hit of Parental Bond (#6403) 2025-03-17 22:00:04 +01:00
Alex
0db9043c52
Rename absentBattlerFlags to absent (#6432) 2025-03-17 21:51:04 +01:00
Alex
f237b5fa1b
Fixes negative priority being blocked by dazzling abilities (#6433) 2025-03-17 21:48:50 +01:00
Pawkkie
3fa57381cd
Fix Focus Sash being considered in switch AI's hits to KO calcs (#6436) 2025-03-17 21:01:03 +01:00
Alex
99a3d01877
Fixes dynamax reversion when ejected out + anim fix (#6416)
Co-authored-by: hedara90 <90hedara@gmail.com>
2025-03-17 19:57:38 +01:00
wiz1989
1e2aa18ffe
Added Dynamax/Gigantamax battle messages (#6440)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-03-17 19:16:43 +01:00
Alex
bd2d9f63ea
Fixes hazards not respecting tera types (#6431) 2025-03-16 22:05:21 -04:00
PhallenTree
ddab689a07
Fixes Neutralizing Gas Exits, Weather Abilities and Terrain Effects order (#6435) 2025-03-16 23:10:20 +01:00
Deokishisu
eaf7549854
Replace Incorrect Slow Stairs Movement with Correct One (#6275) 2025-03-16 14:51:36 -07:00
Deokishisu
48d321e80b
Include Missed GetInteractedMetatileScript Entries for Mart & Center Signs (#6269) 2025-03-16 12:06:05 -07:00
Alex
079017549d
Wrong argumet usage in CalcCritChanceStage (#6429) 2025-03-16 14:58:46 +01:00
cawtds
5aa85e7b8d fix search level 2025-03-15 00:20:01 +01:00
Alex
5965c08326
Create move end Sheer Force (#6411) 2025-03-14 20:11:42 +01:00
hedara90
7af9984a4d
Fixed unfusion of traded materials (#6415)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-03-14 14:03:55 +01:00
Alex
7df3298534
Minor Recoil Effect refactor (#6409) 2025-03-14 12:43:45 +01:00
hedara90
b08a5fb15a
Tests for checking all move animations (#6297)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-03-13 13:46:48 +01:00
surskitty
7193909fa7
Configuration to make all Hail moves summon Snow or vis versa, to have only one ice weather (#6149) 2025-03-12 21:31:45 +01:00
hedara90
3ca4ce2444
Fixed Parental Bond with two-turn attacks (#6408)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-03-12 20:54:32 +01:00
hedara90
4e01ce6993
Moved some AI stuff out of the battlestruct (#6405)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-03-11 21:23:02 +01:00
hedara90
a26a47cab8
Fixed AI_FLAG_CHECK_VIABILITY changing the toxic counter in some cases (#6402)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-03-11 13:58:49 +01:00
hedara90
40dd3a7688
Fix compile errors with OW_BATTLE_ONLY_FORMS set to FALSE (#6400)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-03-10 17:11:25 +01:00
PhallenTree
af3984bee4
Fixes gimmick icon flying off the screen (#6401) 2025-03-10 17:01:02 +01:00
Alex
4a1d08d760
Minor Clean up for AI_CalcDamage to remove some duplicate code (#6397)
Co-authored-by: Pawkkie <61265402+Pawkkie@users.noreply.github.com>
2025-03-09 19:34:27 -04:00
Alex
3def0e751b
Fixes crash damage move against absorbing abilities (#6361) 2025-03-09 20:54:58 +01:00
cawtds
7eaaa1f8d4 remove/replace IsAlly leftovers 2025-03-09 15:05:05 +01:00
AlexOn1ine
06315ff084 first review batch 2025-03-08 21:24:22 +01:00
hedara90
a94b96a02f
B_FAST_INTRO_PKMN_TEXT fix (#6395)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-03-08 09:54:25 +01:00
Pawkkie
b12f32667f
Fix roll handling in AI damage calcs (#6396)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-03-08 09:53:14 +01:00
Alex
46b821c196
Fix damage roll order for AI calcs (#6356) 2025-03-07 12:40:40 -05:00
innocenthedgehog
752181bbcb
Switch AI considers Wind Rider (#6391) 2025-03-07 12:01:27 -05:00
Pawkkie
6500f4653f
Switch AI will factor in player's choice lock when determining hits to KO (#6343) 2025-03-07 11:44:59 +01:00
AlexOn1ine
ba3ebc70d5 Merge remote-tracking branch 'rhh/master' into 06-03-25-Merge 2025-03-06 18:08:55 +01:00