diff options
author | scnorton <scnorton@biociphers.org> | 2017-08-30 09:24:57 -0400 |
---|---|---|
committer | scnorton <scnorton@biociphers.org> | 2017-08-30 09:24:57 -0400 |
commit | b9cf26cd89505d5340343adeb41312012714fd0a (patch) | |
tree | d500fc84c7db1842428fe4b9042897988a8306b5 /src | |
parent | 2286c4306f67a091e48eac724536e7853117f0e0 (diff) |
sub_80418F0
Diffstat (limited to 'src')
-rw-r--r-- | src/daycare.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/daycare.c b/src/daycare.c index dc1300182..3fc1ecd99 100644 --- a/src/daycare.c +++ b/src/daycare.c @@ -9,6 +9,7 @@ #include "mail_data.h" #include "name_string_util.h" #include "pokemon_storage_system.h" +#include "rng.h" extern u8 gLastFieldPokeMenuOpened; @@ -288,3 +289,9 @@ u16 sub_8041870(u16 species) } return species; } + +void sub_80418F0(struct DayCareData *dayCareData) +{ + dayCareData->unk_118 = (Random() % 0xfffe) + 1; + FlagSet(0x86); +} |