Creating Level Scripts
View Single Post
November 16th, 2012, 10:56 AM
Back to ROM hacking. :D
Join Date: May 2007
Originally Posted by
Thank a lot ,but I have a question to ask you.I want the level sprite to go work when I go to a town every time,(for example,I want the weather changes at random every time I come to a town),so how to write the sprite?
Lol, Cooley isn't around anymore...:/
But it sounds to me that you just want the level script to repeat itself everytime, which is simple.
Don't use a setvar (or you can if you need to remember).
But in that case, (we'll use 0x5000 as an example), I'd setvar 0x5000 0x0.
THEN, when I put in the Flag and Value, I'd put Flag: 5000, Value: 0000.
If the value is set to zero, then the level script will always repeat itself because that variable will always be zero (unless you use an addvar command, it'll stay 0).
View Public Profile
Send a private message to itman
Find all posts by itman
Find threads started by itman