You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Prefix wram labels with w, part 1.
Handle edge cases first.
This commit is contained in:
@@ -271,8 +271,8 @@ endr
|
||||
ret
|
||||
|
||||
.delete
|
||||
ld hl, Sprites
|
||||
ld c, SpritesEnd - Sprites
|
||||
ld hl, wVirtualOAM
|
||||
ld c, SpritesEnd - wVirtualOAM
|
||||
xor a
|
||||
.loop2
|
||||
ld [hli], a
|
||||
@@ -1499,7 +1499,7 @@ BattleAnim_UpdateOAM_All: ; cc96e
|
||||
jr nz, .loop
|
||||
ld a, [wBattleAnimOAMPointerLo]
|
||||
ld l, a
|
||||
ld h, HIGH(Sprites)
|
||||
ld h, HIGH(wVirtualOAM)
|
||||
.loop2
|
||||
ld a, l
|
||||
cp LOW(SpritesEnd)
|
||||
|
@@ -106,7 +106,7 @@ BattleAnimOAMUpdate: ; cca09
|
||||
ld l, a
|
||||
ld a, [wBattleAnimOAMPointerLo]
|
||||
ld e, a
|
||||
ld d, HIGH(Sprites)
|
||||
ld d, HIGH(wVirtualOAM)
|
||||
.loop
|
||||
ld a, [wBattleAnimTempYCoord]
|
||||
ld b, a
|
||||
|
Reference in New Issue
Block a user