Would this work:
Spoiler:#Dynamic 0x720B46
#org @start
checkflag 0x828
if 0x0 goto @hey!
if 0x1 goto @end
end
#org @hey!
lock
applymovement 0x08 @back
applymovement 0x04 @forward
waitmovement 0x0
msgbox @icant
boxset 0x6
applymovement 0x04 @face
waitmovement 0x0
applymovement 0xFF @walk
msgbox @can
boxset 0x5
if 0x1 go to @ty
if 0x2 go to @please
release
end
#org @walk
#raw 0x11 0x11 0x11 0x11 0x11 0x11 0xFE
#org @icant
=OAK: I don't believe this.\nHe took all of the Pokemon...
#org @back
#raw 0x03 0xFE
#org @forward
#raw 0x02 0xFE
#org @face
#raw 0x00 0xFE
#org @can
=OAK: Can you retrieve the\nstolen Pokemon for me?
#org @end
release
end
#org @please
=OAK: Please, I'm begging you!
goto @ask
#org @ask
msgbox @can
boxset 0x5
if 0x1 go to @ty
if 0x2 go to @ask
#org @ty
=OAK: Thank you. Here's some\nrunning shoes.
setflag 0x82F
goto @end
It should, but i suggest you take the @ask script and change the one that says 0x2 to @please instead of @ ask, 'cuz it's too reptitive if the player says no. Also change the msgbox scripts to have the boxset # after, msgbox @can 0x5 for example, 'cuz the new XSE has a new way of scripting msgbox's.
My Question:
I have a script that works fine but whenever the sprite the player talks to to trigger the event is off of the screen it goes back to it's original position.
Last edited: