I've wrote from scratch a running shoes script.
The script itself completes, the issue is that holding B doesn't allow you to run. The flags check correctly, and the flag is set, but the shoes do not activate.
I'm using a Squirrels (U) Firered Rom and XSE v1.1.1
The dynamic offset is correct, I have scripts before it and 8001CF is the next free block start point for the space, and contains sufficient space, however as stated previously, holding B doesn't make the player run. Am I missing a Requirement?
I did A quick search, and found no solution pertaining to my specific bug. Any help is appreciated.
The script itself completes, the issue is that holding B doesn't allow you to run. The flags check correctly, and the flag is set, but the shoes do not activate.
I'm using a Squirrels (U) Firered Rom and XSE v1.1.1
The dynamic offset is correct, I have scripts before it and 8001CF is the next free block start point for the space, and contains sufficient space, however as stated previously, holding B doesn't make the player run. Am I missing a Requirement?
I did A quick search, and found no solution pertaining to my specific bug. Any help is appreciated.
Spoiler:
#dynamic 0x8001CF
#org @start
faceplayer
lock
checkflag 0x829
if 0x0 goto @notred
checkflag 0x82F
if 0x1 goto @done
msgbox @greet 0x6
applymovement 0x3 @ex
waitmovement 0x3
msgbox @idea 0x6
msgbox @quest 0x5
compare LASTRESULT 0x1
if 0x0 goto @no
fanfare 0x13E
special 0x171
msgbox @shoe 0x6
waitfanfare
msgbox @yay 0x6
setvar 0x406C 0x2
setflag 0x82F
release
end
#org @done
msgbox @got 0x6
release
end
#org @got
= I'm sorry, [Player], I have\pnothing else for you.
#org @greet
= Hello, I can see your going\pon an adventure! \pBut how can I help?
#org @idea
= I got it!\pMy old RUNNING SHOES!
#org @quest
= [Player], will you take care of\pmy old RUNNING SHOES?
#org @yay
= Safe travels then!\pMay they swiften your path!
#org @no
msgbox @nope 0x6
release
end
#org @nope
= Well, if you change your mind...\p They'll be here.
#org @shoe
= [Player], received RUNNING SHOES!\pHold the B button to run!
#org @ex
#raw 0x62
#raw 0xFE
#org @notred
msgbox @sorry 0x6
release
end
#org @sorry
= Hey, [Player]!\pWhere's your pokedex?
#org @start
faceplayer
lock
checkflag 0x829
if 0x0 goto @notred
checkflag 0x82F
if 0x1 goto @done
msgbox @greet 0x6
applymovement 0x3 @ex
waitmovement 0x3
msgbox @idea 0x6
msgbox @quest 0x5
compare LASTRESULT 0x1
if 0x0 goto @no
fanfare 0x13E
special 0x171
msgbox @shoe 0x6
waitfanfare
msgbox @yay 0x6
setvar 0x406C 0x2
setflag 0x82F
release
end
#org @done
msgbox @got 0x6
release
end
#org @got
= I'm sorry, [Player], I have\pnothing else for you.
#org @greet
= Hello, I can see your going\pon an adventure! \pBut how can I help?
#org @idea
= I got it!\pMy old RUNNING SHOES!
#org @quest
= [Player], will you take care of\pmy old RUNNING SHOES?
#org @yay
= Safe travels then!\pMay they swiften your path!
#org @no
msgbox @nope 0x6
release
end
#org @nope
= Well, if you change your mind...\p They'll be here.
#org @shoe
= [Player], received RUNNING SHOES!\pHold the B button to run!
#org @ex
#raw 0x62
#raw 0xFE
#org @notred
msgbox @sorry 0x6
release
end
#org @sorry
= Hey, [Player]!\pWhere's your pokedex?
Last edited: