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
|
|
@ -8,10 +8,10 @@ AnimateHealingMachine:
|
|||
push af
|
||||
ld [hl], $ff
|
||||
push hl
|
||||
ld a, [rOBP1]
|
||||
ldh a, [rOBP1]
|
||||
push af
|
||||
ld a, $e0
|
||||
ld [rOBP1], a
|
||||
ldh [rOBP1], a
|
||||
ld hl, wOAMBuffer + $84
|
||||
ld de, PokeCenterOAMData
|
||||
call CopyHealingMachineOAM
|
||||
|
|
@ -56,7 +56,7 @@ AnimateHealingMachine:
|
|||
ld c, 32
|
||||
call DelayFrames
|
||||
pop af
|
||||
ld [rOBP1], a
|
||||
ldh [rOBP1], a
|
||||
pop hl
|
||||
pop af
|
||||
ld [hl], a
|
||||
|
|
@ -78,9 +78,9 @@ PokeCenterOAMData:
|
|||
FlashSprite8Times:
|
||||
ld b, 8
|
||||
.loop
|
||||
ld a, [rOBP1]
|
||||
ldh a, [rOBP1]
|
||||
xor d
|
||||
ld [rOBP1], a
|
||||
ldh [rOBP1], a
|
||||
ld c, 10
|
||||
call DelayFrames
|
||||
dec b
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue