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
|
|
@ -6,7 +6,7 @@ AnimateBoulderDust:
|
|||
ld a, $ff
|
||||
ld [wUpdateSpritesEnabled], a
|
||||
ld a, %11100100
|
||||
ld [rOBP1], a
|
||||
ldh [rOBP1], a
|
||||
call LoadSmokeTileFourTimes
|
||||
callba WriteCutOrBoulderDustAnimationOAMBlock
|
||||
ld c, 8 ; number of steps in animation
|
||||
|
|
@ -18,9 +18,9 @@ AnimateBoulderDust:
|
|||
ld c, 4
|
||||
jp hl
|
||||
.returnAddress
|
||||
ld a, [rOBP1]
|
||||
ldh a, [rOBP1]
|
||||
xor %01100100
|
||||
ld [rOBP1], a
|
||||
ldh [rOBP1], a
|
||||
call Delay3
|
||||
pop bc
|
||||
dec c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue