The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Advance Map Script Problem

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old October 15th, 2019 (3:23 PM). Edited October 15th, 2019 by Angelos_World.
Angelos_World Angelos_World is offline
 
Join Date: Sep 2019
Posts: 6
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
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old October 15th, 2019 (9:31 PM).
Anthroyd's Avatar
Anthroyd Anthroyd is offline
Professor
 
Join Date: May 2016
Location: United States
Gender: Male
Posts: 210
There should only be 6 digits after the 0x in your offset. Trim off an "80" and it'll save.
__________________
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old October 15th, 2019 (9:49 PM).
Angelos_World Angelos_World is offline
 
Join Date: Sep 2019
Posts: 6
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
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old October 18th, 2019 (12:57 PM).
Anthroyd's Avatar
Anthroyd Anthroyd is offline
Professor
 
Join Date: May 2016
Location: United States
Gender: Male
Posts: 210
Quote:
Originally Posted by Angelos_World
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: http://ampage.no-ip.info/index.php?seite=advancemap

Good luck.
__________________
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old October 20th, 2019 (1:00 AM).
Angelos_World Angelos_World is offline
 
Join Date: Sep 2019
Posts: 6
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
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:15 AM.