aboutsummaryrefslogtreecommitdiffstats
path: root/engine/gfx
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2024-05-05 11:06:40 -0500
committerdannye <33dannye@gmail.com>2024-05-05 11:06:40 -0500
commitb135272f9510ed78e8c062efe552d6dbdcc1523f (patch)
tree5dc1941a3b42651f268dbb90f6e3170ccd977408 /engine/gfx
parentRemove pcm.py since pcm.c handles it (diff)
parentUse constant in wram for hidden item flags (#445) (diff)
downloadpokeyellow-b135272f9510ed78e8c062efe552d6dbdcc1523f.tar.gz
pokeyellow-b135272f9510ed78e8c062efe552d6dbdcc1523f.tar.xz
pokeyellow-b135272f9510ed78e8c062efe552d6dbdcc1523f.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'engine/gfx')
-rw-r--r--engine/gfx/oam_dma.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/gfx/oam_dma.asm b/engine/gfx/oam_dma.asm
index 11e52694..725c3dca 100644
--- a/engine/gfx/oam_dma.asm
+++ b/engine/gfx/oam_dma.asm
@@ -2,7 +2,7 @@ WriteDMACodeToHRAM::
; Since no other memory is available during OAM DMA,
; DMARoutine is copied to HRAM and executed there.
ld c, LOW(hDMARoutine)
- ld b, DMARoutineEnd - DMARoutine
+ ld b, DMARoutine.End - DMARoutine
ld hl, DMARoutine
.copy
ld a, [hli]
@@ -25,4 +25,4 @@ hDMARoutine::
jr nz, .wait
ret
ENDL
-DMARoutineEnd:
+.End: