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
|
|
@ -23,9 +23,9 @@ InitPlayerData2:
|
|||
|
||||
START_MONEY EQU $3000
|
||||
ld hl, wPlayerMoney + 1
|
||||
ld a, START_MONEY / $100
|
||||
ld a, HIGH(START_MONEY)
|
||||
ld [hld], a
|
||||
xor a
|
||||
xor a ; LOW(START_MONEY)
|
||||
ld [hli], a
|
||||
inc hl
|
||||
ld [hl], a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue