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

How to check for badge?

Status
Not open for further replies.
  • 9
    Posts
    16
    Years
    • Seen Oct 4, 2009
    How can I check if a trainer has a specific badge? I'm implementing a trainer in the first town whose party changes every time you get a badge. Anyone know how to do this?
     
    checkflag 0x(Insert Badge Value)

    And Just to help out for Fire Red the flags are

    0x820 - First Badge
    0x821 - Second Badge
    0x822 - Third Badge
    0x823 - Fourth Badge
    0x824 - Fifth Badge
    0x825 - Sixth Badge
    0x826 - Seventh Badge
    0x827 - Eighth Badge

    for R/S they're
    0x807 - First Badge
    0x808 - Second Badge
    0x809 - Third Badge
    0x80A - Fourth Badge
    0x80B - Fifth Badge
    0x80C - Sixth Badge
    0x80D - Seventh Badge
    0x80E - Eighth Badge

    Ps this isn't the place for questions use the Simple Questiosn Thread or search first
     
    Status
    Not open for further replies.
    Back
    Top