mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-06 16:15:24 +13:00
Nihon + Silent Hills Groundwork
Currently doesn't build due to a weird error
```
rgbasm -hL -Q8 -P includes.asm -Weverything -Wnumeric-string=2 -Wtruncation=1 -o data/maps/map_data.o data/maps/map_data.asm
error: data/maps/map_data.asm(3) -> data/maps/maps.asm(544) -> macros/asserts.as
m::assert_table_length(14):
Expected constant expression: 'NUM_SILENT_HILLS_MAP' is not constant at asse
mbly time
error: data/maps/map_data.asm(3) -> data/maps/maps.asm(544) -> macros/asserts.as
m::assert_table_length(16):
Assertion failed: MapGroup_SilentHills: expected 0 entries, each 9 bytes
error: Assembly aborted (2 errors)!
make: *** [Makefile:119: data/maps/map_data.o] Error 1
```
This commit is contained in:
parent
26bb9fbc7b
commit
a8546f60c9
22 changed files with 155 additions and 4 deletions
|
|
@ -20,6 +20,8 @@ IsInJohto::
|
|||
call GetWorldMapLocation
|
||||
|
||||
.CheckRegion:
|
||||
cp NIHON_LANDMARK
|
||||
jr z, .Nihon
|
||||
cp KANTO_LANDMARK
|
||||
jr nc, .Kanto
|
||||
|
||||
|
|
@ -30,3 +32,7 @@ IsInJohto::
|
|||
.Kanto:
|
||||
ld a, KANTO_REGION
|
||||
ret
|
||||
|
||||
.Nihon:
|
||||
ld a, NIHON_REGION
|
||||
ret
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue