Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
[pokeemerald & pokefirered] Disable music (with flags/etc)
At "src/sound.c" go to "void PlayBGM(u16 songNum)"
There just add a new "if" statement at the beginning (highlighted in green):
In this case I used an already existing option I wanted to replace (battle style), but you can also use...
[pokefirered] Disable Quest Log
At src/main_menu.c:
Go to Task_ExecuteMainMenuSelection. In case MAIN_MENU_CONTINUE; find TryStartQuestLogPlayback(taskId) and replace it with these lines:
SetMainCallback2(CB2_ContinueSavedGame);
DestroyTask(taskId);
It should look like this:
case...
[pokeemerald] Berries grow faster
Very simple edit, in "src/berry.c" go to:
static u16 GetStageDurationByBerryType(u8 berry)
{
return GetBerryInfo(berry)->stageDuration * 60;
}
And replace 60 with the number of your choice (that's the number of minutes a growth stage lasts).
(I usually...
[pokeemerald] Running speed by default
This simple change is made at "src/field_player_avatar.c"
Go to "static void PlayerNotOnBikeMoving(u8 direction, u16 heldKeys)"
Find and swap the following highlighted code at the end:
if (!(gPlayerAvatar.flags & PLAYER_AVATAR_FLAG_UNDERWATER) &&...
Yu-Gi-Oh! Master Duel. Also I've been playing Duel Links for a while, but maybe I'll drop it for MD. It's a LOT easier to complete decks, and I've been enjoying it a lot more.
pokeemerald: Competitive IVs for Eggs
At "include/constants/daycare.h" delete the line "#define INHERITED_IV_COUNT" (it won't be used).
Next, open "src/daycare.c"
Go to "static void InheritIVs(struct Pokemon *egg, struct DayCare *daycare)" and replace it with this:
// Competitive IVs for...
[pokeemerald] Inherit moves from both parents
In vanilla Emerald, only the male parent can pass its moves to the offspring.
How to fix that:
Now when breeding for egg moves & TM/HM moves it will also check if the mother knows them.
[Pokéemerald] - Register pokémon you battle at the Battle Frontier in the Pokédex
This also works for e-reader, link, recorded, and Trainer Hill battles.
At src/battle_main.c search and comment/delete the following:
static void BattleIntroDrawTrainersOrMonsSprites(void):
static void...
[EM] Always inherit nature when holding an Everstone
Pretty simple. At src/daycare.c search for :
Then delete " / 2"
It should look like this:
Now when a parent is holding an Everstone, the offspring will inherit its nature 100% of the time (only females or Ditto tough, I'm still trying...
Since it took me forever to find which files I had to modify in order to make this work, I decided to make a tutorial so you don't have to waste your time looking for them.
In this tutorial I'm adding new items as available prizes (the Regi trio dolls ♥) at the Exchange corner in the Battle...