summaryrefslogtreecommitdiff
path: root/engine/overworld.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-12-25 19:01:36 -0500
committerGitHub <noreply@github.com>2017-12-25 19:01:36 -0500
commit73db02d3cdaf81a214ec6faa5462195618a80a48 (patch)
treeb4d1a5187fda9da6186c52c03e836a5ff8f4dd90 /engine/overworld.asm
parentec8c9688ce970b9c3b63a5b287a99542f0bc9984 (diff)
parent29b41068cb0644956494dd2b7b75331a336b8d26 (diff)
Merge pull request #433 from roukaour/master
More code cleanup
Diffstat (limited to 'engine/overworld.asm')
-rwxr-xr-xengine/overworld.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/overworld.asm b/engine/overworld.asm
index a505ecd66..a1b4545a9 100755
--- a/engine/overworld.asm
+++ b/engine/overworld.asm
@@ -663,10 +663,10 @@ rept 4
add hl, hl
endr
ld a, l
- add VTiles0 % $100
+ add LOW(VTiles0)
ld l, a
ld a, h
- adc VTiles0 / $100
+ adc HIGH(VTiles0)
ld h, a
ret
; 14418