summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/overworld/cmd_queue.asm4
-rw-r--r--engine/overworld/map_objects.asm2
2 files changed, 3 insertions, 3 deletions
diff --git a/engine/overworld/cmd_queue.asm b/engine/overworld/cmd_queue.asm
index 906a02faa..f94bf5c64 100644
--- a/engine/overworld/cmd_queue.asm
+++ b/engine/overworld/cmd_queue.asm
@@ -163,7 +163,7 @@ CmdQueue_Type1:
CmdQueue_Type4:
call CmdQueues_AnonJumptable
- ; anonymous dw
+.anon_dw
dw .zero
dw .one
@@ -207,7 +207,7 @@ CmdQueue_Type4:
CmdQueue_Type3:
call CmdQueues_AnonJumptable
- ; anonymous dw
+.anon_dw
dw .zero
dw .one
dw .two
diff --git a/engine/overworld/map_objects.asm b/engine/overworld/map_objects.asm
index bf809a2e6..9082f4c19 100644
--- a/engine/overworld/map_objects.asm
+++ b/engine/overworld/map_objects.asm
@@ -2746,7 +2746,7 @@ _UpdateSprites::
.fill
ld a, [wVramState]
bit 1, a
- ld b, LOW(wVirtualOAMEnd)
+ ld b, OBJECT_LENGTH * SPRITEOAMSTRUCT_LENGTH
jr z, .ok
ld b, 28 * SPRITEOAMSTRUCT_LENGTH
.ok