Jump to content

Pokemon Gen2 Rom Editing General Questions


Recommended Posts

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][XX][DW][MB][DM]

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. :^|

Capture.PNG

Edited by (~:Waffle:~)
Link to comment
Share on other sites

Some more research yields:

Primary Map Header 9 bytes long.
25 02 01 c5 4e 10 3d 00 01 (Golden Rod Overworld @ 0x094763)

25 ROM Bank with Secondary Header

02 Tileset

01 Sprite Set

c5 4e Pointer to Secondary Header

10 Area Name

3d Music Track

00 Does Pokegear have reception? 00 = No, 10 = Yes
   Time of Day? 00 = Realtime, 01 = Always Day, etc.

01 Fishing Index

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...