So I hopefully have a simple problem. I'm using movesprite2 to move a sprite on the other side of the map out of the way at the end of an event. It works just fine, but it moves back once you leave the map...I thought movesprite2 was permanent? How do I get it to stay put?
movesprite2 does NOT work. I tried using it but to no avail. Got an answer from others that it doesn't work also. The best thing you can do is just do a setflag on the guy that's walking away or whatever and a clearflag on the guy you want standing there.
So let's say for a previous script, best results are for before you enter a city as you are entering to set the setflag so that the guy you want after the event to appear, just clearflag him.
Script 1:
#org @event
lock
faceplayer
msgbox @talkto 0x6
setflag 0x1100 - make sure the guy AFTER the event has this flag in A-Map
release
end
#org @talkto
= Go inside this town and talk to Ralph.
So you go talk to Ralph inside
Script 2
#org @event
lock
faceplayer
msgbox @yo 0x6
applymovement 0x# @bye
waitmovement 0x0
hidesprite 0x# - though you set the flag on the next command, it doesn't take effect right away so you have to hide the sprite
setflag 0x1101 - make sure the guy DURING the event has this flag in A-Map
clearflag 0x1100 - this clears the flag of the guy AFTER the event so that he will appear once you go to him
showsprite 0x## - for safety you can also do a showsprite of the guy AFTER the event so that when you walk over there to him you know he'll be there.
release
end
hope this helped a little, this is my method of use. I know I wish movesprite2 worked too but it doesn't.