Welcome !
This is a thread, wich will be updated as time passes. The goal is to have everything documented in this thread, and easy to follow for anyone wanting to start their own rom hack.
A few things to note :
Links and pictures will be added later, but for the software, everything can be easily found online. (Links will still be added)
This thread wi be heavily focused on scripting, as sprite editing guides are already a thing.
So before starting anything, make sure you have :
-Project Pokemon ROM Editor
-A ROM of the game you wish to mod. I will be using Platinum.
-Desmume and/or Bizhawk
-lua51.dll (Used to run LUA scripts on Desmume)
-A lua script to show coords in desmume
Got everything ? Alright, here we go !
For the next part, I recommend going back to the data info if you need any indication on what does what. I may also add details about a certain topic in a tutorial.
[Tutorials coming soon]
If you would like anything to be added/have documentation to share, feel free to reply below and I'll add it.
Hope you enjoy and happy modding !
This is a thread, wich will be updated as time passes. The goal is to have everything documented in this thread, and easy to follow for anyone wanting to start their own rom hack.
A few things to note :
Links and pictures will be added later, but for the software, everything can be easily found online. (Links will still be added)
This thread wi be heavily focused on scripting, as sprite editing guides are already a thing.
So before starting anything, make sure you have :
-Project Pokemon ROM Editor
-A ROM of the game you wish to mod. I will be using Platinum.
-Desmume and/or Bizhawk
-lua51.dll (Used to run LUA scripts on Desmume)
-A lua script to show coords in desmume
Got everything ? Alright, here we go !
An "Overworld" is what we call an NPC. They are the characters you can interact with, as well as other interactable objects like Pokeballs.
A script is a file containing a list of commands to be executed when you talk to an NPC for example. Further information about commands will be added later.
A function is similar to a script file, except it can only be accessed using a condition (If/else), or if explicitly specified. Useful for writing very long scripts.
A "movement" is also a set of commands, but unlike functions and scripts, they use "Movement codes" to make an NPC move. A full list will be added later.
Flags are variables that can either contain a 0 or a 1. They are used to check your progression trough the game, and activate/deactivate certain events(Getting the Running shoes)to make sure they happen only one time. Also used to make NPC appear/dissapear, but that will be explained later.
Unlike a flag, a variable can store any type of value. They are mostly used to store a value to check later in the game. They can also be used as a flag in a few situations.
A trigger is a definite zone that will activate a script when your character steps on it.
For the next part, I recommend going back to the data info if you need any indication on what does what. I may also add details about a certain topic in a tutorial.
[Tutorials coming soon]
[COMING SOON]
[COMING SOON]
If you would like anything to be added/have documentation to share, feel free to reply below and I'll add it.
Hope you enjoy and happy modding !
Last edited by XLuma,






