Need help locating something in X and Y save.

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by blujay, Dec 24, 2015.

  1. blujay
    OP

    blujay GBATemp's Official Warthog

    Member
    GBAtemp Patron
    blujay is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,256
    2,133
    Nov 2, 2015
    United States
    Gilbert, Arizona
    Title.

    I am wondering where the map data is in Pokemon X and Y. I am trying to make a simple save patcher to unlock the full map in any save.

    Example: Want to beat the elite four? Just started the game? Load PKHeX, gen pokemon, run it through the save patcher, fly to elite four, wreck them.
     
  2. Tomato Hentai

    Tomato Hentai nut neutrality

    Member
    3,803
    6,261
    Oct 30, 2014
    Canada
    Alberta
    I don't think there's complete map data in the save, only character position data and triggered event data.
     
  3. Ammako

    Ammako GBAtemp Guru

    Member
    6,424
    3,547
    Dec 22, 2009
    Canada
    No but there must be a place where it keeps track of which areas you have been to yet or not.
     
    Tomato Hentai likes this.
  4. blujay
    OP

    blujay GBATemp's Official Warthog

    Member
    GBAtemp Patron
    blujay is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,256
    2,133
    Nov 2, 2015
    United States
    Gilbert, Arizona
    Next question. Is it possible to change the map the player is in to one they haven't been to? I noticed in PKHeX it says the current map and location are like 248 and xx.x xx.x
     
  5. Tomato Hentai

    Tomato Hentai nut neutrality

    Member
    3,803
    6,261
    Oct 30, 2014
    Canada
    Alberta
    Probably. You'd just have to figure out which map is which.
     
  6. blujay
    OP

    blujay GBATemp's Official Warthog

    Member
    GBAtemp Patron
    blujay is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,256
    2,133
    Nov 2, 2015
    United States
    Gilbert, Arizona
    Easy enough, just take a sample from every location in the game. (as long as I can figure out where the current map and player locations are it should only take time)
     
    Ammako and Tomato Hentai like this.
  7. Kaphotics

    Kaphotics badc0ded

    Member
    611
    460
    Sep 10, 2010
    United States
    The game uses bitflags to determine whether or not you've visited the fly-destination.
    Current map and player position has nothing to do with it.

    See example save for OR/AS. Have fun finding the bitflags you're looking for :)
     
    Tomato Hentai likes this.
  8. blujay
    OP

    blujay GBATemp's Official Warthog

    Member
    GBAtemp Patron
    blujay is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,256
    2,133
    Nov 2, 2015
    United States
    Gilbert, Arizona
    Thanks!