Jump to content
Sign in to follow this  

[RELEASE] CheapScript - DS Generation scripting made easier!

Recommended Posts

Hey all, I created a macro system for event scripting in the DS generation of Pokémon games.
It can be found here.

Note: this only supports Black 2 and White 2 at the moment, and not all script commands from those games are in.

To set it up, you will need:

Utilizing it:

  • To start, make sure this is included at the top of your file:
.align 2

.include "include/commands/(GAME_OF_CHOICE).s" 


  • Once you do that, make a label for the script you are writing:
	# script goes here


  • Then, add a new label at the top, and add pointers to your script like so:
     script <script label>


  • Then, compile it using the Python script:
python make_script.py build
  • Once you do all of that, add the script to your game by finding the corresponding script NARC (in B2W2, it is a0/5/6), and replacing the script container that you want to (in SDSME, you can find a list of them, under the “script” section in the Map Headers tab).
  • Profit!

An example of a script in action can be seen here.
If you are lost, there is an example script in the scripts folder which you can follow.

Happy scripting!

Edited by PlatinumMaster
Fix formatting errors.
  • Like 1

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...