12827 Commits

Author SHA1 Message Date
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
wiz1989
e0c7b63095
"no additional effect" text for status Z moves without effects (#6368) 2025-03-06 12:47:03 +01:00
Eduardo Quezada
3eae7a0c96
Gen 1's Special base stat (#6330) 2025-03-06 11:09:53 +01:00
kittenchilly
f747deb6ca
Fix Melmetal's weight (#6382) 2025-03-05 17:58:35 +01:00
Dana Yatsuta
ce99d6e75c
Fix roamers having 0 hp on repeat encounters (#6366) 2025-03-05 13:44:11 +01:00
Rachel
c7ac1a19df
Refactor teachable learnset helper (#6378) 2025-03-04 20:10:00 +01:00
Pawkkie
3398d75fe8
Improve AI's handling of player's Encore (#6305)
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2025-03-04 14:26:07 +01:00
PhallenTree
fe4046a900
Fix tests 2025-03-04 11:34:07 +00:00
PhallenTree
e750dca08a
Reorder Dancer activation 2025-03-04 11:02:33 +00:00
Alex
abea5c0486
Fix Red Card overwriting gBattlerAttacker (#6376) 2025-03-03 23:18:55 +01:00
ghoulslash
d44eff4e0c fix red card overwriting gBattlerAttacker causing subsequent MOVEEND cases checking attacker not to trigger properly 2025-03-03 14:56:08 -05:00
Alex
69e845aee8
Fixed Ivy Cudgel types with type changes (#6369) 2025-03-03 16:49:33 +01:00
Hedara
6b9cc08372 Add Raging Bull fix 2025-03-03 16:20:18 +01:00
Hedara
7665324be0 Removed hard-coded types 2025-03-03 10:00:53 +01:00
Alex
8041f6978b
Small Code clean up in GetBattlerAbility (removes duplication) (#6362) 2025-03-03 09:00:27 +01:00
Alex
7a3acdf7fe
Change ability to abilityNum in CreateTrainerMon (#6370) 2025-03-03 08:58:37 +01:00