cawtds
75d5edad08
Fix UB when accessing move result flags ( #6030 )
...
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-01-15 21:30:25 +01:00
Martin Griffin
ed0c9a4671
Restore lock/lockall/locktrainer/release/releaseall in triggers ( #5976 )
2025-01-15 10:22:26 -03:00
hedara90
7c6c9120ea
Ewram and unused function cleanup sweep ( #6019 )
...
Co-authored-by: Hedara <hedara90@gmail.com>
2025-01-15 14:07:12 +01:00
Alex
c46f8541f9
Fixes self effect moves not procing for spread moves when battler 3 w… ( #6020 )
2025-01-14 15:18:00 -05:00
AZero13
7eb96ec615
Use SET8 and SET32 consistently ( #5544 )
...
Co-authored-by: Rose <83477269+AreaZR@users.noreply.github.com>
2025-01-14 20:42:55 +01:00
Pawkkie
e8dd8da5f7
Add AI_FLAG_PREFER_HIGHEST_DAMAGE_MOVE ( #6025 )
...
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-01-14 14:13:48 -05:00
AZero13
5effd5a8b5
Remove redundant calls to GetMonData in pokemon.c ( #5545 )
...
Co-authored-by: Rose <83477269+AreaZR@users.noreply.github.com>
2025-01-14 20:00:48 +01:00
Eduardo Quezada
ce40c3356c
Merge branch '_RHH/master' into _RHH/upcoming
2025-01-12 08:42:57 -03:00
hedara90
9c7c94d474
Fixed a bunch of move anims ( #5936 )
...
Co-authored-by: Hedara <hedara90@gmail.com>
2025-01-12 10:01:44 +01:00
Eduardo Quezada
15a034a1d9
Fixed multiple transform/form change graphical issues ( #6005 )
2025-01-12 09:49:19 +01:00
Alex
28561bca4a
Fixes zmove trigger sprite on b button exit ( #6009 )
2025-01-12 00:59:57 +01:00
Alex
9e8ab3d891
Fixes Tera giving boost to dynamic bp moves ( #6008 )
2025-01-12 00:59:12 +01:00
Alex
2da547908e
Fixes Shell Bell inlcuding heal amount from Future Sight when triggered ( #5962 )
2025-01-12 00:27:31 +01:00
Alex
ddef67bbb1
Future Sight Innards Out follow up for upcoming ( #5998 )
2025-01-12 00:25:50 +01:00
Alex
10a3ed2044
Use gCurrentMove instead of checking FF move ( #5999 )
2025-01-12 00:25:17 +01:00
hedara90
846734e894
Ported Makefile fix from upcoming ( #6007 )
...
Co-authored-by: Hedara <hedara90@gmail.com>
2025-01-11 21:53:15 +01:00
Martin Griffin
7f2b76d597
Fix Makefile rules so that test.elf builds in build/test ( #6004 )
2025-01-11 11:29:51 -03:00
Alex
8f34c76395
Removes Resource Flags and moves fields to DisableStruct ( #5945 )
2025-01-11 09:39:10 -03:00
Eduardo Quezada
8427d47ea5
Fixed Gimmick tests failing when running first ( #6001 )
2025-01-11 13:36:00 +01:00
DizzyEggg
bfa9d905e1
Free some IWRAM ( #6000 )
2025-01-11 13:30:11 +01:00
DizzyEggg
f15d89893e
Allow Party Menu with 0 Pokemon ( #5997 )
2025-01-11 12:14:31 +01:00
Eduardo Quezada
8821779815
Merge branch '_RHH/master' into _RHH/upcoming
2025-01-11 08:07:15 -03:00
Alex
6e5f40d506
Introduces BattlerState struct for the Battle Engine ( #5954 )
2025-01-11 07:12:22 -03:00
Eduardo Quezada
21bc5cfd30
Debug menu and createmon additions/cleanup ( #5994 )
2025-01-11 10:07:47 +01:00
Eduardo Quezada
c33c38e020
Remove form change function footguns ( #5995 )
2025-01-11 09:57:39 +01:00
psf
71cf1bfaa7
Updated Makefile to allow for the creation of specific tests ( #5993 )
2025-01-11 07:25:04 +00:00
Pawkkie
f8151f0be5
Missed two uses of new hazard type enum ( #5996 )
2025-01-10 20:14:15 -03:00
Eduardo Quezada
0fefb444de
Multiple removals of hardcoded move IDs ( #5964 )
2025-01-10 17:07:32 -05:00
DizzyEggg
3c7708fae4
Remove out of bounds gSprites access in move relearner ( #5991 )
2025-01-10 17:00:30 +01:00
Alex
75a2d419e1
Follo up for Innards Out / Future Sight interaction ( #5967 )
2025-01-10 16:59:37 +01:00
Alex
ab49aaf3b1
Dynamic move type was ignored in doubles for spread moves ( #5984 )
2025-01-10 16:58:51 +01:00
DizzyEggg
25d678f1e7
PlayerHandleStatusXor - change u8 to u32 ( #5988 )
2025-01-10 09:53:27 +00:00
Martin Griffin
1551a33069
Fix leftover test change from #5033 ( #5987 )
2025-01-09 17:28:09 -03:00
DizzyEggg
83979375d3
Don't write to NULL in TryFindHiddenPokemon ( #5983 )
2025-01-09 14:19:07 +00:00
DizzyEggg
e244d942cc
CreateFacilityMon error: 'personality' may be used uninitialized ( #5981 )
2025-01-09 14:01:00 +01:00
Alex
e264fa6fc0
Removed OW_AUTO_SIGNPOST ( #5978 )
2025-01-08 16:14:38 -08:00
psf
81d877339c
Removed OW_AUTO_SIGNPOST ( #5974 )
2025-01-08 21:36:50 +01:00
Martin Griffin
4c4137d600
Revert #5033 change to MapHeaderRunScriptType ( #5975 )
2025-01-08 19:26:35 +01:00
Pawkkie
b5f539ed21
Rename AI_FLAG_PREFER_STRONGEST_MOVE ( #5972 )
2025-01-08 14:00:20 +01:00
Martin Griffin
bb781f21a1
Arbitrary trainer scripts + map script/trigger softlock prevention ( #5033 )
...
Script_RunImmediatelyUntilEffect runs a script until either a specified
effect may occur or it reaches an end.
All existing script commands and natives, and some specials, call
Script_RequestEffects which allows us to analyze them.
Any downstream script commands/natives/specials will be statically known
not to call Script_RequestEffects and treated as if they have all
effects. Manually tagging them with requests_effects=1 and calling
Script_RequestEffects will make them analyzable.
Using these, we're able to execute scripts until they either exit with
no effect, or would possibly have an effect. This allows us to:
1. Not run on frame map scripts or triggers if they would have no
effect.
2. Immediately run triggers if they only affect flags/vars. This removes
the lag frames when biking into the Cycling Road, for example.
3. Migrate on load/on transition/on resume/on return to field/on dive
warp scripts onto the global script context if they would block
(approximated via SCREFF_HARDWARE).
4. Support arbitrary control flow in trainer scripts. The trainer does
not see the player if the script has no effect, and the trainer will
use whichever trainerbattle command is branched to.
5. Support arbitrary scripts in trainer scripts. cant_see and
cant_see_if_* commands have been introduced so that scripts are able
to do something when the player interacts with the trainer even if
that trainer wouldn't see them.
2025-01-08 10:27:00 +00:00
Alex
5391b451ae
Shell Bell Clean up / Simplification and Tests ( #5924 )
2025-01-07 21:50:23 +01:00
Alex
c3833fa55f
Fixes Parting Shot / Eject Pack interaction ( #5963 )
2025-01-07 15:24:12 -05:00
Pawkkie
46fc560320
Update scope.md (again) ( #5971 )
2025-01-07 12:17:14 -08:00
PhallenTree
c10287b4c1
Fixes various Dynamax HP conversions/calculations ( #5933 )
2025-01-07 20:08:31 +01:00
Martin Griffin
5a0c5480b2
Fixed interaction between Innards Out and Future Sight ( #5966 )
2025-01-07 14:57:46 +00:00
wiz1989
5bfc25a4ff
changed data according to suggestions from the PR
2025-01-07 15:33:22 +01:00
wiz1989
04da838d88
Innards Out and Future Sight interaction
2025-01-07 14:00:09 +01:00
wiz1989
19d8f51f6d
Merge pull request #3 from rh-hideout/master
...
update to newest expansion
2025-01-07 13:18:02 +01:00
kittenchilly
0294beddf1
Add manual breaking back to "What will (mon) do?" message ( #5908 )
2025-01-06 14:23:09 -03:00
Alex
bc409b3028
Battle Weather Refactor oversight ( #5960 )
2025-01-06 12:14:13 +01:00