13536 Commits

Author SHA1 Message Date
grintoul
271ca56bdb
Fixes CanUseLastResort and resolves 3 KNOWN_FAILING Last Resort tests (#8032)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-10-25 14:42:28 +02:00
Bassoonian
be23dfdf2a
Even more enums and documentation (#8029) 2025-10-25 14:37:47 +02:00
hedara90
6eaa09bf5d
Add error messages for trying to send an illegal mon to the PC and fixes index in double wild battles (#7982)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-10-25 14:37:17 +02:00
Alex
7ebb939cbc
Remove usage of gBattlerTarget for MirrorHerb/Opportunist (#8033) 2025-10-25 13:52:40 +02:00
Alex
65244cbeb4
Moved usedHeldItem to Party State struct (#8006) 2025-10-24 18:56:16 +02:00
Alex
eb1be34d47
Fix Salt Cure script (#8005) 2025-10-24 18:53:53 +02:00
Alex
8ea947d5a1
Fixes Protosynthesis not activating after weather was reset (#8021) 2025-10-24 18:53:34 +02:00
Alex
cec0351dd5
I don't know (#8015) 2025-10-24 18:50:59 +02:00
Alex
8e76889579
Fixes visual glitch after Misty Explosion (#8022) 2025-10-24 18:50:41 +02:00
Alex
083add8127
Adds missing alive check for Rapid Spin (#8024) 2025-10-24 18:50:23 +02:00
grintoul
95c2a6e2b6
Multibattle testing system (#7257)
Co-authored-by: hedara90 <90hedara@gmail.com>
Co-authored-by: Martin Griffin <martinrgriffin@gmail.com>
2025-10-24 15:00:23 +02:00
FosterProgramming
8c87522415
Fix toxic debris setting hazards on the wrong side when hit by an ally (#8026) 2025-10-24 11:50:19 +02:00
FosterProgramming
5348de4abb
Banned species list (#8003) 2025-10-23 21:29:33 +02:00
Bassoonian
fbd702e3a4
Some more documentation and cleanup (#8020) 2025-10-23 20:14:38 +02:00
FosterProgramming
5b4403ddfe
Fix stats defined in tests being overwritteng by stat change (#8018)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-10-23 18:59:15 +02:00
Bassoonian
fb660061ab
Converts some defines to enums and name unnamed enums (#8019) 2025-10-23 18:06:29 +02:00
FosterProgramming
46b122c5ce
Revert HGSS dex and movelist changes (#8016) 2025-10-23 13:52:25 +02:00
Nopinou
f53861ae05
Remove appearedInBattle bitfield & redundant use of sentOut partyState (#8011) 2025-10-22 23:25:18 +02:00
FosterProgramming
1343ddf7c3
Fix badge boost not applying in gen1 and 2 (#8013) 2025-10-22 22:57:04 +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
PhallenTree
2416bfb53b
Fixes Echoed Voice base power increase depending on attacker's use of the move (#7997) 2025-10-22 13:39:24 +02:00
FosterProgramming
2d73286777
Fix long pokemon name in partner party not appearing properly (#8009) 2025-10-22 10:09:58 +02:00
Eduardo Quezada
5276f2bc6b
Fixed Max Move in-battle descriptions (#8004) 2025-10-21 20:49:48 +02:00
hedara90
3bb6cddffb
Fix Minior start of battle form (#7972)
Co-authored-by: Hedara <hedara90@gmail.com>
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2025-10-21 16:39:02 +02:00
Estellar
b5b12051bf
Display TM/HM's move name in the debug menu (#7994) 2025-10-21 16:33:06 +02:00
FosterProgramming
c052f49dab
Fix unhandled config in hgss dex (#7999) 2025-10-21 16:08:44 +02:00
Alex
bc6ba15702
Fixes Terrain Extender timer (#7995) 2025-10-21 12:50:55 +02:00
Marky
c3735c5bd0
Fix OW Pokémon VObjects (#7991) 2025-10-21 11:23:05 +02:00
FosterProgramming
eac5da89ad
Make movelist calculations happen during compilation instead of runtime (#7967) 2025-10-20 15:31:42 +02:00
FosterProgramming
24c595bfec
Fix psychic terrain affecting semi-invulnerable mons (#7986) 2025-10-20 13:38:01 +02:00
Estellar
e5df8f0212
Bugfix Emotes not loading their palette (#7843) 2025-10-19 22:50:54 +02:00
Alex
786859b6bb
Fix Fling Mental Herb message (#7984) 2025-10-19 22:38:27 +02:00
DizzyEggg
1dd7a5731c
CalcBarFilledPixels Safe Div (#7979) 2025-10-19 22:37:23 +02:00
hedara90
c16e2ded60
Fix ribbon colours (#7971)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-10-19 22:36:59 +02:00
DizzyEggg
51de48fc3f
SetShellSideArmCategory avoid div by zero (#7980) 2025-10-19 20:40:34 +02:00
FosterProgramming
fb5f5b8f57
Fix ruination and nature's madness damage percentage (#7983) 2025-10-19 20:37:43 +02:00
DavidJCobb
7fd0029ed7
Add typedefs for MAPSEC and METLOC values (#2183)
Added typedefs: mapsec_t, metloc_t, and variants for MAPSEC and METLOC values. There are some rough edges that could do with smoothing out, but for now, this gets us close to ideal with a ROM that compares equal.

Per feedback, all typedefs to mention the underlying type within the typedef name. The documentation comments reflect and explain the naming convention.

Updated comments to reflect the fact that we're no longer using SET8 for a Pokemon's met locations, in favor of a new macro (added by this PR) that adjusts to match the width of whatever is being set.
2025-10-19 17:37:13 +01:00
Alex
cb0d503f66
Decouple passive hp updates from move damage updates (#7942) 2025-10-19 16:40:13 +02:00
FosterProgramming
4816fe02c2
Bugfix hidefollower not waiting properly (#7768) 2025-10-19 16:39:07 +02:00
FosterProgramming
5b2ecfe4d4
Setting wallclock time now properly sets fakeRTC (#7860)
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2025-10-18 23:45:21 -07:00
FosterProgramming
ddddca68e9
Fix no_effect script command overwriting trainer data in trainer script (#7978) 2025-10-19 06:42:59 +01:00
Estellar
a5b69a4daf
Give the Coin Case when coins are maxed (#7973) 2025-10-18 18:57:33 +02:00
Estellar
0965dffe70
Use TaskFunc wherever posible (#2188) 2025-10-18 17:53:50 +01:00
hedara90
b03e58e2a1
Fix Persim Berry battle usage (#7963)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-10-17 22:57:18 +02:00
PhallenTree
38221b9de5
Fixes Shields Down incorrectly preventing status on Minior Core form (#7968) 2025-10-17 20:40:37 +02:00
FosterProgramming
dd2eab0c41
Fix bug where transformed pokemon lose copied stats on levelup (#7969) 2025-10-17 20:27:54 +02:00
hedara90
358f3211ca
Fix nicknames containing many / overflowing the party screen textbox (#7970)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-10-17 20:17:35 +02:00
FosterProgramming
bb4a876768
Fix Focus Energy boosting crit by the wrong amount with gen1 crit chance (#7956)
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2025-10-16 21:34:40 +02:00
spindrift64
de3c031fc5
Fix Anticipation type effectiveness check (#7840) 2025-10-16 14:36:07 +02:00
FosterProgramming
f6c6ed6956
Fix follower NPC sidewaystair movement (#7909) 2025-10-16 13:37:36 +02:00