summaryrefslogtreecommitdiff
path: root/engine/debug.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2017-12-25 13:40:10 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2017-12-25 14:23:16 -0500
commite34e68095df1f91dc5357669c187623d7cba39c6 (patch)
tree5a452f39d9c44012df90a12f1524042c6dbcd062 /engine/debug.asm
parentda2b01a36c6855230ec36c42bd49e7cf2ca2d348 (diff)
Resolve #428: Use `HIGH(X)` and `LOW(X)` instead of `X / $100` and `X % $100` or `X >> 8` and `X & $ff`
Diffstat (limited to 'engine/debug.asm')
-rwxr-xr-xengine/debug.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/debug.asm b/engine/debug.asm
index 588de7a64..0ca639aaa 100755
--- a/engine/debug.asm
+++ b/engine/debug.asm
@@ -1069,7 +1069,7 @@ TilesetColorTest:
ld hl, VTiles1
lb bc, BANK(DebugColorTestGFX), 1
call Request2bpp
- ld a, VBGMap1 / $100
+ ld a, HIGH(VBGMap1)
ld [hBGMapAddress + 1], a
hlcoord 0, 0
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT