I am playing around with my pokemon silver's rom (US). I am using G2Map to open the map, and frhed as my hex editor.
I will reference this probably a lot: https://hax.iimarck.us/files/scriptingcodes_eng.htm
I have read a bit on how event scripting works, but am still trying to wrap my head around all of it.
I am looking at the goldenrod map, and have been toying with the warp script, but I am unsure of what is happening.
G2Map says the warp script is at 0x122482.
and Currently G2Map says the Target Point is 1, Target Bank is D, and Target Map is B.
This post was edited Heavily do to the fact I was pretty confused...
So at ROM Location 0x122482, is the warp info for the Goldenrod Pokemon Center.
The warp info is 5 bytes long. After some testing I found that they are arranged in this order:
YY = Warp Tile's Y Coordinate
XX = Warp Tile's X Coordinate
DW = Destination Warp Number
MB = Destination Map Bank
DM = Destination Map
This info is all editedable by G2Map. :^|