Harmonize engine/overworld with pokegold

This commit is contained in:
Rangi
2020-06-17 22:12:04 -04:00
parent cc460a17b0
commit 50e182e831
9 changed files with 316 additions and 777 deletions

View File

@@ -225,7 +225,7 @@ CopyMapObjectToObjectStruct:
ret
InitializeVisibleSprites:
ld bc, wMapObjects + MAPOBJECT_LENGTH
ld bc, wMap1Object
ld a, 1
.loop
ldh [hMapObjectIndexBuffer], a
@@ -312,7 +312,7 @@ CheckObjectEnteringVisibleRange::
ld d, a
ld a, [wXCoord]
ld e, a
ld bc, wMapObjects + MAPOBJECT_LENGTH
ld bc, wMap1Object
ld a, 1
.loop_v
ldh [hMapObjectIndexBuffer], a
@@ -368,7 +368,7 @@ CheckObjectEnteringVisibleRange::
ld e, a
ld a, [wYCoord]
ld d, a
ld bc, wMapObjects + MAPOBJECT_LENGTH
ld bc, wMap1Object
ld a, 1
.loop_h
ldh [hMapObjectIndexBuffer], a