summaryrefslogtreecommitdiff
path: root/engine/radio.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-07-23 03:41:52 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2015-07-23 03:51:15 -0400
commit185b0a1c86e442d9c3ecd38d7c3fc7cfdb24be21 (patch)
tree0a7b16d82178d2d99f41bbb0be80ba7e9ab84f23 /engine/radio.asm
parent4c480a23dc2f81323b48670612cb23516a544e86 (diff)
Wild Pokemon functions and data
Replaced encounter rates with percent values Added new constants denoting the number of wild Pokemon in the grass and water wild constructs Annotated and relabeled the encounter generating functions Renamed a WRAM address associaed with the temporary storage of the wild Pokemon's species Moved spawn constants to constants/map_constants.asm for use anywhere in the disassembly
Diffstat (limited to 'engine/radio.asm')
-rw-r--r--engine/radio.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/radio.asm b/engine/radio.asm
index 74d0383e7..737b626b6 100644
--- a/engine/radio.asm
+++ b/engine/radio.asm
@@ -218,16 +218,16 @@ endr
ld c, [hl]
push bc
- ld hl, WildMons1
+ ld hl, JohtoGrassWildMons
.greater_than_10
- ld a, BANK(WildMons1)
+ ld a, BANK(JohtoGrassWildMons)
call GetFarByte
cp -1
jr z, .done2
inc hl
cp b
jr nz, .next
- ld a, BANK(WildMons1)
+ ld a, BANK(JohtoGrassWildMons)
call GetFarByte
cp c
jr z, .done
@@ -263,7 +263,7 @@ rept 2
add hl, de
endr
inc hl
- ld a, BANK(WildMons1)
+ ld a, BANK(JohtoGrassWildMons)
call GetFarByte
ld [wd265], a
ld [CurPartySpecies], a