• 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!
  • Dawn, Gloria, Juliana, or Summer - 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.

[Scripting Question] Why does the map scroll last even if i call the script first

  • 16
    Posts
    5
    Years
    • Seen May 1, 2023
    Hi,
    so i am currently working on redesigning my pause menu. And for it to work stylistically i need to scroll the screen, so that the player is in the top left corner on the screen and the menu would fill out the rest of the screen.
    For my script i modify the Modular Pause Menu by Luka S.J because i am a noob and i find his script to be relatively easy to understand.
    Here is the script:
    Spoiler:
    (I marked the modified parts red)
    So what should be happening is: Press X, Map scrolls, Zooms in on player, Background loads, Menu loads
    What happens is: Press X, Zoom, Background loads, Menu loads, Press X to close menu, Map scrolls
    Has anybody an idea why the map doesnt scroll first even though i call the script for that before the zoom?
    Thanks in advance
     
    Back
    Top