• 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!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. 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.

[Script✓] Returning hacker relearning scripting. Why does this script hang?

Dawn Deer

Hex Maniac
  • 6
    Posts
    2
    Years
    • She/Her
    • Seen Aug 8, 2024
    Hi! I decided to get back into romhacking after not touching it for almost 2 decades. I put together this script for my CFRU + DPE hack im working on, why does this script softlock the game when triggered?

    Code:
    #dynamic 0x35BB68
    
    #org @start
    lock
    checkflag 0x200
    if 0x0 goto @1
    release
    end
    
    #org @1
    lock
    setflag 0x200
    setflag 0x940
    setflag 0x907
    setflag 0x910
    setflag 0x90E
    setflag 0x90D
    setflag 0x90C
    setflag 0x906
    setflag 0x201
    giveitem 0xB6 0x1 MSG_OBTAIN
    sound 0x3
    release
    end
     
    Last edited:
    found a workaround by copying someone elses script and changing it up.
     
    Thank you! I managed to finish the project i was working on: Link Here

    It's mostly using Greenphx's 898 randomizer, but i have tweaked it quite a bit to my own tastes. Originally i was using just CFRU + DPE, then discovered Leons base, then realised most of the base stuff i was trying to do and struggling with was already in the 898 randomizer.
     
    Last edited:
    Back
    Top