View Single Post
Old January 15th, 2013 (10:37 AM).
SpadeEdge16's Avatar
SpadeEdge16 SpadeEdge16 is offline
Join Date: May 2012
Gender: Male
Posts: 154
Originally Posted by karatekid552 View Post
I don't know how to do the second one, but I have done the first and third.

For the first one, just place a hidden character on the door and remove the warp. Then write a script that will open the door, have the player walk forward, and then warp. Then set up a script that will check your player for the key, using the check item command, and if he has it, it will jump to the first script. If not, it just says that the door is locked.

The second one is a little more complicated. You can use flags or vars, though vars will simplify it. First, find a tutorial or figure out how to make a mart in the first place. Now, make several different mart scripts with the mart you want for each point in the story. Put all of these marts as differet dynamic offsets in your script.

Now, I'm going to use vars for this explanation, place a script or add to a script at key points in the story that will set a specific var, let's say 0x5000 +1 at each event.

Then, go back to your old script and using the compare comand, check your var for the different values and have it jump to the different mart offsets based on the value in the var 5000.
Sounds great, I had a few ideas about how they might've worked out, I just needed a bit of clarification. Thanks a lot!