• 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.
  • There is an important update regarding account security and 2FA. Please click here for more information.
  • 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.
  • Imgur has blocked certain regions from viewing any images uploaded to their site. If you use Imgur, please consider replacing any image links/embeds you may have on PokéCommunity so everyone can see your images. Click here to learn more.

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

  • 16
    Posts
    6
    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