- 44
- Posts
- 16
- Years
- Age 33
- Williamsport PA
- Seen Feb 26, 2014
I am trying to make a script to replace the default oak walking you to the lab script.
I placed a dude blocking the right side of the path, and the left side I created this script, but it freezes when I get to that point... this language is VERY confusing!
I know I have a lot wrong, what would it take to make this work? Would using flags make the script easier to write? Is this even the right place to be asking for help?
I placed a dude blocking the right side of the path, and the left side I created this script, but it freezes when I get to that point... this language is VERY confusing!
Spoiler:
#dynamic 0x874009F
#org @start
lockall
countpokemon
compare 0x800D 0x0
if 0x1 goto @sorry
releaseall
end
#org @sorry
applymovement 0xFF @face
message @sorryMsg
showmsg
waitbutton
applymovement 0xFF @walk
releaseall
end
#org @sorryMsg
= You shouldn't go into the park\nwithout a pok\emon to\lprotect you!
#org @walk
M walk_down
return
#org @face
M walk_left
return
#org @start
lockall
countpokemon
compare 0x800D 0x0
if 0x1 goto @sorry
releaseall
end
#org @sorry
applymovement 0xFF @face
message @sorryMsg
showmsg
waitbutton
applymovement 0xFF @walk
releaseall
end
#org @sorryMsg
= You shouldn't go into the park\nwithout a pok\emon to\lprotect you!
#org @walk
M walk_down
return
#org @face
M walk_left
return
I know I have a lot wrong, what would it take to make this work? Would using flags make the script easier to write? Is this even the right place to be asking for help?