ellabrella
PKMN Trainer
- 57
- Posts
- 6
- Years
- She/It
- Seen Feb 27, 2025
hi all,
i'm wanting to make a pokeemerald hack where parts of the game can be controlled from the outside.
my plan is to designate a specific location in memory that can be written to by an external tool (probably a lua script attached to an emulator) which the game reacts to in certain ways. for example, the game will check this memory location at a time when it's safe to modify party/PC data, and if the designated memory location has data that gets interpreted as "give the player a pikachu", the game will create a pikachu and add it to the player's party or PC, and clear the memory location so that a new command can come in.
on the pokeemerald side, i think i can figure out how to make this plan work. however, in order to make the emulator script work, i need to know where in memory i'm supposed to write the data corresponding to the "give pikachu" command, and that's where i feel a bit out of my depth.
what's a good way of finding the address for something like this? would it have something to do with the pokeemerald.elf file? i haven't encountered that file type before, so i'm not sure how i would search it for the specific location i'm looking for.
thanks in advance!
i'm wanting to make a pokeemerald hack where parts of the game can be controlled from the outside.
my plan is to designate a specific location in memory that can be written to by an external tool (probably a lua script attached to an emulator) which the game reacts to in certain ways. for example, the game will check this memory location at a time when it's safe to modify party/PC data, and if the designated memory location has data that gets interpreted as "give the player a pikachu", the game will create a pikachu and add it to the player's party or PC, and clear the memory location so that a new command can come in.
on the pokeemerald side, i think i can figure out how to make this plan work. however, in order to make the emulator script work, i need to know where in memory i'm supposed to write the data corresponding to the "give pikachu" command, and that's where i feel a bit out of my depth.
what's a good way of finding the address for something like this? would it have something to do with the pokeemerald.elf file? i haven't encountered that file type before, so i'm not sure how i would search it for the specific location i'm looking for.
thanks in advance!
Last edited: