Exelis'20
Cancer
- 22
- Posts
- 10
- Years
- Paris, France
- Seen Jan 23, 2017
Hey guys can you help me?? I've got a problem in Step 2.. I really don't understand at all! also when i test the game, after the copyrights, it becomes black screen..
Can you explain this more detailed to me??
Once you've decided, figure out how many bits it will take to encode the number of dex entries- the answer is (number of dex entries)/8, rounded up. Using this, pick two locations in the RAM freed by JPAN/diegoisawesome's hack to be where Seen and Caught flags will go. Note that later steps will be easier if you put them next to each other.
In all honesty the only area I'm 100% sure of is safe to use for the new dex flags is 0203D800. So we are going to use that area.
Make these byte changes:
C06EC: point to new SEEN flags
C06AC: 00 00
C06AE: 00 00
This makes the game read using the new SEEN flags.
C0744: point to new CAUGHT flags
C06FE: 00 00
C0700: 00 00
C0702: 00 00
C0710: 15 E0
This makes the game read using the new CAUGHT flags.
C0720: 0D E0
This makes both of the above bypass redundant SEEN flags.
C07C8: point to new SEEN flags
C079E: 00 00
C07A0: 00 00
C07AC: 1C E0
This makes the game write to the new SEEN flags.
C07F0: point to new CAUGHT flags
C07DA: 00 00
C07DC: 00 00
This makes the game write to the new CAUGHT flags.
We also need to make the game clear these flags properly when the player selects New Game at the main menu. We can do this with the following edits:
Put a pointer to whichever set of flags comes first at x843BC.
Put 20 1C 00 00 at x8439A.
Put XX 22 at x843A0, where XX is the number of bytes taken by your dex flags.
Put 20 1C at x843A6.
Put YY 30 at x843A8, where YY is the number of bytes between the sets of flags. YY is probably the same as XX, but it doesn't have to be.
Put XX 22 at x843AC, where XX is the number of bytes taken by your dex flags.
Can you explain this more detailed to me??
Once you've decided, figure out how many bits it will take to encode the number of dex entries- the answer is (number of dex entries)/8, rounded up. Using this, pick two locations in the RAM freed by JPAN/diegoisawesome's hack to be where Seen and Caught flags will go. Note that later steps will be easier if you put them next to each other.
In all honesty the only area I'm 100% sure of is safe to use for the new dex flags is 0203D800. So we are going to use that area.
Make these byte changes:
C06EC: point to new SEEN flags
C06AC: 00 00
C06AE: 00 00
This makes the game read using the new SEEN flags.
C0744: point to new CAUGHT flags
C06FE: 00 00
C0700: 00 00
C0702: 00 00
C0710: 15 E0
This makes the game read using the new CAUGHT flags.
C0720: 0D E0
This makes both of the above bypass redundant SEEN flags.
C07C8: point to new SEEN flags
C079E: 00 00
C07A0: 00 00
C07AC: 1C E0
This makes the game write to the new SEEN flags.
C07F0: point to new CAUGHT flags
C07DA: 00 00
C07DC: 00 00
This makes the game write to the new CAUGHT flags.
We also need to make the game clear these flags properly when the player selects New Game at the main menu. We can do this with the following edits:
Put a pointer to whichever set of flags comes first at x843BC.
Put 20 1C 00 00 at x8439A.
Put XX 22 at x843A0, where XX is the number of bytes taken by your dex flags.
Put 20 1C at x843A6.
Put YY 30 at x843A8, where YY is the number of bytes between the sets of flags. YY is probably the same as XX, but it doesn't have to be.
Put XX 22 at x843AC, where XX is the number of bytes taken by your dex flags.