diff options
author | camthesaxman <cameronghall@cox.net> | 2017-08-25 22:13:55 -0500 |
---|---|---|
committer | camthesaxman <cameronghall@cox.net> | 2017-08-25 22:13:55 -0500 |
commit | b40b8dd1bbeb196231ca24a16553bd75490edce5 (patch) | |
tree | 49e1fd92499e77a2d74af6885c1c7ec4a83a2cdb /src/wild_encounter.c | |
parent | 406ced34a1db5a700a542eb2b7a629b0e31c992d (diff) | |
parent | 4df36cd814d6bf045d56bc4c30b611838333b705 (diff) |
Merge branch 'master' of https://github.com/pret/pokeruby
Diffstat (limited to 'src/wild_encounter.c')
-rw-r--r-- | src/wild_encounter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wild_encounter.c b/src/wild_encounter.c index 96f47c067..7001c2eaa 100644 --- a/src/wild_encounter.c +++ b/src/wild_encounter.c @@ -3161,7 +3161,7 @@ static u8 PickWildMonNature(void) } for (i = 0; i < 25; i++) { - if (sub_810CAE4(natures[i], safariPokeblock) > 0) + if (PokeblockGetGain(natures[i], safariPokeblock) > 0) return natures[i]; } } |