summaryrefslogtreecommitdiff
path: root/engine/battle/trainer_huds.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/trainer_huds.asm')
-rw-r--r--engine/battle/trainer_huds.asm7
1 files changed, 4 insertions, 3 deletions
diff --git a/engine/battle/trainer_huds.asm b/engine/battle/trainer_huds.asm
index 7fd57571..a3fa4fdf 100644
--- a/engine/battle/trainer_huds.asm
+++ b/engine/battle/trainer_huds.asm
@@ -47,7 +47,7 @@ ShowOTTrainerMonsRemaining:
StageBallTilesData:
ld a, [de]
push af
- ld de, wBuffer1
+ ld de, wBattleHUDTiles
ld c, PARTY_LENGTH
ld a, $34 ; empty slot
.loop1
@@ -56,7 +56,8 @@ StageBallTilesData:
dec c
jr nz, .loop1
pop af
- ld de, wBuffer1
+
+ ld de, wBattleHUDTiles
.loop2
push af
call .GetHUDTile
@@ -200,7 +201,7 @@ LinkBattle_TrainerHuds:
jp LoadTrainerHudOAM
LoadTrainerHudOAM:
- ld de, wBuffer1
+ ld de, wBattleHUDTiles
ld c, PARTY_LENGTH
.loop
ld a, [wPlaceBallsY]