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

[ASM & Hex] Check if flag is true or false

  • 3
    Posts
    3
    Years
    • Seen Nov 11, 2023
    Hi... I'm totally noob in hex manipulation, and I'd like to know if is there a way to see if a flag is set to true or false. I mean, how can I know if [has received starter] is true or false?
    What I'm wanting to do is reset the daily Inverse Battle in ORAS. I thought that maybe there's a flag that sets to true if the player has already done the daily battle, and I'd like to change it to false. But I have no idea on how to do this......... Please, help! If you can't help, or don't want to, at least drop me some guides on hex editing, because I couldn't find anything like what I want...
    Thanks in advance :)
     
    Recived starter is a variable 4055 and it's value is 4, but you must check var (with compare command) for 4 or larger value (>=), so:

    (previous commands)
    compare 0x4055 0x4
    if >= (then command)
    (else command)
    About rest of the question... I am also a Starter Pokemon Hacker, so I don't know how to help you.
     
    Last edited:
    Hi... I'm totally noob in hex manipulation, and I'd like to know if is there a way to see if a flag is set to true or false. I mean, how can I know if [has received starter] is true or false?
    What I'm wanting to do is reset the daily Inverse Battle in ORAS. I thought that maybe there's a flag that sets to true if the player has already done the daily battle, and I'd like to change it to false. But I have no idea on how to do this......... Please, help! If you can't help, or don't want to, at least drop me some guides on hex editing, because I couldn't find anything like what I want...
    Thanks in advance :)

    I don't think ORAS hacking is at the point where documentation for the scripting system/flags exists.
     
    Back
    Top