aboutsummaryrefslogtreecommitdiffstats
path: root/engine/oam_dma.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2015-07-14 02:16:19 -0500
committerdannye <corrnondacqb@yahoo.com>2015-07-14 02:16:19 -0500
commitef9e59101e10aed82184bd2fd063b1109e2e4f6a (patch)
tree2fb09fd06d2b7b960a3c0fda27e3ad9229c13a8f /engine/oam_dma.asm
parentMerge branch 'master' of https://github.com/YamaArashi/pokered (diff)
downloadpokeyellow-ef9e59101e10aed82184bd2fd063b1109e2e4f6a.tar.gz
pokeyellow-ef9e59101e10aed82184bd2fd063b1109e2e4f6a.tar.xz
pokeyellow-ef9e59101e10aed82184bd2fd063b1109e2e4f6a.zip
Use more screen dimension constants
Diffstat (limited to 'engine/oam_dma.asm')
-rw-r--r--engine/oam_dma.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/oam_dma.asm b/engine/oam_dma.asm
index 3de4d773..bd89677a 100644
--- a/engine/oam_dma.asm
+++ b/engine/oam_dma.asm
@@ -19,7 +19,8 @@ DMARoutine:
; wait for DMA to finish
ld a, $28
-.wait dec a
+.wait
+ dec a
jr nz, .wait
ret
DMARoutineEnd: