• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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
8
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.
     

    Squeetz

    ROM Hacker
    191
    Posts
    10
    Years
  • 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