summaryrefslogtreecommitdiff
path: root/engine/map_setup.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/map_setup.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/map_setup.asm')
-rw-r--r--engine/map_setup.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/map_setup.asm b/engine/map_setup.asm
index baa45e636..0e20c2cb5 100644
--- a/engine/map_setup.asm
+++ b/engine/map_setup.asm
@@ -439,7 +439,7 @@ Function1551a: ; 1551a (5:551a)
ret
Function1554e: ; 1554e (5:554e)
- call Function1852
+ call CheckOnWater
jr nz, .ret_nc
ld a, [PlayerState]
cp PLAYER_SURF