From 5db892782adaa5bb5a3e4cd6fa06565764bd1fb0 Mon Sep 17 00:00:00 2001 From: Rangi Date: Wed, 23 Dec 2020 16:54:28 -0500 Subject: Remove "Buffer" suffix from two HRAM labels --- engine/battle/core.asm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'engine/battle') diff --git a/engine/battle/core.asm b/engine/battle/core.asm index d89eeee55..8d87e52b0 100644 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -3063,7 +3063,7 @@ MonFaintedAnimation: db " @" SlideBattlePicOut: - ldh [hMapObjectIndexBuffer], a + ldh [hMapObjectIndex], a ld c, a .loop push bc @@ -3086,7 +3086,7 @@ SlideBattlePicOut: ret .DoFrame: - ldh a, [hMapObjectIndexBuffer] + ldh a, [hMapObjectIndex] ld c, a cp $8 jr nz, .back @@ -9034,7 +9034,7 @@ CopyBackpic: .LoadTrainerBackpicAsOAM: ld hl, wVirtualOAMSprite00 xor a - ldh [hMapObjectIndexBuffer], a + ldh [hMapObjectIndex], a ld b, 6 ld e, (SCREEN_WIDTH + 1) * TILE_WIDTH .outer_loop @@ -9045,10 +9045,10 @@ CopyBackpic: inc hl ld [hl], e ; x inc hl - ldh a, [hMapObjectIndexBuffer] + ldh a, [hMapObjectIndex] ld [hli], a ; tile id inc a - ldh [hMapObjectIndexBuffer], a + ldh [hMapObjectIndex], a ld a, PAL_BATTLE_OB_PLAYER ld [hli], a ; attributes ld a, d @@ -9056,9 +9056,9 @@ CopyBackpic: ld d, a dec c jr nz, .inner_loop - ldh a, [hMapObjectIndexBuffer] + ldh a, [hMapObjectIndex] add $3 - ldh [hMapObjectIndexBuffer], a + ldh [hMapObjectIndex], a ld a, e add 1 * TILE_WIDTH ld e, a -- cgit v1.2.3