Jump to content

Recommended Posts

Posted

Hello all,

 

I have a project planned where I want to ping and edit active memory in the gba emulator while running(pokemon emerald specifically)

So far I understand memory is dynamically allocated in blocks, such that item , gym badges, pokemon, party data

 

All start at a fixed offset and have a fixed bit length associated with them. 

 

So that if you have the pointer of where the datablock begins, you can offset into it and fetch the value you want.

 

But where im getting stuck is in finding out where these blocks begin and how to find their offsets.

 

Like for instance if I want to query for how many pokeballs the player has,  I know I need to go to the items block, and offset into that X number of spaces until I get the byte that corresponds to pokeballs.

 

But like. How do I do that?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...