• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • 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.

[Tool] Script crashes plausibly due to XSE

  • 3
    Posts
    8
    Years
    • Seen Oct 5, 2017
    Hey, all!
    I've tried making a few scripts, and for some reason none of them worked. Eventually i noticed the pattern that all the decompiled scripts had an extra digit on their pointers inside the scripts

    here's an example of one i used to test this:
    Spoiler:


    For some reason, this crashed the rom.
    When i decompiled the script, I got this:
    Spoiler:


    I got a feeling that it's XSE doing it, but I really don't have a clue.

    Anyone able to shed some light on my situation?
     
    The 8 in front of the pointer just means it's pointing to an area that's in the first 16mb of the rom.
    If you expanded, and it used an area past 0xFFFFFF, the prefix would be 9.
     
    Script looks fine to me, what's the exact problem?
     
    Whenever I try to run it via a script event, nothing happens. When I try to run as a level script, the rom crashes at a blank screen

    also thanks Squeetz, I had no idea.
     
    Back
    Top