Quote:
Originally Posted by JabuJabule
That worked! Thanks a lot. :)
Now, how would I make it so this message never plays again (And the scripts around it)? And is there a list of the fanfares anywhere?
Edit: That's weird. When I leave the town and go to the route, the Running Shoes are disabled. When I get to another town, they're re-enabled. The route is listed as a route in the Header, though. Has this happened to anyone else before?
|
I
think there's a list of fanfares in Diego's XSE tutorial. To make sure the event doesn't play again, you need to set a flag. You already have a checkflag in place for this purpose, so you just need to do this:
Code:
#dynamic 0x800000
#org @start
checkflag 0x828
if 0x1 goto @done
applymovement 0x1 @move
waitmovement 0x0
applymovement 0xFF @move2
waitmovement 0x0
msgbox @shoes 0x6
applymovement 0x1 @move3
waitmovement 0x0
setflag 0x8C0
setflag 0x828
release
end
#org @done
release
end
#org @move
#raw 0x04
#raw 0x04
#raw 0x0B
#raw 0x0B
#raw 0x0B
#raw 0x0B
#raw 0x02
#raw 0xFE
#org @move2
#raw 0x02
#raw 0xFE
#org @move3
#raw 0x0A
#raw 0x0A
#raw 0x0A
#raw 0x0A
#raw 0x05
#raw 0x05
#raw 0x03
#raw 0xFE
#org @shoes
= Good morning, honey!\pProfessor Adler told me that he wants \lto see you in his lab.\lPut on your Running Shoes\l and head to Loyoto Village.
What that does is add a flag. With the checkflag you have in place, after the flag is set (meaning, after the script has happened once, it will check for the flag and, seeing that it is set, will go to @done (which just releases and ends, giving the illusion that the script isn't playing at all).