summaryrefslogtreecommitdiff
path: root/engine/battle/animations.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/battle/animations.asm')
-rwxr-xr-xengine/battle/animations.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/battle/animations.asm b/engine/battle/animations.asm
index 4508dbaa..3b0fd4ec 100755
--- a/engine/battle/animations.asm
+++ b/engine/battle/animations.asm
@@ -579,16 +579,16 @@ Func_78e98:
xor a
ldh [hAutoBGTransferEnabled], a
call ClearScreen
- ld h, vBGMap0 / $100
+ ld h, HIGH(vBGMap0)
call WriteLowerByteOfBGMapAndEnableBGTransfer
call Delay3
xor a
ldh [hAutoBGTransferEnabled], a
call LoadScreenTilesFromBuffer2
- ld h, vBGMap1 / $100
+ ld h, HIGH(vBGMap1)
WriteLowerByteOfBGMapAndEnableBGTransfer:
- ld l, vBGMap0 & $ff
+ ld l, LOW(vBGMap0)
call BattleAnimCopyTileMapToVRAM
ld a, $1
ldh [hAutoBGTransferEnabled], a