• 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.
  • 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - 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] Pokedex from the beginning itself

MM980

"You said you have a dream...That dream...Make it
  • 118
    Posts
    4
    Years
    I want to know hoe to get Pokedex from the beginning itself and not like collecting it from professor.
    THANK YOU...
     
    Here's the script that makes you obtain the pokedex:

    #dynamic 0x800000
    #org @start
    lock
    setflag 0x829
    msgbox @obtained 0x5
    compare lastresult 0x1
    if 0x1 goto @yes
    release
    end

    #org @obtained
    = Got the pokedex!\pWant to upgrade to\nnational dex?

    #org @yes
    special 0x16F
    release
    end

    '------------------

    setflag 0x829 enables normal pokedex, and special 0x16F enables national dex. If you want to obtain pokedex at the beginning you could make it appear as an interactive item or you could make a type 03 level script with commands "setflag 0x829" and "special 0x16f" to obtain them from the get go without any item interaction.
     
    Level script, Isn't it ?
    Thank you ❤️
     
    Will dynamic change to #org, it happens to me always
     
    #dynamic 0x800000 looks for free space in the 0x800000 memory area, and it makes it easier for you to find an offset than to manually open up the game in a hex editor to check for free space.

    The #dynamic changes to org because when that command finds free space it automatically puts it in place of #org.

    Here's a tip, you can use #removeall 0x(script offset) if you want to remove a script you've already compiled (to make changes to it or to erase it completely)

    Just write #removeall 0x(script offset) and compile that.
     
    #dynamic 0x800000 looks for free space in the 0x800000 memory area, and it makes it easier for you to find an offset than to manually open up the game in a hex editor to check for free space.

    The #dynamic changes to org because when that command finds free space it automatically puts it in place of #org.

    Here's a tip, you can use #removeall 0x(script offset) if you want to remove a script you've already compiled (to make changes to it or to erase it completely)

    Just write #removeall 0x(script offset) and compile that.

    thank you
     
    #dynamic 0x800000 looks for free space in the 0x800000 memory area, and it makes it easier for you to find an offset than to manually open up the game in a hex editor to check for free space.

    The #dynamic changes to org because when that command finds free space it automatically puts it in place of #org.

    Here's a tip, you can use #removeall 0x(script offset) if you want to remove a script you've already compiled (to make changes to it or to erase it completely)

    Just write #removeall 0x(script offset) and compile that.
    is it above the lines above #org ?

    #removeall 0x(current script offset or last script offset?)
    ----------
    #dynamic 0x800000


    this is the format?
    I think C++ is easier than XSE at some points 😄
     
    Here is how I use the #removeall, I save it as a separate script, and do not put it in the same place where my initial script was (in your case the pokedex script).

    Here is the scriptremover script:

    '-----------------------

    #removeall 0xOffsetYouWantToRemove

    '----------------------

    And that's essentially it, just one line in a script. So, separate #removeall and save it as something like "scriptremover".
     
    Back
    Top