Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#26 2013-02-02 18:50:51

tysonrss
Member
From: US, Ohio
Registered: 2011-08-27
Post 528/649

Re: How to properly make a new region

What is the offset for reaching bit table 2?

I know how to do the other things, but changing the bit data for the towns is something I don't know how to do.

Last edited by tysonrss (2013-02-02 19:02:05)


Pokemon Blue DX is reborn!

Offline

#27 2013-02-02 19:55:39

Miksy91
Member
Registered: 2010-10-16
Post 1,493/2,339

Re: How to properly make a new region

I have actually answered that in one of the posts at page 1 along with some further explanation so go and read it there :)

Also, that ram area is no way "universally" used for bittable2, just happens to be used for the bits determining the flying data. For seeing what bits each bittable2 bit affect, use Memory Viewer.

Last edited by Miksy91 (2013-02-02 19:56:30)

Offline

#28 2013-02-03 00:47:24

Tauwasser
Member
Registered: 2010-10-16
Post 337/452

Re: How to properly make a new region

Bits in table 2 don't reside in a contiguous location in RAM. The games use a look-up table to determine where to test/set/reset what bit. Table is around 03:404D in case you need a specific bit. It has 0x5D entries, all others default to 0x00.

cYa,

Tauwasser

Last edited by Tauwasser (2013-02-03 00:47:48)

Offline

#29 2013-12-18 21:51:52

Pokemon_Master
Member
From: Eastern Kingdom of Mikado
Registered: 2013-05-18
Post 706/951
Website

Re: How to properly make a new region

What is that SPECIAL 00 area?

Offline

#30 2013-12-18 22:40:15

Miksy91
Member
Registered: 2010-10-16
Post 2,026/2,339

Re: How to properly make a new region

Doesn't stand for anything that should normally be seen in the game.
I believe the pokecenter upperfloor maps belong to SPECIAL though.

Offline

#31 2013-12-18 22:52:26

Pokemon_Master
Member
From: Eastern Kingdom of Mikado
Registered: 2013-05-18
Post 709/951
Website

Re: How to properly make a new region

Miksy91 wrote:

Doesn't stand for anything that should normally be seen in the game.
I believe the pokecenter upperfloor maps belong to SPECIAL though.

Ok. But what is that special place when opening GSC Wild pokemon editor?

Offline

#32 2013-12-19 07:55:58

Crystal_
Member
From: Spain
Registered: 2012-09-16
Post 153/450
Website

Re: How to properly make a new region

SPECIAL is only an unused entry in the Town Map, as far as I know. There are no maps named SPECIAL. Don't worry about it, really.

Offline

#33 2015-09-18 01:17:12

Halfshadow
Member
From: Italy - Lucca
Registered: 2012-04-24
Post 42/283

Re: How to properly make a new region

How can add dungeons to Kanto map in the pokègear? Because if you go to the firts bytes of the name of New Bark town you can add more zones and repoint "NEW BARK TOWN" to blank offsets and also GEN2 MAP view the new areas, that start at 5F, if you can't add to the map you can view the areas in the map only if you are in the zone. I had added SILPH CO, POKéMON MANSION, SAFARI ZONE, CERULEAN CAVE and VIRIDIAN FOREST and I would to see correctly in the map, I don't need of update the flying town map, only the Pokégear town map.


The italian Pokémon Green creator.

Offline

#34 2015-09-18 06:33:00

comet
Member
Registered: 2012-04-09
Post 601/679

Re: How to properly make a new region

The Kanto limits depend on whether you've beaten the Pokemon League. In Crystal:

Function910e8: ; 910e8
        ld a, [StatusFlags]
        bit 6, a
        jr z, .asm_910f4
        ld d, $5e ; ROUTE_28
        ld e, $2f ; PALLET_TOWN
        ret

.asm_910f4
        ld d, $5e ; ROUTE_28
        ld e, $58 ; VICTORY_ROAD
        ret
; 910f9

The Johto ones are similar, but they don't get their own function, so there are two places to change. Look near calls to Function910e8. Also look for KANTO_LANDMARK if you want to add landmarks to Johto. If you do, you will have to increment all the landmark ids in the map headers if you are hex editing.

Offline

#35 2015-09-18 12:30:36

Halfshadow
Member
From: Italy - Lucca
Registered: 2012-04-24
Post 43/283

Re: How to properly make a new region

Yes, I'm in hex editing, and I want to display the new areas only when the league is beaten. Maybe I want to view only VIRIDIAN FOREST, CERULEAN CAVE, SILPH CO and SAFARI ZONE, because for the POKéMON MANSION I have a secret entrance, only with a TELEPORT script, then maybe will be better leave the MANSION untouched for see the name of the place only when you are in, because is destroyed and I prefer leave CINNABAR ISLAND like appear in Soul Silver. It's possible do the edits in hex editing? I have also to move the FAST SHIP to the bottom I think, otherwise I'll can see it also in the map, but not is hard, I want only to extend the MAP to 4 locations.


The italian Pokémon Green creator.

Offline

#36 2015-09-18 19:55:11

comet
Member
Registered: 2012-04-09
Post 603/679

Re: How to properly make a new region

Then you would just change the first $5e to something higher.

Make sure to fix the FAST_SHIP checks as well.

Offline

#37 2015-09-18 21:21:33

Halfshadow
Member
From: Italy - Lucca
Registered: 2012-04-24
Post 49/283

Re: How to properly make a new region

Where is the address where 5E is located?


The italian Pokémon Green creator.

Offline

#38 2015-09-21 18:08:31

Halfshadow
Member
From: Italy - Lucca
Registered: 2012-04-24
Post 52/283

Re: How to properly make a new region

I had not to search 5E, but 5D, because maybe starts to count at 00 for NEW BARK. Then at the offset 0x910C1 I had finally found the byte that count the available maps in Kanto. However I have to leave the Fast ship visible after Route 28, because if I change the order of the areas I have to change also the areas in the maps and the Pokésensitive of Cianwood in Crystal can see if an egg is hatched also in the fast ship. I can't move then Fast ship, however I can put it near Vermillion like the SS. ANNE in Red and Blue.


The italian Pokémon Green creator.

Offline

Board footer

Powered by FluxBB