• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Script] Advance Map Script Problem

6
Posts
4
Years
    • Seen Feb 17, 2021
    Hi everyone!
    i'm doing my first steps in rom hacking and i just wanted to edit the route 1 map with a bit of custom stuff.
    i use Advance Map and i successfully made 3 scripts for the route 1:
    -a dialoge
    -a giveitem
    -a trainer fight
    i wanted also to insert a givepokemon and then Advance map started to act really weird...
    i made the script as usual and then compiled it to get the right offset to insert in Advance Map, but as soon as paste it, it changes! (as exemple, if i put offset $80040080, then if i ask him to open the script after save or if a click elsewere after paste, it will return this in the offset : $00003C80 instead of $80040080)
    i really don't know what to do... i even tought it was something wrong i did previpusly on Advance map or in the rom (i use Fire Red (USA) ), so i tryed doing the same on a fresh, untouched rom and deleted, then downloaded again, Advance map, but i still have the same issue. Also now i can't even make more simple stuff like dialogs, for the same problem!
    Probably is something stupid since i'm a newbie, but i can't find a solution on my own.

    UPDATE:
    i forgot to test the trainer fight and it seems to be the first that had the issue: (i put $80000080 and now is $00000080, no metter what i do, it will keep that $00000080 in its offset)

    thank you for your help
     
    Last edited:
    6
    Posts
    4
    Years
    • Seen Feb 17, 2021
    thank you that worked!
    i thought that the last "80" needed somehow to be there since Advance Map automaticaly putted it in anytime i paste a 6digit offset ... now i know i have to delete it.
    Thank you again
     

    Anthroyd

    Professor
    211
    Posts
    7
    Years
  • Angelos_World said:
    thank you that worked!
    i thought that the last "80" needed somehow to be there since Advance Map automaticaly putted it in anytime i paste a 6digit offset ... now i know i have to delete it.
    Thank you again
    You're welcome, glad it worked. But that's strange that AMap is putting the extra 80 there. That's to tell the game that your script is in the ROM, it's not part of the address. Which version of AMap are you using? Make sure to use v1.92, since it's the latest and most stable version. If you're using v1.95 (a beta), then you've likely already corrupted something. Download v1.92 here: https://ampage.no-ip.info/index.php?seite=advancemap

    Good luck.
     
    6
    Posts
    4
    Years
    • Seen Feb 17, 2021
    Yeah i got the latest version (1.95) and as you said i noticed the the map there you get into at the start of the game gets corrupted until you do not "refresh" it by getting out and in again. i'm actually making this rom with minor modification to record a small fun video, so i'll keep up with 1.95 till then since i've almost finished.
    If i'll want to make a full Hack ROM out of it i'll remember to use 1.92, thank you
     
    Back
    Top