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