## 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.18.0
`.🌋 REFACTORS 🌋
📜 = Uses a migration script.
- upcoming: Use plain indices for battle ordering by @Syreldar in #10684
- Early moveend refactor by @PhallenTree in #10567
resultmessage,critmessageandmultihitresultmessagehave been removed and their functionality is now handled bymoveend;setadditionaleffectsnow only handlesonChargingTurnOnlyeffects, while all other additional effects are handled inmoveend;AbilityBattleEffectscalled with caseABILITYEFFECT_MOVE_END_ATTACKERnow passes the target as an argument instead of the attacker.
- upcoming: Use MoveSlot enum for move slot indices by @Syreldar in #10705
- Refactor Ally Switch, Baton Pass, Teleport by @AlexOn1ine in #10715
- upcoming: Add PartyMon enum for party slot type safety by @Syreldar in #10670
- Rework and Bugfix Truant to match the official games functionality by @Syreldar in #10719
- minor trainer see refactor by @FosterProgramming in #10827
- Object events approaching play now always follow local id order without some type of script sometimes taking priority
- a double battles trainer (as defined by its trainer struct not the isDouble script value) won't join a single battle fight and will wait for its turn instead (doubles trainer could join single battle if the single trainer was the first "spotter" based on local id, now a single trainer and a double trainer will not team up no matter who spots first)
- Status move effects refactor by @AlexOn1ine in #10637
- Adds FaintedEffectsBlock by @PhallenTree in #10877
- Minor sSetTargetMoveFailureChecks refactor by @AlexOn1ine in #10902
- Rename
enum PartyMontoenum PartySlotandenum PartyBattleSlottoenum PartyBattleOrderby @grintoul1 in #10945 - Preprocing variables between Emerald and FRLG by @agsmgmaster64 in #10875
- If you're using FRLG, all referenced variables have been reordered/renamed and are now entirely within include/constants/vars_frlg.h. Any added/replaced variables when compiling FRLG must be added within include/constants/vars_frlg.h.
- Refactor mon generation in battle facilities by @FosterProgramming in #10913
- Safari rework by @FosterProgramming in #10446
- The internals of the Safari Zone have been changed to make it easier to create custom safaris, you can read more about it in
docs/safari_zones.md. The script that enter and exit safari have been changed and may need to be updated if you sued custom ones. - The gen config for park ball and safari ball catch multiplier were removed.
- Three new OW config were added for safari, the option to keep safari data in the save file and allow saving in safari, the option to remove pokefeeder data from the game (TRUE by default in FRLG) and the option to disable critical capture in the safari zones
- Pokeblock behavior has been restored to vanilla, gen3 safari catching guides should work in expansion
- The internals of the Safari Zone have been changed to make it easier to create custom safaris, you can read more about it in
- Replace direct
gBattleTypeFlagschecks with flag check functions by @grintoul1 in #10914 - Misc clean-up of changes from 12v12 by @grintoul1 in #10856
- partner cleanup by @FosterProgramming in #10854
🧬 General 🧬
Added
- Ribbons adjustment for debugging by @FosterProgramming in #10794
- adds a debug menu action (Party-> Edit Pokemon -> Give All Ribbons) that let you give all ribbons to a pokemon in your party
- adds the system ribbons flag to the list of togglabale flags in the debug menu
- pokenav can now show the ribbons menu even if match call is locked
- Adds between and notbetween call and goto script VAR comparisons by @grintoul1 in #10701
- Adds Battle Info by @AlexOn1ine in #10479
- Mining minigame by @outside08 in #6692
- auto migration script by @FosterProgramming in #10842
- You can now run
./experimental_make, it runs make at max threads but also pull expansion update before compiling - Go check
include/config/auto_update.hto configure how often and on what branches you want the update to happen - In addition to pulling expansion updates, the script will automatically apply migration scripts if there are any
- You can now run
Changed
- Remove gEnemyParty and gEnemyPartyCount by @grintoul1 in #10734
- Free up some DMA3 IWRAM by @cawtds in #10708
- Added spaces between StringCopy parameters for consistency by @fdeblasio in #10739
- Add PC_MON_CHOSEN to party mon enum and replace PARTY_NOTHING_CHOSEN with PARTY_MON_CANCEL by @FosterProgramming in #10784
- Helper function to init BagPockets by @AlexOn1ine in #10793
- Add visually distinct tera type icons by @rayrobdod in #10766
- Remove comments at the end of each scrcmd by @LinathanZel in #10855
- feat(cflags): add -Wimplicit-fallthrough by @miriamlefae in #10632
- switch statements that need fallthrough behaviour will need to be explicitly marked with
[[fallthrough]].
- switch statements that need fallthrough behaviour will need to be explicitly marked with
- Cleanup code related to caught mon nickname and lost item by @FosterProgramming in #10942
- Preprocing variables between Emerald and FRLG by @agsmgmaster64 in #10875
- If you're using FRLG, all referenced variables have been reordered/renamed and are now entirely within include/constants/vars_frlg.h. Any added/replaced variables when compiling FRLG must be added within include/constants/vars_frlg.h.
- remove unused #undef in debug.c by @FosterProgramming in #10961
- Refactor mon generation in battle facilities by @FosterProgramming in #10913
- refactor: misc cleanups by @estellarcheese in #10867
- Adjust how to move by @AlexOn1ine in #11078
- Mining minigame cleanup by @FosterProgramming in #11064
- update LLM / AI policy by @pkmnsnfrn in #11105
- Trainer id cleanup by @FosterProgramming in #11113
- INSTALL.md edits by @RubyRaven6 in #10215
- mon -> POKéMON by @AlexOn1ine in #11145
Fixed
- BXPY: Fixed an issue related to empty trainer parties resulting from non-default difficulty modes by @LinathanZel in #10737
- upcoming fix by @FosterProgramming in #10956
- fix: Remove const-cast on stat-swap macros by @lhearachel in #10960
- Fix post-merge bug by @FosterProgramming in #10963
- Add missing break to EVO_MODE_SCRIPT_TRIGGER by @AlexOn1ine in #11002
- fix make clean when learnset helper is disabled by @FosterProgramming in #11008
- Fix compile on older compilers by @AlexOn1ine in #11101
- Automatic HOENN_DEX_COUNT and KANTO_DEX_COUNT by @mrgriffin in #11094
- fix: resolve multiple build failures by @miriamlefae in #11131
- fix(config): add
I_prefix to VAR_LAST_REPEL_LURE_USED by @miriamlefae in #11142 - fix(battle_ui): fix crash when using battle weathers with missing gfx by @miriamlefae in #11147
🗺️ Overworld 🗺️
Added
- Adds Bring X Pick Y functionality by @pkmnsnfrn in #10370
- If users don't plan on using this feature at all and have existing changes to
src/pokemon_summary_screen.cthey don't want to resolve, they can refuse all merge conflicts insrc_pokemon_summary.cand mark the following functions asUNUSED.BXPY_SummaryScreen_TransformSpeciesIdBXPY_SummaryScreen_HideSpeciesBXPY_SummaryScreen_ShowBaseSpeciesBXPY_SummaryScreen_ShouldHideEnemyGenderBXPY_ShouldHideEnemyAbilityBXPY_ShouldHideEnemyNatureBXPY_SummaryScreen_ShouldShowFullItemBXPY_ReturnItemTextBXPY_ShouldHideEnemyIndividualValuesBXPY_ShouldHideEnemyEffortValuesBXPY_SummaryScreen_ShouldHideStatsBXPY_TransformTypeIfHidden
- If users don't plan on using this feature at all and have existing changes to
- Start on party when selecting mon for chooseboxmon by @FosterProgramming in #10832
- Add new trainer type - single trainer by @AlexOn1ine in #10833
- Adds new debug command to fill party with mons that knows field moves by @FosterProgramming in #10450
- In the debug menu: Party -> Set Field Moves Party
- Rock Smash item drops by @luuma in #10716
- Safari rework by @FosterProgramming in #10446
- The internals of the Safari Zone have been changed to make it easier to create custom safaris, you can read more about it in
docs/safari_zones.md. The script that enter and exit safari have been changed and may need to be updated if you sued custom ones. - The gen config for park ball and safari ball catch multiplier were removed.
- Three new OW config were added for safari, the option to keep safari data in the save file and allow saving in safari, the option to remove pokefeeder data from the game (TRUE by default in FRLG) and the option to disable critical capture in the safari zones
- Pokeblock behavior has been restored to vanilla, gen3 safari catching guides should work in expansion
- The internals of the Safari Zone have been changed to make it easier to create custom safaris, you can read more about it in
- Multibattle support for any player party size limit by @grintoul1 in #10712
choosepartyforbattleaccepts a number from 1-5, defaulting to 3choosepartyforbattlefrontieraccepts a number from 1-5, with no default- "Full team" multis with no selection of mons or order simply do not use
choosepartyforbattleorchoosepartyforbattlefrontier, as this causesReducePlayerPartyToSelectedMonsto return early.
- Increase FONT_SMALL_NARROW glyph height to 13 by @montmoguri in #11067
- Create Follower option in debug menu now let you choose partner id by @FosterProgramming in #11072
Changed
- Random generation cleanup by @FosterProgramming in #10304
- minor trainer see refactor by @FosterProgramming in #10827
- Object events approaching play now always follow local id order without some type of script sometimes taking priority
- a double battles trainer (as defined by its trainer struct not the isDouble script value) won't join a single battle fight and will wait for its turn instead (doubles trainer could join single battle if the single trainer was the first "spotter" based on local id, now a single trainer and a double trainer will not team up no matter who spots first)
- Add support for on-the-fly decompression of object events and mon icons by @TixoRebel in #10783
- Decrease VRAM usage of compressed followers
- Compress pokemon icons
- Remove redundant Mythical check in BXPY implementation by @AsparagusEduardo in #10789
- Disables ground effects for TRACKS_NONE by @luuma in #10880
TRACKS_NONE_WITH_GROUND_EFFECTScan be added to species to enable a subset of ground effects
- party menu: handle
gText_XsYWereSwappedfor long combinations of mon + item names by @montmoguri in #11012
Fixed
- Fix: initialize spriteTemplate->compressedFast in CreateObjectGraphicsSpriteWithTag by @SBird1337 in #10883
- Fix typo in recent rock smash item PR by @FosterProgramming in #10955
- Prevent fused mons from being released by @FosterProgramming in #11036
- fix pyramid trainers counting as battled when they shouldn't by @FosterProgramming in #11035
- Fix egg species bugs by @FosterProgramming in #10846
- Fix eggs inheriting father species if the father holds an everstone but not the mother
- Fix nidoran families and Illumise/Volbeat not breeding random forms
- Disabled mining minigame debug menu by @outside08 in #11066
- Fix using honey calling escape rope function by @FosterProgramming in #11073
- Fix berry blender bug by @FosterProgramming in #11104
- Bug Fix: Reset fire red E4 trainers after whiteout and fix Frontier Trainer Id's being used for Fire Red trainer battles by @ortz-3 in #11107
- Fix applymovementat potentially setting direction overwrite for wrong objects by @FosterProgramming in #10202
- fix tv bug by @FosterProgramming in #11125
- Fixes to (I believe) incorrect berry bonuses in all configs, fix to mutations' berry string by @luuma in #10944
🐉 Pokémon 🐉
Changed
- Add test that Species' overworld sprites have correct number of frames for animTable by @rayrobdod in #10891
- Add
isDynamaxBannedspecies flag by @AsparagusEduardo in #10860 - party menu: handle
gText_XsYWereSwappedfor long combinations of mon + item names by @montmoguri in #11012
Fixed
- Fix asymmetrical follower turning when used as object events by @Kasenn in #10764
- Fix old compiler maybe-uninitialized in daycare.c by @hedara90 in #10938
⚔️ Battle General ⚔️
Added
- Adds Bring X Pick Y functionality by @pkmnsnfrn in #10370
- If users don't plan on using this feature at all and have existing changes to
src/pokemon_summary_screen.cthey don't want to resolve, they can refuse all merge conflicts insrc_pokemon_summary.cand mark the following functions asUNUSED.BXPY_SummaryScreen_TransformSpeciesIdBXPY_SummaryScreen_HideSpeciesBXPY_SummaryScreen_ShowBaseSpeciesBXPY_SummaryScreen_ShouldHideEnemyGenderBXPY_ShouldHideEnemyAbilityBXPY_ShouldHideEnemyNatureBXPY_SummaryScreen_ShouldShowFullItemBXPY_ReturnItemTextBXPY_ShouldHideEnemyIndividualValuesBXPY_ShouldHideEnemyEffortValuesBXPY_SummaryScreen_ShouldHideStatsBXPY_TransformTypeIfHidden
- If users don't plan on using this feature at all and have existing changes to
- Battle Messages from Pokémon Champions v1.2.0 by @LinathanZel in #10778
- Add Champions battle mechanics changes (v1.2.0) by @LinathanZel in #10730
- Instant Lose option in Battle Debug by @pkmnsnfrn in #10918
- Add weather indicator when choosing actions by @hedara90 in #10911
- Safari rework by @FosterProgramming in #10446
- The internals of the Safari Zone have been changed to make it easier to create custom safaris, you can read more about it in
docs/safari_zones.md. The script that enter and exit safari have been changed and may need to be updated if you sued custom ones. - The gen config for park ball and safari ball catch multiplier were removed.
- Three new OW config were added for safari, the option to keep safari data in the save file and allow saving in safari, the option to remove pokefeeder data from the game (TRUE by default in FRLG) and the option to disable critical capture in the safari zones
- Pokeblock behavior has been restored to vanilla, gen3 safari catching guides should work in expansion
- The internals of the Safari Zone have been changed to make it easier to create custom safaris, you can read more about it in
- Battle Info Menu: Cosmetic Improvements + Add RSE Skin by @LinathanZel in #11043
Changed
- upcoming: Use plain indices for battle ordering by @Syreldar in #10684
- Early moveend refactor by @PhallenTree in #10567
resultmessage,critmessageandmultihitresultmessagehave been removed and their functionality is now handled bymoveend;setadditionaleffectsnow only handlesonChargingTurnOnlyeffects, while all other additional effects are handled inmoveend;AbilityBattleEffectscalled with caseABILITYEFFECT_MOVE_END_ATTACKERnow passes the target as an argument instead of the attacker.
- upcoming: Use MoveSlot enum for move slot indices by @Syreldar in #10705
- Refactor Ally Switch, Baton Pass, Teleport by @AlexOn1ine in #10715
- upcoming: Add PartyMon enum for party slot type safety by @Syreldar in #10670
- upcoming: Old generation Disable by @Syreldar in #10724
- Combine UpdateLastMoves and MirrorMove states by @AlexOn1ine in #10740
- CanBattlerSwitch adjustments by @AlexOn1ine in #10755
- Faster Item Popups + Bug Fixes by @LinathanZel in #10759
- Combine two turn move checks for ai and move resolustion by @AlexOn1ine in #10803
- Clean up after Truant PR by @AlexOn1ine in #10813
- New Mega Sol interactions (Champions v1.2.0) by @LinathanZel in #10838
- Clearer trainer slide constants and comments by @grintoul1 in #10840
- Status move effects refactor by @AlexOn1ine in #10637
- Allow onSide to be used by any additional effect by @PhallenTree in #10754
onSidecan now properly be used with any additional effect to allow for additional effects to apply to all battlers on one side. Passing the effect chance check once allows for all battlers on that side to have the effect applied, as that is how G-Max Replenish works.
- Adds FaintedEffectsBlock by @PhallenTree in #10877
- Move result flag clean up by @AlexOn1ine in #10889
- Minor sSetTargetMoveFailureChecks refactor by @AlexOn1ine in #10902
- Status move effects cleanup by @PhallenTree in #10900
- Combine Overwrite Ability, Role Play and Entrainment into 1 effect by @PhallenTree in #10903
- Role Play, Doodle, Entrainment, Simple Beam and Worry Seed now use the same
MOVE_EFFECTto apply their effect.
- Role Play, Doodle, Entrainment, Simple Beam and Worry Seed now use the same
- Fix Softboil and transfrom adjustments by @AlexOn1ine in #10904
- Switch order and rename of debug Win/Lose Battle by @grintoul1 in #10925
- Adds B_HP_RESTORATION_ROUNDING config by @AlexOn1ine in #10919
- Rename
enum PartyMontoenum PartySlotandenum PartyBattleSlottoenum PartyBattleOrderby @grintoul1 in #10945 - Include stat increases into MoveEndAdditionalEffectsLowerStatsAttacker by @AlexOn1ine in #10962
- Additions for IsDamageMoveSelfStatChange by @AlexOn1ine in #10966
- Move onChargeTurnOnly additional effects handling to CancelerCharging by @PhallenTree in #10937
- Add BattleCalcValues struct to HandleEndTurn functions by @AlexOn1ine in #10970
- Replace direct
gBattleTypeFlagschecks with flag check functions by @grintoul1 in #10914 - Misc clean-up of changes from 12v12 by @grintoul1 in #10856
- Reset battler back to Attacker on Poison Touch, Stench and Toxic Chain activations by @PhallenTree in #10995
- Add config for disabling new battle status menu by @hedara90 in #10990
- Replace PARTY_SLOT_NONE with PARTY_SIZE in loop bound checks by @AlexOn1ine in #11005
- unify all gimmick item checks into a single function by @pkmnsnfrn in #11011
- Clean up is party mon alive checks by @AlexOn1ine in #11063
- Visual revamps of several Expansion battle UI elements by @purrfectdoodle in #10930
- partner cleanup by @FosterProgramming in #10854
- Adds Neutralizing Gas + Intimidate + Eject Pack test by @PhallenTree in #11083
- Poison Touch and Toxic Chain tests for non-volatile status additional effects by @PhallenTree in #11115
Fixed
- Synchronize and Poison Puppeteer activations into a single block by @PhallenTree in #10693
- upcoming: Clamp Battle Frontier entry count to MAX_FRONTIER_PARTY_SIZE by @Syreldar in #10677
- Rework and Bugfix Truant to match the official games functionality by @Syreldar in #10719
- Fix Jaw Lock by @AlexOn1ine in #10926
- Future Sight redirection and target failure fixes by @AlexOn1ine in #10912
- Fix soft-lock from cancelling party selection of caught Wild Pokemon by @LinathanZel in #10933
- Fix semi-invulnerable moves triggering assertf in weather by @hedara90 in #10953
- Fix Spite, Refresh and Sketch not correctly updated by @AlexOn1ine in #10952
- Turn Fling item consumption into a MoveEnd state by @PhallenTree in #10975
- Adds new Thrash tests by @AlexOn1ine in #10978
- Fix gen 1 recharge config and add tests by @grintoul1 in #11009
- Fixes dmax move display error by @AlexOn1ine in #11030
- Make Natural Gift item removal its own MoveEnd state by @PhallenTree in #11048
- Merge Core Enforcer and Gastro Acid move effects by @PhallenTree in #11047
- Fix Selection scripts using blank or wrong move names by @PhallenTree in #11046
- Fix stat change animation for multiple stats by @AlexOn1ine in #11040
- Minor savings and bugfix in Controller checker functions by @grintoul1 in #11052
- Fix Mimicry activating with no terrain active by @grintoul1 in #11053
- Fix multibattle level up + other instances missing partner trainer check by @grintoul1 in #11050
- Fix u-turn moves / roar not activating by @AlexOn1ine in #11042
- Fix Cud Chew activating without consuming a Berry by @Cle-bit in #11059
- Fix terrain interactions and AI evaluation by @Cle-bit in #11058
- Fix Master Ball failing to guarantee capture of Ultra Beasts by @Cle-bit in #11060
- Fix wild mon using gimmicks by @FosterProgramming in #11001
- Fix Sleep Clause Poke Flute handling by @Pawkkie in #11084
- fix party reload when catching pokemon with follower partner by @FosterProgramming in #11075
- Fix Pressure increasing allies’ PP usage by @Cle-bit in #11091
- Fix Natural Gift consuming the Berry of the mon switching in by @Cle-bit in #11096
- Fix newly inflicted freeze that thaws immediately by @Cle-bit in #11095
- Fix CheckTypeEffectiveness to shown only known abilities and hold effect by @AlexOn1ine in #11089
- Fixes damage overflow by @AlexOn1ine in #11085
- Fixes Acupressure issues by @PhallenTree in #11109
- Fix mutation of scripting battler by @AlexOn1ine in #11092
- Fix Defog clearing both sides instead users and targets by @AlexOn1ine in #11088
- Fixes absent battler fainting on first move use by @PhallenTree in #11108
- Fix Future Sight indexing issues by @AlexOn1ine in #11106
- Battle Info Menu: Fix battler positions to match vanilla by @LinathanZel in #11117
- Battle Info Menu: Fix icon persisting upon using quick capture by @LinathanZel in #11033
- Fix dynamic move category, encore with dmax, dmg after magic bounce by @AlexOn1ine in #11114
- Fixes Dynamax not clearing Minimize status by @PhallenTree in #11122
- Fix accumalated damage regression by @AlexOn1ine in #11132
- Fix ability pop up on wrong battler by @AlexOn1ine in #11120
- Fix trainer unintentionally terastalizing by @AlexOn1ine in #11124
- Fixes ateBerry inconsistency by @AlexOn1ine in #11141
🤹 Moves 🤹
Changed
- upcoming: Old generation Disable by @Syreldar in #10724
- Divide move animation tests by generation by @AlexOn1ine in #10762
🧶 Items 🧶
Changed
- party menu: handle
gText_XsYWereSwappedfor long combinations of mon + item names by @montmoguri in #11012
Fixed
- fix(config): add
I_prefix to VAR_LAST_REPEL_LURE_USED by @miriamlefae in #11142
🤖 Battle AI 🤖
Added
- Crit AI improvement by @luuma in #10544
- Coordinate reliable single-target KOs between doubles AI allies by @moostoet in #10751
- Added configurable doubles AI target coordination to reduce redundant single-target attacks when an ally has already chosen a reliable KO.
- Add Dynamic Mon Selection AI Function by @Pawkkie in #10853
- AI flag for deeper partner move prediction for earlier battler by @grintoul1 in #10041
- Adds Spite AI for singles and doubles with tests by @grintoul1 in #11081
Changed
- upcoming: Use MoveSlot enum for move slot indices by @Syreldar in #10705
- Improve AI calc modifier handling to speed up thinking time by @Pawkkie in #10820
- Replace stored ai hpPercentage with a function call by @AlexOn1ine in #10815
- Minor Psych Up AI Improvement by @PhallenTree in #10841
- Refactor AI mon selection code to use
struct SwitchAIContextby @Pawkkie in #10969 - Skip setting battler partner data for switchin calcs by @grintoul1 in #11010
Fixed
- Fix Truant volatile usage by @hedara90 in #10769
- Fix terrain interactions and AI evaluation by @Cle-bit in #11058
- fix speed stat lowering ai by @eatthepear in #11069
- Fix Soak AI treating target as Water type by @ortz-3 in #11071
- Fix freeze when a mon tries to switch by @AlexOn1ine in #11087
- Split Laser Focus and Focus Energy and fix Laser Focus volatile battler by @ortz-3 in #11080
🧹 Other Cleanup 🧹
- Type checking for functions adjacent to dex numbers by @AsparagusEduardo in #10703
- Free up some DMA3 IWRAM by @cawtds in #10708
- Added spaces between StringCopy parameters for consistency by @fdeblasio in #10739
- Combine UpdateLastMoves and MirrorMove states by @AlexOn1ine in #10740
- CanBattlerSwitch adjustments by @AlexOn1ine in #10755
- Add PC_MON_CHOSEN to party mon enum and replace PARTY_NOTHING_CHOSEN with PARTY_MON_CANCEL by @FosterProgramming in #10784
- Faster Item Popups + Bug Fixes by @LinathanZel in #10759
- Helper function to init BagPockets by @AlexOn1ine in #10793
- Random generation cleanup by @FosterProgramming in #10304
- Combine two turn move checks for ai and move resolustion by @AlexOn1ine in #10803
- Clean up after Truant PR by @AlexOn1ine in #10813
- Improve AI calc modifier handling to speed up thinking time by @Pawkkie in #10820
- Replace stored ai hpPercentage with a function call by @AlexOn1ine in #10815
- Clearer trainer slide constants and comments by @grintoul1 in #10840
- Remove comments at the end of each scrcmd by @LinathanZel in #10855
- Allow onSide to be used by any additional effect by @PhallenTree in #10754
onSidecan now properly be used with any additional effect to allow for additional effects to apply to all battlers on one side. Passing the effect chance check once allows for all battlers on that side to have the effect applied, as that is how G-Max Replenish works.
- Move result flag clean up by @AlexOn1ine in #10889
- Status move effects cleanup by @PhallenTree in #10900
- Combine Overwrite Ability, Role Play and Entrainment into 1 effect by @PhallenTree in #10903
- Role Play, Doodle, Entrainment, Simple Beam and Worry Seed now use the same
MOVE_EFFECTto apply their effect.
- Role Play, Doodle, Entrainment, Simple Beam and Worry Seed now use the same
- Fix Softboil and transfrom adjustments by @AlexOn1ine in #10904
- Switch order and rename of debug Win/Lose Battle by @grintoul1 in #10925
- Adds B_HP_RESTORATION_ROUNDING config by @AlexOn1ine in #10919
- Cleanup code related to caught mon nickname and lost item by @FosterProgramming in #10942
- Add
isDynamaxBannedspecies flag by @AsparagusEduardo in #10860 - Remove redundant Mythical check in BXPY implementation by @AsparagusEduardo in #10789
- Preprocing variables between Emerald and FRLG by @agsmgmaster64 in #10875
- If you're using FRLG, all referenced variables have been reordered/renamed and are now entirely within include/constants/vars_frlg.h. Any added/replaced variables when compiling FRLG must be added within include/constants/vars_frlg.h.
- remove unused #undef in debug.c by @FosterProgramming in #10961
- Include stat increases into MoveEndAdditionalEffectsLowerStatsAttacker by @AlexOn1ine in #10962
- Additions for IsDamageMoveSelfStatChange by @AlexOn1ine in #10966
- Move onChargeTurnOnly additional effects handling to CancelerCharging by @PhallenTree in #10937
- Add BattleCalcValues struct to HandleEndTurn functions by @AlexOn1ine in #10970
- Refactor AI mon selection code to use
struct SwitchAIContextby @Pawkkie in #10969 - Reset battler back to Attacker on Poison Touch, Stench and Toxic Chain activations by @PhallenTree in #10995
- refactor: misc cleanups by @estellarcheese in #10867
- Replace PARTY_SLOT_NONE with PARTY_SIZE in loop bound checks by @AlexOn1ine in #11005
- how_to_new_move.md Clarification by @RubyRaven6 in #10920
- Skip setting battler partner data for switchin calcs by @grintoul1 in #11010
- Merge Core Enforcer and Gastro Acid move effects by @PhallenTree in #11047
- Fix Selection scripts using blank or wrong move names by @PhallenTree in #11046
- Minor savings and bugfix in Controller checker functions by @grintoul1 in #11052
- Clean up is party mon alive checks by @AlexOn1ine in #11063
- partner cleanup by @FosterProgramming in #10854
- Mining minigame cleanup by @FosterProgramming in #11064
- Trainer id cleanup by @FosterProgramming in #11113
- mon -> POKéMON by @AlexOn1ine in #11145
🧪 Test Runner 🧪
Changed
- upcoming: Use MoveSlot enum for move slot indices by @Syreldar in #10705
- upcoming: Old generation Disable by @Syreldar in #10724
- Divide move animation tests by generation by @AlexOn1ine in #10762
- Adds Neutralizing Gas + Intimidate + Eject Pack test by @PhallenTree in #11083
- Adds failing battle tests (Substitute, Z Moves, Dynamax, Magic Bounce) by @FosterProgramming in #11112
- Poison Touch and Toxic Chain tests for non-volatile status additional effects by @PhallenTree in #11115
- shed tail + hazard interaction test by @FosterProgramming in #11116
- Adds Eject Pack/Magic Bounce interaction test by @AlexOn1ine in #11140
Fixed
- Rework and Bugfix Truant to match the official games functionality by @Syreldar in #10719
- Fix failed tests and assumptions when using GEN_CHAMPIONS configs by @LinathanZel in #10852
- fix: Tackle breaks tests with certain generational configs by @purrfectdoodle in #10982
- Fix gen 1 recharge config and add tests by @grintoul1 in #11009
- Handles target when usiang ai logs by @FosterProgramming in #8244
📚 Documentation 📚
- how_to_new_move.md Clarification by @RubyRaven6 in #10920
- Adjust how to move by @AlexOn1ine in #11078
- update LLM / AI policy by @pkmnsnfrn in #11105
- INSTALL.md edits by @RubyRaven6 in #10215
- Allow graphics to be merged during a merge freeze by @AlexOn1ine in #11139
New Contributors
- @outside08 made their first contribution in #6692
- @ortz-3 made their first contribution in #11071
Full Changelog: expansion/1.17.2...expansion/1.18.0