ref: 7b7267e5c144677a1a3f493632d0e239b9475b6e
parent: 459a7c8ad0547ebfb44061d7b4acd0521a83d5e0
author: IIMarckus <mail@iimarck.us>
date: Thu Mar 18 20:16:02 EDT 2010
remove self-evident comments hg-commit-id: 38354cd9469d
--- a/pokered.asm
+++ b/pokered.asm
@@ -185,7 +185,7 @@
LoadWildData: ; 4EB8
ld hl,WildDataPointers
- ld a,[W_CURMAP] ; current map number
+ ld a,[W_CURMAP]
; get wild data for current map
ld c,a
@@ -196,7 +196,7 @@
ld h,[hl]
ld l,a ; hl now points to wild data for current map
ld a,[hli]
- ld [W_GRASSRATE],a ; grass encounter rate
+ ld [W_GRASSRATE],a
and a
jr z,.NoGrassData\@ ; if no grass data, skip to surfing data
push hl
@@ -208,7 +208,7 @@
add hl,bc
.NoGrassData\@
ld a,[hli]
- ld [W_WATERRATE],a ; surfing encounter rate
+ ld [W_WATERRATE],a
and a
ret z ; if no water data, we're done
ld de,W_WATERMONS ; otherwise, load surfing data