summaryrefslogtreecommitdiff
path: root/engine/battle/core.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-12-23 16:54:26 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-12-23 16:54:26 -0500
commited133f5c9afac83b9f9ca4f6951c5bdbe4c95fc5 (patch)
tree5731b13e7f583e7be713b20cd1b08ec4d72ef237 /engine/battle/core.asm
parent524f57703fb362dd9a131edb1eb5aebad5ffe633 (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 aca0185e..728fa9f4 100644
--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -2874,7 +2874,7 @@ MonFaintedAnimation:
db " @"
SlideBattlePicOut:
- ldh [hMapObjectIndexBuffer], a
+ ldh [hMapObjectIndex], a
ld c, a
.loop
push bc
@@ -2897,7 +2897,7 @@ SlideBattlePicOut:
ret
.DoFrame:
- ldh a, [hMapObjectIndexBuffer]
+ ldh a, [hMapObjectIndex]
ld c, a
cp $8
jr nz, .back
@@ -8618,7 +8618,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
@@ -8629,10 +8629,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
@@ -8640,9 +8640,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