summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-07-15 11:58:01 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2018-07-15 11:58:01 -0400
commitdba7f59d83c0850c86dd3009d63b2bdeeb0fed68 (patch)
tree60af49706ea544536733e7b57be7ba65bd4f7d0c /mobile
parent33ad00f1abfd791734dcbe33e79f0a49af32958d (diff)
More OAM coordinate consistency
Diffstat (limited to 'mobile')
-rw-r--r--mobile/mobile_22_2.asm2
-rw-r--r--mobile/mobile_46.asm2
-rw-r--r--mobile/mobile_5c.asm2
-rw-r--r--mobile/mobile_5f.asm8
4 files changed, 7 insertions, 7 deletions
diff --git a/mobile/mobile_22_2.asm b/mobile/mobile_22_2.asm
index 260e62073..be1c897d8 100644
--- a/mobile/mobile_22_2.asm
+++ b/mobile/mobile_22_2.asm
@@ -586,7 +586,7 @@ Function8b690:
ld a, BANK(GFX_17afa5)
call FarCopyBytes
ld hl, GFX_17afa5 + $514 + $160
- ld de, vTiles1 tile $6e
+ ld de, vTiles0 tile $ee
ld bc, $10
ld a, BANK(GFX_17afa5)
call FarCopyBytes
diff --git a/mobile/mobile_46.asm b/mobile/mobile_46.asm
index 43ddf5201..95e1f5ac5 100644
--- a/mobile/mobile_46.asm
+++ b/mobile/mobile_46.asm
@@ -5543,7 +5543,7 @@ Function11ac51:
call Function11b314
call Function11acb7
call Function11ad6e
- ld a, 30 * 4
+ ld a, 30 * SPRITEOAMSTRUCT_LENGTH
ld [wCurrSpriteOAMAddr], a
farcall DoNextFrameForAllSprites
farcall ReloadMapPart
diff --git a/mobile/mobile_5c.asm b/mobile/mobile_5c.asm
index 2874ce65a..0b4d05014 100644
--- a/mobile/mobile_5c.asm
+++ b/mobile/mobile_5c.asm
@@ -279,7 +279,7 @@ Function170d02:
ld a, $1
ld [rVBK], a
ld de, GFX_171848
- ld hl, vTiles1 tile $41
+ ld hl, vTiles0 tile $c1
lb bc, BANK(GFX_171848), 24
call Get2bpp
xor a
diff --git a/mobile/mobile_5f.asm b/mobile/mobile_5f.asm
index ed2b5188c..505d6cdbd 100644
--- a/mobile/mobile_5f.asm
+++ b/mobile/mobile_5f.asm
@@ -605,7 +605,7 @@ Function17d370:
call ClearScreen
farcall ReloadMapPart
call DisableLCD
- ld hl, vTiles1 tile $6e
+ ld hl, vTiles0 tile $ee
ld de, $c608
ld bc, 1 tiles
call CopyBytes
@@ -620,7 +620,7 @@ Function17d370:
ld bc, 1 tiles
call ByteFill
ld hl, $c608
- ld de, vTiles1 tile $6e
+ ld de, vTiles0 tile $ee
ld bc, 1 tiles
call CopyBytes
xor a
@@ -652,7 +652,7 @@ Function17d3f6:
Function17d405:
call DisableLCD
- ld hl, vTiles1 tile $6e
+ ld hl, vTiles0 tile $ee
ld de, $c608
ld bc, 1 tiles
call CopyBytes
@@ -667,7 +667,7 @@ Function17d405:
ld bc, 1 tiles
call ByteFill
ld hl, $c608
- ld de, vTiles1 tile $6e
+ ld de, vTiles0 tile $ee
ld bc, 1 tiles
call CopyBytes
xor a