mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-04-15 14:51:04 +12: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
|
|
@ -1,8 +1,8 @@
|
|||
LoadShootingStarGraphics:
|
||||
ld a, $f9
|
||||
ld [rOBP0], a
|
||||
ldh [rOBP0], a
|
||||
ld a, $a4
|
||||
ld [rOBP1], a
|
||||
ldh [rOBP1], a
|
||||
ld de, AnimationTileset2 + $30 ; star tile (top left quadrant)
|
||||
ld hl, vChars1 + $200
|
||||
lb bc, BANK(AnimationTileset2), $01
|
||||
|
|
@ -201,9 +201,9 @@ MoveDownSmallStars:
|
|||
jr nz, .innerLoop
|
||||
; Toggle the palette so that the lower star in the small stars tile blinks in
|
||||
; and out.
|
||||
ld a, [rOBP1]
|
||||
ldh a, [rOBP1]
|
||||
xor %10100000
|
||||
ld [rOBP1], a
|
||||
ldh [rOBP1], a
|
||||
|
||||
ld c, 3
|
||||
call CheckForUserInterruption
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue