From 7e112672b436afee27f1a5a0d6e7a5964e7829b2 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sat, 11 Jun 2016 17:48:24 -0700 Subject: remove address comments --- engine/overworld/replace_tile_block.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engine/overworld/replace_tile_block.asm') diff --git a/engine/overworld/replace_tile_block.asm b/engine/overworld/replace_tile_block.asm index 32c652ea..8577b9e7 100644 --- a/engine/overworld/replace_tile_block.asm +++ b/engine/overworld/replace_tile_block.asm @@ -2,7 +2,7 @@ ; and redraws the map view if necessary ; b = Y ; c = X -ReplaceTileBlock: ; ed1b (3:6d1b) +ReplaceTileBlock: call GetPredefRegisters ld hl, wOverworldMap ld a, [wCurMapWidth] @@ -46,7 +46,7 @@ ReplaceTileBlock: ; ed1b (3:6d1b) call CompareHLWithBC ret c ; return if the replaced tile block is above the map view in memory -RedrawMapView: ; ed59 (3:6d59) +RedrawMapView: ld a, [wIsInBattle] inc a ret z @@ -117,10 +117,10 @@ RedrawMapView: ; ed59 (3:6d59) ld [H_AUTOBGTRANSFERENABLED], a ret -CompareHLWithBC: ; edcb (3:6dcb) +CompareHLWithBC: ld a, h sub b ret nz ld a, l sub c - ret \ No newline at end of file + ret -- cgit v1.3.1-sl0p