Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2016-07-25 08:46:13

pepitopon
Member
Registered: 2016-07-25
Post 2/38

Warps

Im using the pokered files but i cant find a very basic tutorial to create new warps.


Im trying to build some structures in Pallet Town like a pokecenter, mall, etc... But i dont know how to do it. I can build easily any building with the tool RB map but this program has no warp creator. I dont know how to create a new area like a pokecenter and connect both sides (Pallet Town and new pokecenter) with a door. There is no tutorial on the net (or i cant find it) so i call your help.


I was editing the text of pallettown.blk but it needs to be created the pokemon center in another text file i supose. How can i do it?

¿Someone can help te to create my first warp or shows me a tutorial?

acy6f.jpg






2lo2j44.jpg

Last edited by pepitopon (2016-07-25 12:51:32)

Offline

#2 2016-07-25 14:55:38

ShantyTown
Member
Registered: 2013-12-04
Post 312/344

Re: Warps

The map constants are in map_constants.asm: https://github.com/pret/pokered/blob/ma … stants.asm
The third number is the id of the warp you're warping to.  "$0" would mean the first warp defined in the destination map.  "$1" means the second, and so on...

Remember, you need to update the number of warps if you add/remove entries.  You also want to add/remove from the warp-to data at the end of that file.

Offline

#3 2017-06-26 20:01:15

Zwyft
New member
Registered: 2017-06-23
Post 4/9

Re: Warps

I think the X and Y coordinates are in reverse, first goes Y then X. As for the third coordinate, I'm currently editing some of the objects in Viridian City and I don't understand how to move them to the part of the tile I need.

EDIT: Figured it out. As it's been said, it's the "warp number" on the destination map. For example, in Rock Tunnel, $0 is the entrance on Route 10 North (next to the Pokécenter), $2 is the exit at the south (iirc) and then you have the warps to the other floors. You can check that in the Map Objects part of the destination file.

Last edited by Zwyft (2017-06-27 14:46:57)

Offline

Board footer

Powered by FluxBB