diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
View Single Post
March 7th, 2009 (2:15 PM). Edited March 7th, 2009 by Pokepal17.
Originally Posted by
diegoisawesome's XSE Level Scripting Tutorial
Do Not Take or Modify Without Permission
A lot of people have been asking me for this, so here it is!
Make the script you want.
into your script. Make sure that the player is FORCED to do the part that you add it into. I recommend using variables 0x7000 up.
Note: You do NOT need a setflag/checkflag situation unless you have a script that sets a flag for another script.
Compile the script.
In A-Map, go to the map you want to put your level script onto.
Go to the Header view.
Under Map Script, remove all other old level scripts and press Add.
Under Script Type, select 02 Validates values, loads handler to...
Paste the script offset into the Script offset 2 box.
Put the number of the variable that will be set to 0x1 in your script under Flag. Leave the Value box alone.
Press Save map scripts.
Press Ctrl+H on your keyboard. The view should change to Pro-Header view.
In the Map options>Map script offset box, copy the offset past the dollar sign and paste it into the Offset box in XSE.
Decompile the script and...Blank! Not to worry! Press the button right next to the Decompile button, press the Decompile button itself and...voila! There's a script now!
There should be a minimum of three parts to the script: two things with pointers and your script that you made. In the second part, there should be a pointer to your script. Under it, there should be a
#raw word 0x
(random number). Replace the random number with 0. Compile it and test it out in the game.
Enjoy your level script!
I think what most of us were expecting was one on all types level scripts not just the most commonly used one.
Joined Oct 2008
View Public Profile
Send a private message to Pokepal17
Find all posts by Pokepal17
Find threads started by Pokepal17
Ignore Posts by Pokepal17