Speeding Things Up With Arbitrary Code Execution

Arbitrary Code Execution, or ACE for short, is the process of abusing an exploit with how a game handles data to write code within a game, then executing it through (oftentimes) another glitch, bug, or exploit. ACEs can be very powerful, oftentimes allowing the player to access anywhere in memory and even modify it (which is the main goal of being able to ACE). In Pokemon Gold, ACEs can do just that, even allowing the player to create entirely custom maps if they know what they're doing. However, on this page, I will just stick to how to use ACE to modify Pokemon values and items in the player's bag.