Documentation on Writing and Executing Custom scripts and events through Arbitrary Code Execution in Pokemon Emerald
The following is documentation on creating, and running custom scripts in Pokemon Emerald through Arbitrary Code Execution. This setup will allow you to open up Arbitrary code execution into more in game options, as well as more complex codes.
Note
If you are wanting to set up this process for FireRed or LeafGreen follow the instructions here https://gist.github.com/Theocatic/39ed337ecd590b47fad14f791cf16bb5
This method utilizes the HexWriter, and Crafting Table setup from e-Sh4rks AC3 setup. If you already have the HexWriter, and crafting table set up, you can skip to step 7, but keep in mind that the placement of many different Payloads has been shifted around for this setup, and will likely need moved.