summaryrefslogtreecommitdiff
path: root/engine/battle/start_battle.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/start_battle.asm')
-rw-r--r--engine/battle/start_battle.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/engine/battle/start_battle.asm b/engine/battle/start_battle.asm
index f5fc4a6b0..12d657e39 100644
--- a/engine/battle/start_battle.asm
+++ b/engine/battle/start_battle.asm
@@ -14,7 +14,7 @@ ShowLinkBattleParticipants:
FindFirstAliveMonAndStartBattle:
xor a
- ld [hMapAnims], a
+ ldh [hMapAnims], a
call DelayFrame
ld b, PARTY_LENGTH
ld hl, wPartyMon1HP
@@ -36,14 +36,14 @@ FindFirstAliveMonAndStartBattle:
predef DoBattleTransition
farcall _LoadBattleFontsHPBar
ld a, 1
- ld [hBGMapMode], a
+ ldh [hBGMapMode], a
call ClearSprites
call ClearTileMap
xor a
- ld [hBGMapMode], a
- ld [hWY], a
- ld [rWY], a
- ld [hMapAnims], a
+ ldh [hBGMapMode], a
+ ldh [hWY], a
+ ldh [rWY], a
+ ldh [hMapAnims], a
ret
PlayBattleMusic: