• 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?".
  • Forum moderator applications are now open! Click here for details.
  • Welcome to PokéCommunity! Register now and join one of the best places on the 'net to talk Pokémon and more! Community members will not see the bottom screen advertisements.
  • Want to share your adventures playing Pokémon?
    Check out our new Travel Journals forum for sharing playthroughs of ROM Hacks, Fan Games, and other Pokémon content!
  • IMPORTANT: Following a takedown request, the following hacks have been delisted from PokéCommunity:

    • Pokémon Glazed
    • Pokémon: Giratina Strikes Back
    • Pokémon Flora Sky
    • Pokémon Stranded
    The downloads and discussion threads for these hacks will no longer be accessible, and staff will be unable to return questions regarding accessing this content.

In depth Advance Map tutorial

link12552

decade club
205
Posts
16
Years
In Depth Advance Map

link12552's In Depth Advance Map Tutorial
!Revised!

___________________________________________________


Getting Started:

· Creating Maps
· Areas
· Movement
· Events

Topics:
(Events cont.)-
· Warps
· Sprites
· Scripts
· Signposts-
· Wild Pokemon
· Map Connections
· Deleting Maps
· Tile Events


Miscellaneous:

· Creating Bridges
· Disappearing/Reappearing Sprites
· Common Problems


Before we begin:
Remember to always back up your rom!
___________________________________________________

pluss.png
Creating Maps

1. Open your rom

Open-1.png


2. Under "File" goto "Map" then "New map"

newmap-2.png

3. Fill out the required information;

newmap-3.png

Info:
Map's name: What you wish to name your map
Width & Height:
§ For rooms usually it's width13 height 10
§ For towns usually it's width24 height 20
§ For cities usually it's width48 height 40
§ For forests usually it's width54 height 69
§ For caves usually it's width48 height 40
Tile-set1 & Tileset2:The combination for different tile-sets to draw your map



___________________________________________________


tree.png
Areas

Areas are the places that make up the world in your game. They can be forested, mountained, towns, cities, deserts or anything else you can come up with. They are literally what makes a game interesting. Sometimes though people can make locations that really turn you off from a game

For Example:

No1.jpg
Yes1.jpg

Considering the two forest areas above, which one looks better?

The right one of course!
While the right gives a more natural feel, the left just sort of hurts your eyes.

A few tips when making areas are:
§ Avoid placing objects in straight lines
§ Ponds and lakes aren't square
§ Neither are naturally formed patches of vegetation
§ Trees tend to not grow in perfect columns



___________________________________________________

Movement-1.png
Movement


Known in Advance Map as "Movement Permissions" this is what is going to tell the game when and where players can or cannot move. This is easily editable through the movement permission tab.

Some of the basic movement types are:

§ C : Able to move through
§ 1 : Unable to move through
§ 4 : Surf required (Water)
§ D : Jump or one way movement (Small Hill)
§ 10 : Can only be entered or left by going through 0 (Change in elevation)
§ 0: Stairs and Default

Example:

Movementex2.png
Movementex1.png





___________________________________________________

events.png
Events


Events are one of the most important things when making a game, but what exactly are they?
I define an event as something that changes or has the potential to change and display other events or information.

events2.png

The types of events are:
mwarp.png
Warps: Sends the character to other maps
msighnpost.png
Signposts: Standard, stationary, request event

mperson.png
Person: Movable, changeable, request event

mscript.png
Script: Stationary, changeable, collision event


The number of events can be changed by adding or subtracting from the number of events. To add new events increase the event type by however many you want to add. The same can be done for removing events​

_______________________________________



arroww.png
Warps

Warps, in a simpler term, are blocks that when stepped on will send your charecter to another map.


They are set up as folows:

No: This is the invidual selected Warps ID number
Pos (X/Y): The location where the selected warp exists
Unknown: For doors and caves unknown: 3, for ladders unknown: 4
To warp number: Transfer warps ID number
Map bank: Transfer map's location bank
Map: Transfer map's number


In the warp bellow, we see that the player will be sent to Pallet Town, warp no. 0 :

:Warp Tab | Tree-view:
warpform1.png
treeview.png




___________________________________________________

OWI.png
Sprites (Person Event)

What exactly is a sprite?

A sprite can be many things. It can be a blazing fire, a boulder blocking the way, a sighn, just a person, or almost anything else you can come up with! In other words, a sprite is an animated, moving, event.


Sprite Properties:
Sprites unlike other events contain many properties. These are all needed to tell the game how to display the sprite.


person1_20.png

Person Event No: The current sprites ID number.
Picture number: The OverWorlder that will be shown for the sprite (The animated image)
Pos (x)(y): The spites x y coordinates.
Movement Type: The pattern the sprite will follow (move up & down, left & right, ect.)
Movement: in my opinion best to just leave at 00.
Trainer & View Radius: If the sprite is a Pokemon trainer, and if so how far they can see.
ScriptOffset: The location of the script that will run when the sprite is talked to.
Person ID: Used to change the visibility of the sprites with the corresponding flag.

person2_2.png




___________________________________________________

script.png
Scripts

OK, some of you may be saying to yourselves, "I thought this was an Advance Map tutorial, so what does scripting have to do with this?"

Yes, true; this tutorial is for advance map, but one type of event is a script

Scripts are activated when stepped on.


scriptd.png

Unknown: Stays at 0003 98% of the time.
Var number: The script's variable ID, used when removing scripts.

Script offset: The location of the actual code behind the event

A basic talking script might look like this:
Code:
[LEFT]#org 0x17184A
msgbox 0x81A303B MSG_SIGN '"It's impossible to SURF between th..."
end[/LEFT]
 
[LEFT]'---------
' Strings
'---------
#org 0x1A303B
= It's impossible to SURF between the\nislands around these parts.\pThe tides are too fast and\ntreacherous.[/LEFT]
In this script when stepped on, a box will appear saying, "It's impossible to SURF between the islands ..."

The offset $17184A would be put in the offset property of the script.




___________________________________________________

bsighnpost.png
Signposts

A sighnpost is the most generic of the events. It's usually just used as its name implies, as a signpost. Although... A signpost can also be used as a hidden item!
(or secret base in ruby, sapphire, emerald)


Normal| Hidden Item

scriptd1.png
scriptd2.png


Talking level: if the sighn can be read from top, bottom, left, right, or in any direction.
Sighnpost type: If it's a script hidden item or secret base (RSE only)
*Item ID: The type of item found, if in hidden item mode.
Amount: How many items hidden




___________________________________________________

grass.png
Wild Pokemon



Anyone who has ever played a pokemon game knows about wild Pokemon. The game practically revolves around them, but how exactly are they set up?

wildpokemonmap.jpg


In the area above, how would you catch wild pokemon?

§ walking in the grass
§ By surfing on the water
§ By fishing

The Pokemon seen on each map can be edited through the wild Pokemon tab.



wildpokemond.png


Type: The current location you are editing
Encounter ratio: The chance of encountering a wild Pokemon out of 255
Pokemon#: Set up as the lowest level possible, the highest, and the Pokemon's name

Expand:
Displays form below, used for adding or deleting encounter locations.

createwildpokf.png

Please don't ask about trees, as I'm at not really sure.





___________________________________________________

connectionico.png
Map Connections



Map connections are used to create smooth transitions from one map to another automatically during game play.



Clicking the arrows will take you to the connected map

Direction: The current connection's direction
Offset: How far to position the map relative to the middle

Example:
PokemonYelow1.png

Offset set to 1, moves the connection map over 1 space.

Mab bank and no: The transfer map's map bank and number

connectionwindow.png






___________________________________________________

Delete.png
Deleting Maps

Once in a while you may come across time when you want to completely remove a map from your game. Ordinarilly this can't be done, but this is how.

-Before continuing make sure you back up your rom!-

First of all there are two ways this can be done. The safe way or the complete way depending on the intention.

Safe way:
Just reuse the map! Turn it into something completely different instead of completely removing it. All that really has to be done is change the size and tile-sets, and then your ready to recycle.


Complete way:
Sometimes a map can just go bad for one of many reasons, and the best thing to do is completely obliterate it! This method, although, can be pretty messy.

For this to work the map you want to delete must be at the end of the bank.

Example:
tree2.png

If the map is not at the end of the bank, save all of the good maps in the same bank somewhere. Then delete all the maps in the bank. When your done insert the good maps back into your game.​

For this example 13.1 is the last map in bank 13 so this will work

Open the map you're going to delete.
Then go to file> map > insert map
Click "Map bank header"
Scroll down to the map's bank and in the text box type -1
Press "Accept changes"

MBH.png

Finnaly replace the map with itself.

inswin.png

Many errors will show up, this is normal. Just keep pressing Ok.
Finnaly if all goes well, the map will have been removed from the game.



___________________________________________________

Absracicot.png
Tile Events

Tiles, like most other things, are able to be interacted with in the game. Examples of which include: the tall grass, the PC and even warps.

Tile events are edited in the first text-box of the Behavior byte:

Blockeditor.png


People ask me alot why a warp on their map isn't working and it usually comes back to a tile issue. A warp will not run if the tile it's on does not have the behavior byte 61 00.
If you look, the byte 61 means use warp.

Some Behavior Bytes:

Spoiler:



___________________________________________________

Bridges.png
Creating Bridges

Some people have a lot of trouble when it comes to making bridges, so here is an explanation.

A bridges movement permission is 3c. There must be 10's though, at the ends, to show the bridges' elevation.


Bridge.png
bridgem.png

The next part is what usually confuses people. The actual bridge tile's behavior has to be set to 08 00 for overland brdiges or 70 00 for bridges over water.

Over Land Bridge Example:
Bridgetile.png



___________________________________________________

disp.png
Disappearing/Reappearing Sprites

At some point in your game you're going to want to make a person leave the map right? Well here's how.

Remember is sprites I briefly mentioned a sprites person ID and that was used to make a sprite disappear or reappear.

PID.png


Set the sprite's Person ID to a flag in the game ie flag 0x250 would be ID# 0250
When the corresponding flag is set using the setflag comand the sprite will disappear. Releasing the flag will make the sprite reappear

The below code would make any sprite with the person ID 0250 not be displayed.​
Code:
[LEFT]#org 0x800000
setflag 0x250
end[/LEFT]
___________________________________________________

Error.png
Common Problems

There are many issues people might have when making a map. So here is a list of some common ones and their solutions.

QUESTION.png
AdvanceMap Freezes when ever I load a rom is this a problem?
Answer.png
AdvanceMap isn't frozen hopefully, it just sometimes takes a while to load.

QUESTION.png
My warp isn't working what's wrong?
Answer.png
In order for a warp to work, it has to be on a tile that has the behavior set to use some version of warp (61 00) see tile events.

QUESTION.png
My map connections aren't working what's wrong?
Answer.png
Make sure the connection has the correct map bank and number. Also both maps should have connections with each other. Open your map and the connection manager and press the arrow in the direction to see if it works.

QUESTION.png
My map's border in game is using different tiles then the ones i selected. How do i fix this?
Answer.png
This is a tile sharing issue. Refrain from using tiles in the second part of your tile-set as borders. Try using the black tile in the top left corner or a tree as your border.

QUESTION.png
I get an error whenever loading this one map. what should I do?
Answer.png
If you really think you can't fix it, try deleting the map the complete way.

QUESTION.png
My game isn't working!
Answer.png
This is usually not because of advance map,but in the folder with the rom there should be a file with the same name as your rom *.bak. Change the extension to *.gba. Also you should have been backing up your game regularly!


Any suggestions for other topics?
PM and I'll try to add them to the tutorial


Got any questions or need help? Post the issue as well as info as to whats going on, and I'll try to answer!
 
Last edited:

link12552

decade club
205
Posts
16
Years
I'm glad you liked it!

I'll try to update it as soon as I've made 15 posts.

Not many people have posted.

^ Whats with all the strange raindbow colors?^
 

machomuu

Stuck in Hot Girl Summer
10,507
Posts
15
Years
I'm glad you liked it!

I'll try to update it as soon as I've made 15 posts.

Not many people have posted.

^ Whats with all the strange raindbow colors?^

Well, as I said, it's a good tutorial for newcomers, I didn't find Advance Map too hard to understand when I started hacking a long time ago, so I never needed tutorials, it's the same case with many other people.
 

link12552

decade club
205
Posts
16
Years
It was easy for me to use advance map at first as well,


I just thougt the tutorial might be usefull to someone who needed help understanding Advance Map.



_________________________________________________________________

Can you guess what my favorite color is?


Answer
Spoiler:
 
Last edited:
16
Posts
15
Years
  • Seen Oct 4, 2009
is there a way to compleatle remove all the maps on the rom(fire red)
 

Korronensu

Scrap Punk
153
Posts
15
Years
  • Age 34
  • Seen Feb 28, 2010
Naw. Liger is asking the same question I'm wondering. Covering them in grass doesn't get rid of their pre-existing scripts. If anybody knows how to delete maps and banks, that would be good info to share.
 

Sweet Speed

Smile...
378
Posts
15
Years
Nice tutorial, link12552 the content is very good and probably good for newcomers.

Some points though, first of all if you want to present your pictures, always use the .png sufffix as It's probably the best and clearest file type of the pictures. Apart from that you did well and I'm sure this will help a lot of people.
 

link12552

decade club
205
Posts
16
Years
Naw. Liger is asking the same question I'm wondering. Covering them in grass doesn't get rid of their pre-existing scripts. If anybody knows how to delete maps and banks, that would be good info to share.
See tutorial

Try clicking on the scripts and selecting "deleate script"
Then go into the header, under map scripts click remove under every single one. This should leave the map competely blank, except for tiles.

Images

Note: does not really deleate simply erases data

Deleating Map View attachment 43950
Deleating scripts pt. 1View attachment 43952
Deleating scripts pt. 2View attachment 43951



Or try creating a new map then inserting it in the same header.
Depends what your using it for.

Hope it helps!
 
Last edited:
4
Posts
15
Years
  • Seen Dec 6, 2008
How big can you make a map in Firered

I'm making this huge mountian, and I want it to be as big as possible.
 

link12552

decade club
205
Posts
16
Years
How big can you make a map in Firered

I'm making this huge mountian, and I want it to be as big as possible.

It's width = 70 height = 106


P.S.

Bigger isn't always better.


___________________________________________________________________________________________________________

You're awesome. I'll definitely be using this!

Thanks!

I need all the support I can get...

I'm still sort of new.
 
Last edited:
4
Posts
15
Years
  • Seen Dec 6, 2008
Wow, that was fast!

Thanks, hopefully you'll update and add more things to your tutorial soon.

_____________________________________________________________________

My second spioler:
Spoiler:
 

ONECSM

Beginning Video Hacker
13
Posts
15
Years
wow! one of the best tutorials ive seen so far! advance map is pretty easy to understand but im sure is will help some people out there. so great job!
 
31
Posts
15
Years
  • Age 32
  • Seen Apr 27, 2016
Hey well i was wondering how you put new maps on and not have them part of another map. every time i make a new map it puts it pallet town. and i want it on route 1?

great stuff really helpfull
 

link12552

decade club
205
Posts
16
Years
Hey well i was wondering how you put new maps on and not have them part of another map. every time i make a new map it puts it pallet town. and i want it on route 1?

great stuff really helpfull




  1. Click new map
  2. Insert the pallete header ect...
  3. Draw you map
  4. Click insert map
  5. Under replace map put in header = 3 bank = 19
This should insert the map in route 1


Cuation: Make sure that the number of trees before the opening is the same as before.


View attachment 43959


Hope it helps

Nice to see people like it!
 
Back
Top