diff options
author | yenatch <yenatch@gmail.com> | 2017-12-25 19:01:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-25 19:01:36 -0500 |
commit | 73db02d3cdaf81a214ec6faa5462195618a80a48 (patch) | |
tree | b4d1a5187fda9da6186c52c03e836a5ff8f4dd90 /battle/anim_commands.asm | |
parent | ec8c9688ce970b9c3b63a5b287a99542f0bc9984 (diff) | |
parent | 29b41068cb0644956494dd2b7b75331a336b8d26 (diff) |
Merge pull request #433 from roukaour/master
More code cleanup
Diffstat (limited to 'battle/anim_commands.asm')
-rw-r--r-- | battle/anim_commands.asm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/battle/anim_commands.asm b/battle/anim_commands.asm index 510f44d2b..78786f516 100644 --- a/battle/anim_commands.asm +++ b/battle/anim_commands.asm @@ -237,16 +237,16 @@ Functioncc220: ; cc220 ; Appears to be unused. xor a ld [hBGMapMode], a - ld a, (VBGMap0 tile $28) % $100 + ld a, LOW(VBGMap0 tile $28) ld [hBGMapAddress], a - ld a, (VBGMap0 tile $28) / $100 + ld a, HIGH(VBGMap0 tile $28) ld [hBGMapAddress + 1], a call WaitBGMap2 ld a, $60 ld [hWY], a - xor a + xor a ; LOW(VBGMap0) ld [hBGMapAddress], a - ld a, VBGMap0 / $100 + ld a, HIGH(VBGMap0) ld [hBGMapAddress + 1], a call BattleAnimDelayFrame ret @@ -1501,10 +1501,10 @@ BattleAnim_UpdateOAM_All: ; cc96e jr nz, .loop ld a, [wBattleAnimOAMPointerLo] ld l, a - ld h, Sprites / $100 + ld h, HIGH(Sprites) .loop2 ld a, l - cp SpritesEnd % $100 + cp LOW(SpritesEnd) jr nc, .done xor a ld [hli], a |