Jump to content
MichiS97

feature request Editing Coordinates

Recommended Posts

Hey,

I'd like to request a feature for PKHeX. Would it be possible to not only allow viewing of the player's coordinates but actually changing them, too?

The reason I'm asking for this is that I'd like to be able to access the Mirage Spots in ORAS easier, especially Crescent Isle because I don't want to be dependent on HomePass or simply pure luck.

Changing the Map ID already works, but changing the XYZ coordinates has no effect in the game. Is that a bug or is it intended not to work?

It would be great if this could be integrated into this truly awesome tool :)

Share this post


Link to post
Share on other sites

You can change coordinates but not by using ram2sav as the coordinates are constantly updated elsewhere; as for it not working for saves it's likely due to the overworld data in the save file reverting any changes. May have to look at that more.

Share this post


Link to post
Share on other sites
You can change coordinates but not by using ram2sav as the coordinates are constantly updated elsewhere; as for it not working for saves it's likely due to the overworld data in the save file reverting any changes. May have to look at that more.

Hey I've gotten Map Coordinates working (kinda).

For ORAS,

there are three offsets in the saves:

1. 0x1402 : Map ID

2. 0x14f4 : Map ID

3. 0x2006: Map ID only (this is for the Continue page?)

For 1. and 2, there are slight differences with the values that follow:

1. 0x1402

 

D0 01 00 00 01 00 00 00 2D 44 00 00 00 00 00 40 2D 44 00 80 9E 43 00 80 8B 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 80 3F

 

2. 0x14f4

 

D0 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 2D 44 00 80 9E 43 00 80 8B 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 80 3F

 

I corrected the checksums by loading the save in pkhex before continuing.

I managed to teleport myself to a different Mirage Spot (but got stuck against the side of a wall, which is something I'll have to test and fix for myself)

Hope this implementation gets added ><

Share this post


Link to post
Share on other sites
Hey I've gotten Map Coordinates working (kinda).

For ORAS,

there are three offsets in the saves:

1. 0x1402 : Map ID

2. 0x14f4 : Map ID

3. 0x2006: Map ID only (this is for the Continue page?)

For 1. and 2, there are slight differences with the values that follow:

1. 0x1402

 

D0 01 00 00 01 00 00 00 2D 44 00 00 00 00 00 40 2D 44 00 80 9E 43 00 80 8B 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 80 3F

 

2. 0x14f4

 

D0 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 2D 44 00 80 9E 43 00 80 8B 43 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 80 3F

 

I corrected the checksums by loading the save in pkhex before continuing.

I managed to teleport myself to a different Mirage Spot (but got stuck against the side of a wall, which is something I'll have to test and fix for myself)

Hope this implementation gets added ><

Not sure what you mean; coordinate editing is already in the program, I was commenting that ram2sav doesn't allow coordinates editing to work (same as Party pkm).

Share this post


Link to post
Share on other sites
Not sure what you mean; coordinate editing is already in the program, I was commenting that ram2sav doesn't allow coordinates editing to work (same as Party pkm).

Woops I didn't realise its working now (it wasn't working previously).

I probably borked something on my end, do ignore this sorry ><

Share this post


Link to post
Share on other sites

on second thought, have you been able to make coordinates (not map ID) to work?

It seems only to work when I modify the values following the 2nd pointer

edit:

apparently coordinate editing only edit the values following the first line,

but the second line matters too.

edit 2:

apparently I need to change 0x14f4 to be the same as 0x1402,

and 0x1504-0x1525 to be the same as 0x1410-0x1431 to get coordinates changing to work.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...