You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Replace $0 with 0 for "ld l, a / ld h, 0" idiom
This commit is contained in:
@@ -176,7 +176,7 @@ Kurt_GetQuantityOfApricorn:
|
||||
ld hl, wNumItems
|
||||
ld a, [wCurItem]
|
||||
ld c, a
|
||||
ld b, $0
|
||||
ld b, 0
|
||||
.loop
|
||||
inc hl
|
||||
ld a, [hli]
|
||||
@@ -344,7 +344,7 @@ Kurt_GetAddressOfApricornQuantity:
|
||||
ld hl, wNumItems
|
||||
inc hl
|
||||
ld c, a
|
||||
ld b, $0
|
||||
ld b, 0
|
||||
add hl, bc
|
||||
add hl, bc
|
||||
inc hl
|
||||
@@ -358,7 +358,7 @@ Kurt_GetRidOfItem:
|
||||
ld hl, wNumItems
|
||||
ld a, [wCurItemQuantity]
|
||||
ld c, a
|
||||
ld b, $0
|
||||
ld b, 0
|
||||
inc hl
|
||||
add hl, bc
|
||||
add hl, bc
|
||||
|
@@ -147,7 +147,7 @@ PlaceMapNameCenterAlign:
|
||||
ld a, SCREEN_WIDTH
|
||||
sub c
|
||||
srl a
|
||||
ld b, $0
|
||||
ld b, 0
|
||||
ld c, a
|
||||
hlcoord 0, 2
|
||||
add hl, bc
|
||||
|
Reference in New Issue
Block a user