• 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] Could anyone explain what are script offsets...

MM980

"You said you have a dream...That dream...Make it
  • 118
    Posts
    4
    Years
    I would be happy if anyone can explain about script offsets and how to give which offset to an event...
    Thank You
     
    Script offsets are places where each compiled script is located. Lets say #dynamic 0x800000 found free space at 0x810000 to compile your script.

    The script starts at 0x810000 , and that is the number you assign to events.

    If you don't want to use #dynamic, you can use free space finder, or upen up the rom in a hex editor, navigate to 0x800000 and look for free space "FF" bytes.
     
    if i dont use #dynamic 0x800000, I can check free space in free space finder and then type in #org 0xoffset, correct?
     
    if i dont use #dynamic 0x800000, I can check free space in free space finder and then type in #org 0xoffset, correct?

    You can, but it's to tedious.
     
    Back
    Top