• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Scottie, Todd, Serena, Kris - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

[Script✓] Oak's Parcel

  • 34
    Posts
    8
    Years
    • Seen May 8, 2021
    So at the beginning of fire red, I deleted the map script when you get the package from the pokemart,I added in the parcel as a hidden item in a house. But after you collect the parcel if you go back to the Lab it doesn't trigger any script from Oak where you can get the dex.
     
    it's likely actually controlled by a flag, then
    check out oak's script in the lab, it might have a checkflag somewhere in there to tell you which flag to set
     
    If you check the script you deleted in the Mart, it's a level script that requires the variable 4057 to be set to 0, and it sets it to 1 when you receive the Parcel. Oak's script checks if variable 4057's value is 1 to receive the Parcel and give you the PokéDex.

    So just make sure you put 'setvar 0x4057 0x1' in the script where you receive the Parcel.
     
    If you check the script you deleted in the Mart, it's a level script that requires the variable 4057 to be set to 0, and it sets it to 1 when you receive the Parcel. Oak's script checks if variable 4057's value is 1 to receive the Parcel and give you the PokéDex.

    So just make sure you put 'setvar 0x4057 0x1' in the script where you receive the Parcel.

    Would you mind giving me an example of this script? Including the giveitem of oaks parcel, I've used giveitem before but for some reason assing the setvar seems to be breaking the script.
     
    Would you mind giving me an example of this script? Including the giveitem of oaks parcel, I've used giveitem before but for some reason assing the setvar seems to be breaking the script.

    Adding 'setvar 0x4057 0x1' before the giveitem command should work. If it doesn't, try putting it after it? How is the script breaking?
     
    Adding 'setvar 0x4057 0x1' before the giveitem command should work. If it doesn't, try putting it after it? How is the script breaking?

    I've been using a person script with a pokeball icon, the giveitem script has worked fine but when you add the setvar part the ball doesn't trigger any scripts when clicked on.

    I've been using a person script with a pokeball icon, the giveitem script has worked fine but when you add the setvar part the ball doesn't trigger any scripts when clicked on.

    Nevermind, got it! Thanks a lot!!
     
    Last edited by a moderator:
    Back
    Top