Change initial PC items - pret/pokeemerald GitHub Wiki

When the player starts a new adventure, the game gives the player one potion in their PC to start with. In this tutorial, we'll learn where and how to edit the PC items.

Edit the PC items

Open src/player_pc.c. You will find the following lines:

static const u16 sNewGamePCItems[][2] =
{
    { ITEM_POTION, 1 },
    { ITEM_NONE, 0 }
};

In here you can add all items you want the player to have when they start a new game. You can also modify how many of those items you want. For example, if we would want to start with five Potions and six Lucky Eggs, the code would be:

static const u16 sNewGamePCItems[][2] =
{
    { ITEM_POTION, 5 },
    { ITEM_LUCKY_EGG, 6},
    { ITEM_NONE, 0 }
};

Which would look like:

You can leave only the { ITEM_NONE, 0 } if you don't want to have any item in the PC at all.