mirror of https://github.com/pret/pokecrystal.git
These are signed offsets, not addresses (thanks, PikalaxALT)
This commit is contained in:
parent
7aa1c1f388
commit
a71901020b
|
@ -1619,7 +1619,7 @@ Functioncd913:
|
||||||
ld hl, BATTLEANIMSTRUCT_10
|
ld hl, BATTLEANIMSTRUCT_10
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld e, [hl]
|
ld e, [hl]
|
||||||
ld hl, hTransferVirtualOAM
|
ld hl, -$80
|
||||||
add hl, de
|
add hl, de
|
||||||
ld e, l
|
ld e, l
|
||||||
ld d, h
|
ld d, h
|
||||||
|
@ -2116,7 +2116,7 @@ asm_cdbfa:
|
||||||
ld hl, BATTLEANIMSTRUCT_0F
|
ld hl, BATTLEANIMSTRUCT_0F
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld e, [hl]
|
ld e, [hl]
|
||||||
ld hl, hTransferVirtualOAM
|
ld hl, -$80
|
||||||
add hl, de
|
add hl, de
|
||||||
ld e, l
|
ld e, l
|
||||||
ld d, h
|
ld d, h
|
||||||
|
@ -3356,7 +3356,7 @@ Functionce306:
|
||||||
ld hl, BATTLEANIMSTRUCT_0F
|
ld hl, BATTLEANIMSTRUCT_0F
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld e, [hl]
|
ld e, [hl]
|
||||||
ld hl, hTransferVirtualOAM
|
ld hl, -$80
|
||||||
add hl, de
|
add hl, de
|
||||||
ld e, l
|
ld e, l
|
||||||
ld d, h
|
ld d, h
|
||||||
|
|
Loading…
Reference in New Issue