diff options
author | U-User-PC\User <golemgalvanize@github.com> | 2017-08-30 16:36:47 -0400 |
---|---|---|
committer | U-User-PC\User <golemgalvanize@github.com> | 2017-08-30 16:36:47 -0400 |
commit | 2d141bc612ffecc984f6b4238c2791ba8419a192 (patch) | |
tree | 04800ef37ba17134a216c3e679a1d0bb046f0bf8 /src/wild_encounter.c | |
parent | e1f2f7d5daee0fead0b8aed8413977e7cad990eb (diff) | |
parent | d7a6ff0e4dab0c96ac49975a0695014bff2b9654 (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]; } } |