• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Other Pokeemerald and Pokeruby quick modifications and additions!

Compatible Base ROMs
PKMN Ruby, PKMN Emerald
OP
OP
Gamer2020

Gamer2020

Well-known member
#22
Pokeemerald - Edit Starting PC items!

In src/player_pc.c edit the following. Leave ITEM_NONE as the terminator.

C:
static const struct ItemSlot gNewGamePCItems[] =
{
    { ITEM_POTION, 1 },
    { ITEM_NONE, 0 }
};
 
OP
OP
Gamer2020

Gamer2020

Well-known member
#23
Pokeemerald - Edit start money!

In src/new_game.c edit the following:
C:
    SetMoney(&gSaveBlock1Ptr->money, 3000);


Pokeemerald - Edit default options!

In src/new_game.c edit the following:
C:
static void SetDefaultOptions(void)
{
    gSaveBlock2Ptr->optionsTextSpeed = OPTIONS_TEXT_SPEED_MID;
    gSaveBlock2Ptr->optionsWindowFrameType = 0;
    gSaveBlock2Ptr->optionsSound = OPTIONS_SOUND_MONO;
    gSaveBlock2Ptr->optionsBattleStyle = OPTIONS_BATTLE_STYLE_SHIFT;
    gSaveBlock2Ptr->optionsBattleSceneOff = FALSE;
    gSaveBlock2Ptr->regionMapZoom = FALSE;
}