• 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!
  • Scottie, Todd, Serena, Kris - 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.

[Other] running shoes only work indoors

ashketchem2512

PokePurest
  • 4
    Posts
    9
    Years
    • Seen May 23, 2016
    so recently new to modding but i'm working on a firered mod. I won't go into too many details, but I wrote a script on XSE that is supposed to set the flag for running shoes. and it does but I can only run indoors not outside. the event is still cleared the flag is set. i don't know what i did wrong and any help would be appreciated. here's my script to see what i did wrong.

    #org 0x80220D
    lock
    faceplayer
    checkflag 0x996
    checkflag 0x82F
    if 0x1 goto 0x8802254
    msgbox 0x88022BA 0x5
    compare 0x800D 0x1
    if 0x1 goto 0x8802236
    msgbox 0x88022FA 0x6
    setflag 0x82F
    msgbox 0x8802298 0x4
    fanfare 0x13E
    waitfanfare
    closeonkeypress
    msgbox 0x8802265 0x6
    setflag 0x996
    release
    end

    #org 0x802254
    msgbox 0x8802265 0x6
    release
    end

    #org 0x802236
    setflag 0x82F
    msgbox 0x8802298 0x4
    fanfare 0x13E
    waitfanfare
    closeonkeypress
    msgbox 0x8802265 0x6
    setflag 0x996
    release
    end

    #org 0x8022BA
    = I have a package \nfor you from \lyour mother \pdo you want it??

    #org 0x8022FA
    = Well I guess \nI'll hold on \lto it for you.

    #org 0x802298
    = [player] received the running shoes!!

    #org 0x802265
    = I'll let you know \nif she sends \lanything else.
     
    I'm not sure if this will alleviate your problem, but you when checking for a flag, immediately after do the 'if' command.
    Changes in Bold


    #org 0x80220D
    lock
    faceplayer
    checkflag 0x996
    if 0x1 goto 0x8802254
    checkflag 0x82F
    if 0x1 goto 0x8802254
    msgbox 0x88022BA 0x5
    compare 0x800D 0x1
    if 0x1 goto 0x8802236
    msgbox 0x88022FA 0x6
    setflag 0x82F
    msgbox 0x8802298 0x4
    fanfare 0x13E
    waitfanfare
    closeonkeypress
    msgbox 0x8802265 0x6
    setflag 0x996
    release
    end
     
    Back
    Top