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
07255a2237
extern void * const gNullScriptPtr;
2025-01-10 11:55:02 +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
Martin Griffin
1c765d1126
Merge pull request #2085 from DizzyEggg/patch-4
...
remove undef TASK_NONE from list_menu
2025-01-09 19:29:09 +00:00
DizzyEggg
84856817b2
remove undef TASK_NONE from list_menu
2025-01-09 19:33:45 +01:00
Martin Griffin
0779c9cf49
Merge pull request #2084 from DizzyEggg/patch-3
...
extern gAncientPowerRockSpriteTemplate fix
2025-01-09 15:51:10 +00:00
DizzyEggg
9ab4f5d26a
extern gAncientPowerRockSpriteTemplate fix
2025-01-09 15:50:39 +01: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
Martin Griffin
697d2b7f30
Merge pull request #2083 from DizzyEggg/patch-2
...
missing const in extern gBasicHitSplatSpriteTemplate
2025-01-08 06:05:37 +00:00
DizzyEggg
0ec1189f34
extern const gBasicHitSplatSpriteTemplate
2025-01-07 22:14:54 +01: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
Martin Griffin
5e75cd037b
Merge pull request #2082 from shachar700/patch-2
...
Update vars.h (cleanup)
2025-01-06 20:38:52 +00:00
shachar700
a0e8753083
Update vars.h (cleanup)
...
Removed an extra are
2025-01-06 22:17:24 +02: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
LOuroboros
adb4a1ff48
Added the Gen. 4+ berries to gBerryCrush_BerryData ( #5937 )
2025-01-06 08:03:44 -03:00
Alex
5317371fea
Last fix for Sparkling Aria / Covert Cloak / Shield Dust interaction ( #5956 )
2025-01-06 12:03:41 +01:00
Eduardo Quezada
40ba25dd3e
Converted 2 various to callnative ( #5950 )
2025-01-05 17:47:49 +01:00
shachar700
cbd0b3ef0c
Field effect for cutting grass is missing setfieldeffectargument. Issue #5766 ( #5952 )
2025-01-05 16:45:21 +01:00
Eduardo Quezada
c6d92eaf80
Removed references to HANDLE_EXPANDED_MOVE_NAME in docs ( #5955 )
2025-01-05 15:32:48 +01:00
Eduardo Quezada
771156eb3d
Merge branch '_RHH/master' into _RHH/upcoming
2025-01-05 10:08:16 -03:00
khbsd
76964dd96a
Fly from Pokenav ( #5679 )
2025-01-05 00:24:58 +01:00
Eduardo Quezada
d7bbb2e628
Easy customizable Hidden Move types ( #5872 )
2025-01-04 21:42:14 +01:00
Pawkkie
b8ccc29126
Update scope.md ( #5948 )
2025-01-04 20:40:10 +01:00
psf
a7f77ed08d
Adds B_VAR_DIFFICULTY and related functions READ DESC ( #5337 )
...
Co-authored-by: sbird <sbird@no.tld>
Co-authored-by: Philipp AUER <SBird1337@users.noreply.github.com>
Co-authored-by: Martin Griffin <martinrgriffin@gmail.com>
Co-authored-by: hedara90 <90hedara@gmail.com>
2025-01-04 14:25:03 +01:00