View Single Post
Old January 20th, 2013 (2:32 AM). Edited January 20th, 2013 by DrFuji.
DrFuji's Avatar
DrFuji DrFuji is offline
Heiki Hecchara‌‌
  • Crystal Tier
Join Date: Sep 2009
Location: Downia-upside
Age: 24
Gender: Male
Nature: Jolly
Posts: 1,328
Originally Posted by Enso View Post
I keep getting this error "ERROR (ENotAPointer) AdvanceMapError(5): The value at $486828 is not a Pointer!!"
Using Advance Map 1.95 and Emerald if that makes a difference.
Tried looking it up but no luck.
What does it mean and how do i fix it?
I just started hacking so I know very little. My apologies if this has already been answered or if the answer is blatantly obvious.
That part of the ROM seems to deal with the connections between each map, there are quite a lot of zeroes around there so I'm guessing that you overwrote the data there when trying to insert something (a map, script, tiles etc). A quick fix would be to make a back up of your ROM, open it in a HEX editor, goto (Ctrl+G) 0x486828 and replace what's written there with '0C 68 48 08'. That would be the very least you can do to make that error disappear, but it would be better to compare that section of your edited Emerald ROM to one that hasn't been modified in any way and then replace your edited data with what's there.

Since you're starting out I can understand that it could be a bit hard to do this, but its the simplest thing I can think of to remedy your problem.

Originally Posted by Manganum View Post
I searched the thread, but I couldn't find anything relevant, so here goes:
I want to edit Lance's battle in Fire Red to be a double battle (which is simple enough), but I can't work out how to put another sprite alongside his when it says "Elite Four Lance wants to battle" or whatever. I'm going to go and compare his script with an existing double battle and see if that yields any results, but it's still worth posting this.
When entering a double-battle in FR the game doesn't take two separate trainer images and pair them together, it uses a single image that has two people in it. You can see this is the case if you look at the images from 127 to 131 in Advance Trainer.

If you want to have two trainers appear when the trainer battle begins/ finishes you will have to do what GameFreak did and put them in the same sprite.