• 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.

[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