summaryrefslogtreecommitdiff
path: root/engine/battle/core.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-12-23 16:54:28 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-12-23 16:54:28 -0500
commit5db892782adaa5bb5a3e4cd6fa06565764bd1fb0 (patch)
tree006b809d2d77e34b57db5688fa9529f8cc7ab64b /engine/battle/core.asm
parent99e66c25577e367d6c7ca75fea8b466b54c3317a (diff)
Remove "Buffer" suffix from two HRAM labels
Diffstat (limited to 'engine/battle/core.asm')
-rw-r--r--engine/battle/core.asm14
1 files changed, 7 insertions, 7 deletions
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