• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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✓] REPEL SYSTEM EMERALD OPTION 2

darthbr

Banned
  • 237
    Posts
    9
    Years
    • Seen Sep 13, 2024
    I just found another system in emerald offset 2A4B2A​

    >>>>>>>>>>>>>>>>>> the problem is:

    If i use super repel
    > i have repel in bag
    it will use repel instead super repel

    used max repel
    > i have super repel or repel


    it will use repel or super repel instead of max repel

    it must use the same ''repel'', its very confusing, but someone can help me correct this?

    #dynamic 0x800000
    #org 0x2A4B2A​
    goto @snippet1

    '---------------
    #org @snippet1
    lock
    msgbox @String1 MSG_SIGN '"El efecto del REPELENTE se\nagotó[..."
    checkitem 0x56 0x1
    compare LASTRESULT 0x1
    if 0x1 goto @snippet2
    checkitem 0x53 0x1
    compare LASTRESULT 0x1
    if 0x1 goto @snippet3
    checkitem 0x54 0x1
    compare LASTRESULT 0x1
    if 0x1 goto @snippet4
    release
    end

    '---------------
    #org @snippet2
    msgbox @String2 MSG_YESNO '"¿Quieres usar otro REPELENTE?"
    compare LASTRESULT 0x1
    if 0x1 goto @snippet5
    closeonkeypress
    release
    end

    '---------------
    #org @snippet3
    msgbox @String2 MSG_YESNO '"¿Quieres usar otro REPELENTE?"
    compare LASTRESULT 0x1
    if 0x1 goto @snippet6
    closeonkeypress
    release
    end

    '---------------
    #org @snippet4
    msgbox @String2 MSG_YESNO '"¿Quieres usar otro REPELENTE?"
    compare LASTRESULT 0x1
    if 0x1 goto @snippet7
    closeonkeypress
    release
    end

    '---------------
    #org @snippet5
    removeitem 0x56 0x1
    sound 0x2F
    setvar 0x4021 0x64
    msgbox @String3 MSG_NORMAL '"Usaste REPELENTE."
    release
    end

    '---------------
    #org @snippet6
    removeitem 0x53 0x1
    sound 0x2F
    setvar 0x4021 0xC8
    msgbox @String4 MSG_NORMAL '"Usaste SUPER REPEL."
    end

    '---------------
    #org @snippet7
    removeitem 0x54 0x1
    sound 0x2F
    setvar 0x4021 0xFA
    msgbox @String5 MSG_NORMAL '"Usaste MAX REPEL."
    end


    '---------
    ' Strings
    '---------
    #org @String1
    = El efecto del REPELENTE se\nagotó[.][.]

    #org @String2
    = ¿Quieres usar otro REPELENTE?

    #org @String3
    = Usaste REPELENTE.

    #org @String4
    = Usaste SUPER REPEL.

    #org @String5
    = Usaste MAX REPEL.
     
    Back
    Top