Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Expands on http://pastebin.com/GgZQ9vxu
- let x = atkDV * 16 + dfnDV
- let y = spdDV * 16 + spcDV
- //Then for grass with encounter rate 25 (i.e. Nidorans):
- floor(13 + 3/2 * y) <= x <= floor(26 + 3/2 * y)
- or
- floor(141 + 3/2 * y) <= x <= floor(154 + 3/2 * y)
- //Extra comparisons to complete possibilities
- or
- floor(13 + 3/2 * y) <= x+256 <= floor(26 + 3/2 * y)
- or
- floor(141 + 3/2 * y) <= x+256 <= floor(154 + 3/2 * y)
- or
- floor(141 + 3/2 * y) <= x+512 <= floor(154 + 3/2 * y)
- Full list:
- http://pastebin.com/iBT64Pkq
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement