• 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!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • 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] [FRLG] Double script

Gustavs36

Gohusty
  • 6
    Posts
    5
    Years
    So, basically, i need to edit the first script of the game where prof Oak calls you and gets you to his lab and all, but because of the layout of the map, the scripted path is now wrong.

    But when i try to change it, this happens:

    https://www.pokecommunity.com/attachments/98033&stc=1&d=1627853863

    And i've noticed that, the script is doubled, so after the original part plays, it repeats itself, does anyone know why this is happening?

    Thanks :)
     

    Attachments

    • 2021-08-01 18-28-46.mp4
      3.6 MB
    By "try to change it" do you mean just add more #raw commands to the movement data block that was originally there? You can't do that with editing rom scripts. They already take up a set amount of space, and randomly extending them will overwrite other data causing bugs like your double applymovement.
    You need to create new movement data in new free space using xse's dynamic offsets and point to that. If you don't know what that means, it's time to look up a scripting tutorial.
    If that's not your problem, then try posting your script here so we can dissect it
     
    Ohh, i see it, that's exactly what i was doing, i'm going to try fix it now.

    Thanks for the help! :D
     
    Back
    Top