mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Use HIGH() and LOW()
This commit is contained in:
parent
bbc257476f
commit
45ed05decf
22 changed files with 89 additions and 87 deletions
|
|
@ -182,9 +182,9 @@ SafariZoneGate_TextPointers:
|
|||
call PrintText
|
||||
ld a, 30
|
||||
ld [wNumSafariBalls], a
|
||||
ld a, 502 / $100
|
||||
ld a, HIGH(502)
|
||||
ld [wSafariSteps], a
|
||||
ld a, 502 % $100
|
||||
ld a, LOW(502)
|
||||
ld [wSafariSteps + 1], a
|
||||
ld a, D_UP
|
||||
ld c, 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue