mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-07 00:25:24 +13:00
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:
parent
08cea5888f
commit
4432dd4d2f
27 changed files with 425 additions and 538 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue