mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Specify the ldh instruction, don't turn ld into ldh
This commit is contained in:
parent
c480632d54
commit
772fcc7588
219 changed files with 2556 additions and 2556 deletions
|
|
@ -15,9 +15,9 @@ AnimCut:
|
|||
ld [wCoordAdjustmentAmount], a
|
||||
ld c, 2
|
||||
call AdjustOAMBlockXPos2
|
||||
ld a, [rOBP1]
|
||||
ldh a, [rOBP1]
|
||||
xor $64
|
||||
ld [rOBP1], a
|
||||
ldh [rOBP1], a
|
||||
call DelayFrame
|
||||
pop bc
|
||||
dec c
|
||||
|
|
@ -65,9 +65,9 @@ AnimCutGrass_UpdateOAMEntries:
|
|||
ld [wCoordAdjustmentAmount], a
|
||||
ld c, 1
|
||||
call AdjustOAMBlockXPos2
|
||||
ld a, [rOBP1]
|
||||
ldh a, [rOBP1]
|
||||
xor $64
|
||||
ld [rOBP1], a
|
||||
ldh [rOBP1], a
|
||||
call DelayFrame
|
||||
pop bc
|
||||
dec c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue