## 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.6.2`.
- Battler Types are now obtained via
GetBattlerType
instead ofgBattleMons[battlerId].type1/2/3
to better consider Roost. Be sure to update your custom battle effects to account for this change.
- Fixed Cheat Start not initiating time-based events by @AsparagusEduardo in rh-hideout#3446
- Updated Cresselia's base stats to Gen 9 by @LOuroboros in rh-hideout#3419
- Updated Zacian/Zamazenta base stats to Gen 9 by @AsparagusEduardo in rh-hideout#3421
- Fixed Kleavor, Hisuian Sneasel and Sneasler missing their SV abilities by @LOuroboros in rh-hideout#3391
- Fixed Bergmite/Avalugg old and updated egg groups being switched by @AsparagusEduardo in rh-hideout#3380
- Quick Draw now uses weighted RNG by @Bassoonian in rh-hideout#3399
- Added
IS_BATTLER_TYPELESS
macro that checks if the specified battler has no valid type by @LOuroboros in rh-hideout#3303
- Fixed Protect failing if the user flinched on the previous turn by @DizzyEggg in rh-hideout#3345
- Fixed entry hazards not working properly being cleared on switch-in by @DizzyEggg in rh-hideout#3316
- This includes Toxic Spikes not working if Pecha Berry actived on the previous turn.
- Fixed Roost overwriting other type changing at the end of the turn (Soak, Forest's Curse, Color Change, etc.) by @BLourenco in rh-hideout#3258
- Now it suppresses the user's Flying-type rather than remove and re-add it.
- Fixes Salt Cure visual bug if mon fainted by direct attack by @AlexOn1ine in rh-hideout#3388
- Fixed Purifying Salt not preventing the use of Rest by @Bassoonian in rh-hideout#3399
- Fixed Make it Rain lowering Sp. Attack twice if hitting 2 targets in double battles by @AlexOn1ine in rh-hideout#3441
- Fixed Reflect Type not properly handle 3rd types by @LOuroboros in rh-hideout#3303
- Fixed form change triggered by switching not occuring when using moves like U-Turn or Baton Pass by @AlexOn1ine in rh-hideout#3463
- Fixed Last Resort not counting Sleep Talk as used for its effect by @DizzyEggg in rh-hideout#3378
- Removed unused
STATUS3_CANT_SCORE_A_CRIT
by @AlexOn1ine in rh-hideout#3377 - Moved Beads of Ruin and Sword of Ruin damage to the appropiate damage modifier functions by @kittenchilly in rh-hideout#3415
- Fixed Intimidate increasing the attack of both opponents if one of them has Contrary in double battles by @DizzyEggg in rh-hideout#3365
- Fixed Battle/Shell Armor not preventing critical hits by @AlexOn1ine in rh-hideout#3377
- Fixed Rivalry's effect being reversed by @AsparagusEduardo in rh-hideout#3381
- Fixed Rivalry lowering attack if either attacker or target were genderless by @AsparagusEduardo in rh-hideout#3381
- Fixed missing Poison Heal Ability Popup by @Bassoonian in rh-hideout#3385
- Fixed Parental Bond not working at all by @AsparagusEduardo in rh-hideout#3417
- Fixed Beads of Ruin and Sword of Ruin damage modifiers by @kittenchilly in rh-hideout#3415
- Fixed Sheer Force not negating effects that benefit the user (eg. Flame Charge, Power-Up Punch) by @DizzyEggg in rh-hideout#3378
- Fixed Strength Sap not healing the user when used on a Substitute by @DizzyEggg in rh-hideout#3486
- Fixed Substitute showing the "took damage for" message if Strength Sap was used on it by @DizzyEggg in rh-hideout#3486
- Fixed Weak Armor interrupting Multi Hit moves by @DizzyEggg in rh-hideout#3497
- Fixed Shiny Charm doing too many rerolls by default by @kittenchilly in rh-hideout#3327
- Fixed Berserk Gene activating for the wrong Pokémon double battles by @DizzyEggg in rh-hideout#3363
- Fixed Red Card not being consumed after opponent Sticky Web activation by @DizzyEggg in rh-hideout#3364
- Fixed implementation of Gen6 that didn't allow for the Exp Share flag to be set via script without setting the item to the Gen 6+ version by @AsparagusEduardo in rh-hideout#3384
- Fixed Kee Berry raising defense by 1 stage instead of 2 by @AlexOn1ine in rh-hideout#3409
- Fixed Kee Berry incorrect stat raise message by @AlexOn1ine in rh-hideout#3409
- Fixed Razor Fang not being able to be used directly even if
I_USE_EVO_HELD_ITEMS_FROM_BAG
was set toTRUE
by @fdeblasio in rh-hideout#3456
AbilityBattleEffects
usesB_MSG_TERRAIN
constants for field terrain intro text by @LOuroboros in rh-hideout#3410- Removed all trailing whitespace by @kittenchilly in rh-hideout#3472
- Flinch tests by @DizzyEggg in rh-hideout#3345
- Berserk Gene double battle tests by @DizzyEggg in rh-hideout#3363
- More specific Toxic Spikes tests by @DizzyEggg in rh-hideout#3316
- Red Card/Sticky Web test @DizzyEggg in rh-hideout#3364
- Intimidate/Contrary double battle test by @DizzyEggg in rh-hideout#3365
- Critical Hit tests by @AlexOn1ine in rh-hideout#3377
- Roost tests by @BLourenco in rh-hideout#3258
- Rivalry tests by @AsparagusEduardo in rh-hideout#3381
- Various tests by @Bassoonian in rh-hideout#3385
- Defeatist, Dragon's Maw, Earth Eater, Gale Wings, Poison Heal, Rocky Payload, Sap Sipper, Steelworker and Transistor.
- Various tests by @Bassoonian in rh-hideout#3399
- Beast Boost, Ice Scales, Neuroforce, Purifying Salt, Quick Draw and Sharpness.
- Berry tests @AlexOn1ine in rh-hideout#3409
- Full: Apicot, Custap, Ganlon, Jaboca, Kee, Lansat, Liechi, Maranga, Micle, Petaya, Rowap and Salac Berries.
- TODO: Starf Berry.
- Weather and type-specific tests by @kittenchilly in rh-hideout#3260
- Full: Freezing, Hail, Moonlight, Morning Sun, Sandstorm, Snow, Solar Beam/Blade, Steel poisoning, Synthesis, Thunder and Weather Ball.
- Partial: Prankster, Safety Goggles, Aurora Veil, Hurricane, Leech Seed and OHKO moves.
- TODO: Harvest.
- Single Parental Bond test by @AsparagusEduardo in rh-hideout#3417
- Several tests by @DizzyEggg in rh-hideout#3378
- Full: Weak Armor, Last Resort, Stealth Rock.
- Completed Weak Armor tests by @AsparagusEduardo in rh-hideout#3493
- Partial: Defiant, Sheer Force, White Herb, Strength Sap.
- Full: Weak Armor, Last Resort, Stealth Rock.
- Red Card tests now check if the item was consumed by @DizzyEggg in rh-hideout#3364
- Tests now cannot use
i
in their cycles to avoid messing withPARAMETRIZE
by @mrgriffin in rh-hideout#3408 - Moved battle tests off the heap by @mrgriffin in rh-hideout#3414
- Moved Powder/Grass test to
move_flags
folder by @kittenchilly in rh-hideout#3260 - Continuous
NOT x; NOT y;
are now not allowed in tests due to them not acting as one would expect by @mrgriffin in rh-hideout#3459- Test writers should use
NONE_OF { x; y; }
instead.
- Test writers should use
- Fixed CreateNPCTrainerPartyForTrainer test failing on modern by @DizzyEggg in rh-hideout#3367
- Fixed
RNG_CRITICAL_HIT
by @mrgriffin and @AlexOn1ine in rh-hideout#3377 - Fixed
ASSUMPTIONS
block not working by @DizzyEggg in rh-hideout#3368- Fixup by @mrgriffin in rh-hideout#3408
- Fixed Beads of Ruin and Sword of Ruin damage tests by @kittenchilly in rh-hideout#3415
- Fixes test RNG by @mrgriffin and @AlexOn1ine in rh-hideout#3433
- Fixed battle test estimateCost bug by @mrgriffin in rh-hideout#3448
- Test cleanup and improvements by @AsparagusEduardo in rh-hideout#3449
- Removed duplicated Prankster TO_DO test.
- Corrected Multi-hit test names (4 and 5 hits stated 35% instead of 15%).
- Grouped Maranga Berry's Physical vs Special tests using PARAMETRIZE.
- Improved Jaboca, Kee and Rowap tests by @AlexOn1ine
- Fixed
ModifyPersonalityForNature
by @mrgriffin in rh-hideout#3452 - Fixed test_runner.c modern warning by @mrgriffin in rh-hideout#3451
- @BLourenco made their first contribution in rh-hideout#3258
https://github.com/rh-hideout/pokeemerald-expansion/compare/expansion/1.6.1...expansion/1.6.2