Sevii Region groundwork

This adds the baseline infrastructure to account for the Sevii Islands, while also fixing a couple of bugs. Zeta, please read the commit carefully!

Only real issue I noticed was that scrolling on the town map is infinite in all three new regions, implying there's something in `pokegear.asm` I haven't accounted for.

I've also ret'd the ezchat order and gen1 orders out of existence to reduce the sheer amount of 8-bit warnings. This abolishes gen1 compatibility (though this was already a bit fucked) in exchange for actually being able to debug things in a reasonable timeframe.
This commit is contained in:
Llinos Evans 2024-08-06 15:30:37 +01:00
parent 08cea5888f
commit 4432dd4d2f
27 changed files with 425 additions and 538 deletions

View file

@ -21,7 +21,11 @@ IsInJohto::
.CheckRegion:
cp NIHON_LANDMARK
jr z, .Nihon
jr c, .Nihon
cp SEVII_LANDMARK_1
jr c, .sevii1
cp SEVII_LANDMARK_2
jr c, .sevii2
cp KANTO_LANDMARK
jr nc, .Kanto
@ -33,6 +37,14 @@ IsInJohto::
ld a, KANTO_REGION
ret
.sevii1:
ld a, SEVII_REGION_1
ret
.sevii2:
ld a, SEVII_REGION_2
ret
.Nihon:
ld a, NIHON_REGION
ret