## How to update
- If you haven't set up a remote, run the command `git remote add RHH https://github.com/rh-hideout/pokeemerald-expansion`.
- Once you have your remote set up, run the command `git pull RHH expansion/1.16.4
`.🧬 General 🧬
Changed
- Pret merge (30th of July 2026) by @hedara90 in #10555
- docs: updated PR template to be more explicit about AI by @pkmnsnfrn in #10641
- Pret merge (31st of August, 2026) by @hedara90 in #10721
Fixed
- Fix FRLG Trainer Card Setup by @agsmgmaster64 in #10527
- fix(save): fix reload_save functionality by @miriamlefae in #10581
- Fix form change sometimes not getting level up moves by @FosterProgramming in #10612
- Fixes starter never being shiny when P_NO_SHINIES_WITHOUT_POKEBALLS by @luuma in #10597
- Fix leveling up multiple levels at once sometmes teaching wrong moves by @FosterProgramming in #10614
- (Joint with Syreldar) Fix Underutilisation of CreateSpriteUnchecked meaning a fatal assertf triggers needlessly by @luuma in #10656
🗺️ Overworld 🗺️
Fixed
- Restore singmsg and normalmsg functionality by @agsmgmaster64 in #10550
- Fix follower crashing when interupting spin movement by @FosterProgramming in #10551
- Rework simultaneous palette fade by @FosterProgramming in #10573
- fix bard text speed by @FosterProgramming in #10557
- Fix trying to remove non existing speaker box by @FosterProgramming in #10540
- Fix movement type playing between trainer move and player face by @FosterProgramming in #10529
- Fix talking to buried movement npc by @FosterProgramming in #10652
🐉 Pokémon 🐉
Changed
- Converted Mega Staraptor's icon to INCGFX_U8 by @fdeblasio in #10561
- Correct the ZA Mega body colors by @kittenchilly in #10603
Fixed
- Fix Pokedex Plus evolution text misalignment by @TixoRebel in #10601
⚔️ Battle General ⚔️
Changed
- Change Howl Soundproof test to prevent user from blocking with Soundproof by @PhallenTree in #10590
- Added clarification for BattleScript_IntimidateActivates by @AlexOn1ine in #10666
Fixed
- Multiple xp bugfixes by @FosterProgramming in #10536
- Fix pokemon shadow reverting to species_none shadow size for one frame by @FosterProgramming in #10539
- Adds alive check to CanTargetBattler by @FosterProgramming in #10547
- Fix Regenerator/Natural Cure applying to the wrong party slot by @thalescd in #10543
- X items fix by @FosterProgramming in #10556
- Fix Hunger Switch Persisting on Ability pop up by @ChrispyChris27 in #10554
- Remove BATTLE_PARTNER and BATTLE_OPPOSITE macros by @grintoul1 in #10542
- Where
BATTLE_OPPOSITEhas been used on anenum BattlerId, replace it withGetOppositeBattler - Where
BATTLE_OPPOSITEhas been used on anenum BattlerPosition, replace it withGetOppositePosition - Where
BATTLE_PARTNERhas been used on anenum BattlerId, replace it withGetPartnerBattler - Where
BATTLE_PARTNERhas been used on anenum BattlerPosition, replace it withGetPartnerPosition - Where
LEFT_FOEorGetOpposingSideBattlerhas been used, replace withGetBattlerLeftFoe - Where
RIGHT_FOEhas been used, replace withGetBattlerRightFoe
- Where
- Fix Symbiosis activation after Knock Off removed and item by @AlexOn1ine in #10483
- Fix freeze when a stat-change move follows Own Tempo-blocked Swagger or No Retreat by @moostoet in #10569
- Fixed a freeze that occurred when a stat-change move was used after Own Tempo blocked the confusion from Swagger or Flatter.
- Fixed a freeze that occurred when a stat-change move was used after a successful No Retreat.
- simplify party defeat functions by @FosterProgramming in #10568
- Fix trainer slide activating for player in multi battle by @FosterProgramming in #10572
- Fix trainer slide form change by @FosterProgramming in #10571
- Fix restore item regression by @AlexOn1ine in #10577
- Fix TARGET_USER_AND_ALLY flicker by @FosterProgramming in #10587
- Fix sleep clause in Multibattles + test by @grintoul1 in #10608
- Fix Dragon Darts checking the same target multiple times by @Cle-bit in #10606
- Fix Z-Move and Dmax moves incorrect dmg calcs by @AlexOn1ine in #10616
- Fix stat change move accuracy by @AlexOn1ine in #10631
- Fix Flying Press using its secondary type for damage modifiers by @Cle-bit in #10622
- Fix Acupressure targetting opposing mon by @AlexOn1ine in #10636
- Fix Cursed Body triggering on Max Moves by @hedara90 in #10639
- Fix Future Sight not restoring previous battler mon by @AlexOn1ine in #10647
- Fixes Sky Drop hitting replacement when original target fainted by @PhallenTree in #10648
- Fix Acupressure targetting opposing mon by @AlexOn1ine in #10645
- Fix Copycat failing to copy a move that fainted its target by @Syreldar in #10654
- Fix Symbiosis items being consumed as resistance Berries by spread moves by @Syreldar in #10653
- Fix Z-Moves being blocked by move restrictions at selection by @Syreldar in #10657
- Fix Metronome-called spread moves hitting the user’s partner by @Syreldar in #10661
- Fix out-of-bounds read of gSelectedOrderFromParty by @Syreldar in #10674
- Prevent Red Card from allowing Z-Move reuse by @Syreldar in #10671
- Fixed the Multi Battle party-slot collision by @Syreldar in #10662
- Fix Solar Beam, Solar Blade and Electro Shot skipping their charging … by @Syreldar in #10675
- Recalculate Ash-Greninja's stats after Battle Bond activates by @Syreldar in #10683
- Fix multi-target stat move miss messages by @Syreldar in #10687
- Fix Shell Trap being delayed after a spread move hit by @Syreldar in #10682
- Fix battler invisibility during move selection by @Syreldar in #10692
- Fixes G-Max Tartness additional effect by @PhallenTree in #10707
- Fix full team multi battles with follower NPCs by @ChrispyChris27 in #10711
🤹 Moves 🤹
Fixed
- Fix out-of-bounds palette writes in certain move animations by @moostoet in #10589
- Fixed out-of-bounds palette writes in the Night Slash, Magical Leaf and Aurora Beam animations that could corrupt memory and cause glitches.
🤖 Battle AI 🤖
Fixed
- Prevent Protect AI from blocking ally beneficial-hit setups in doubles by @moostoet in #9448
- Updated a doubles AI case where Protect could block an ally's beneficial self-hit setup, including Beat Up + Justified
- Fix AI scoring for stat-changing move effects by @Cle-bit in #10464
- Fix Palafin-Hero repeatedly switching to activate Zero to Hero by @Cle-bit in #10626
- Fix Mind Reader and Lock-On spam in double battles by @Syreldar in #10669
- Fix AI not calcing crit when high enough crit stage by @grintoul1 in #10700
🧹 Other Cleanup 🧹
- Converted Mega Staraptor's icon to INCGFX_U8 by @fdeblasio in #10561
🧪 Test Runner 🧪
Changed
- Change Howl Soundproof test to prevent user from blocking with Soundproof by @PhallenTree in #10590
Fixed
- Move ResetTestInventory to fix flaky error by @FosterProgramming in #10537
- Fix sleep clause in Multibattles + test by @grintoul1 in #10608
📚 Documentation 📚
- docs: updated PR template to be more explicit about AI by @pkmnsnfrn in #10641
- Added clarification for BattleScript_IntimidateActivates by @AlexOn1ine in #10666
- Fixed a typo in how_to_new_pokemon.md by @LOuroboros in #10706
Full Changelog: expansion/1.16.3...expansion/1.16.4