diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-09 00:50:59 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-09 02:15:46 -0500 |
commit | 512863989fb2cb17bcca2f27a61fe3fa8f567b9a (patch) | |
tree | 84ab5a58da5e42fa32bc5eb2779d6a47c54ce71e /engine/radio.asm | |
parent | 89b9292db0898f8ad2b6ea8513a3190762eb58c8 (diff) |
Document constants with comments, actual names, and more thorough usage
Diffstat (limited to 'engine/radio.asm')
-rw-r--r-- | engine/radio.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/radio.asm b/engine/radio.asm index 99408af48..8760956b2 100644 --- a/engine/radio.asm +++ b/engine/radio.asm @@ -234,7 +234,7 @@ OaksPkmnTalk4: jr z, .done .next dec hl - ld de, WILDMON_GRASS_STRUCTURE_LENGTH + ld de, GRASS_WILDDATA_LENGTH add hl, de jr .loop @@ -249,12 +249,12 @@ endr cp 3 jr z, .loop2 - ld bc, 2 * NUM_WILDMONS_PER_AREA_TIME_OF_DAY + ld bc, 2 * NUM_GRASSMON call AddNTimes .loop3 ; Choose one of the middle three Pokemon. call Random - and NUM_WILDMONS_PER_AREA_TIME_OF_DAY + and NUM_GRASSMON cp 2 jr c, .loop3 cp 5 |