diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2017-06-29 22:22:56 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2017-06-29 22:22:56 -0400 |
commit | 13cf6452be1059c046027348d8902fe2508c0e6b (patch) | |
tree | e8aaab1141401595b6d1211638bc53eefc86b779 /src | |
parent | 05c997bd75ce375425f1941c86b7643973e41e3f (diff) |
Through sub_8137124
Diffstat (limited to 'src')
-rwxr-xr-x | src/use_pokeblock.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/use_pokeblock.c b/src/use_pokeblock.c index b29cb7454..c21e3719a 100755 --- a/src/use_pokeblock.c +++ b/src/use_pokeblock.c @@ -852,3 +852,22 @@ u8 sub_81370A4(u8 a0) } return 0; } + +u8 sub_81370E4(u8 a0) +{ + u8 ct; + u8 i; + for (i=0, ct=0; i<a0; i++) + { + if (GetMonData(&gPlayerParty[i], MON_DATA_IS_EGG)) + { + ct++; + } + } + return a0 - ct; +} + +u8 sub_8137124(u8 a0) +{ + return sub_81370A4(a0); +} |