• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • 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.

[Error] Autorun event not working.

  • 35
    Posts
    4
    Years
    • Seen Mar 19, 2025
    I have a battle event that, before it starts, activates a variable that is supposed to activate an Autorun event when you retunr to the lab, but the event doesn't run. I have checked with debug mode that the variable does activate.
     
    I may be wrong, but I think that the battle event is preventing the autorun event from properly activating. Have you tried with an event that only activates the variable to see if the autorun event works?
     
    You didn't post either event, but pages are loaded in a specific order for events, such that the page with the highest number AND valid conditions is the one that runs.
    So if for instance, you had an autorun event, with page 1 having the variable condition, and page 2 having no condition, RMXP will check page 2, see that the conditions are valid, and load that page, and the condition on page 1 is never checked, and never will get loaded.
     
    You didn't post either event, but pages are loaded in a specific order for events, such that the page with the highest number AND valid conditions is the one that runs.
    So if for instance, you had an autorun event, with page 1 having the variable condition, and page 2 having no condition, RMXP will check page 2, see that the conditions are valid, and load that page, and the condition on page 1 is never checked, and never will get loaded.

    ...I forgot the self switch requirement. Thanks.
     
    Back
    Top