- 22
- Posts
- 10
- Years
- Twinleaf Town, Sinnoh
- Seen Jun 30, 2024
CheapScript
Hey all, given the lack of proper scripting support in Generation 5, 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.
Requirements
To set it up, you will need:
Utilizing it:
- To start, make sure this is included at the top of your file:
Code:.include "commands.s" .include "movements.s"
- Once you do that, make a label for the script you are writing:
Code:Example: # script goes here
- Then, add a new label at the top, and add pointers to your script like so:
Code:scripts: script <script label>
- Then, compile it using the Python script:
Code:python CheapScript.py <script> <output directory>
- 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!
If you are lost, there is an example script in the scripts folder which you can follow. I will make a more comprehensive tutorial later on.
Happy scripting!
Last edited: