mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-11-16 10:06:40 +13:00
remove self-evident comments
hg-commit-id: 38354cd9469d
This commit is contained in:
parent
459a7c8ad0
commit
7b7267e5c1
|
|
@ -185,7 +185,7 @@ INCBIN "baserom.gbc",$C000,$EB8
|
||||||
|
|
||||||
LoadWildData: ; 4EB8
|
LoadWildData: ; 4EB8
|
||||||
ld hl,WildDataPointers
|
ld hl,WildDataPointers
|
||||||
ld a,[W_CURMAP] ; current map number
|
ld a,[W_CURMAP]
|
||||||
|
|
||||||
; get wild data for current map
|
; get wild data for current map
|
||||||
ld c,a
|
ld c,a
|
||||||
|
|
@ -196,7 +196,7 @@ LoadWildData: ; 4EB8
|
||||||
ld h,[hl]
|
ld h,[hl]
|
||||||
ld l,a ; hl now points to wild data for current map
|
ld l,a ; hl now points to wild data for current map
|
||||||
ld a,[hli]
|
ld a,[hli]
|
||||||
ld [W_GRASSRATE],a ; grass encounter rate
|
ld [W_GRASSRATE],a
|
||||||
and a
|
and a
|
||||||
jr z,.NoGrassData\@ ; if no grass data, skip to surfing data
|
jr z,.NoGrassData\@ ; if no grass data, skip to surfing data
|
||||||
push hl
|
push hl
|
||||||
|
|
@ -208,7 +208,7 @@ LoadWildData: ; 4EB8
|
||||||
add hl,bc
|
add hl,bc
|
||||||
.NoGrassData\@
|
.NoGrassData\@
|
||||||
ld a,[hli]
|
ld a,[hli]
|
||||||
ld [W_WATERRATE],a ; surfing encounter rate
|
ld [W_WATERRATE],a
|
||||||
and a
|
and a
|
||||||
ret z ; if no water data, we're done
|
ret z ; if no water data, we're done
|
||||||
ld de,W_WATERMONS ; otherwise, load surfing data
|
ld de,W_WATERMONS ; otherwise, load surfing data
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue