summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-06-29 21:48:53 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-06-29 21:48:53 -0400
commiteb9df8bc6699093ef8f3c9ccb985bec9809910c7 (patch)
tree38d1f823238f673b7b5986978e95afd988a18138 /src
parent1bb72454b44307b772660e54318598f0cea274cc (diff)
sub_8136EF0
Diffstat (limited to 'src')
-rwxr-xr-xsrc/use_pokeblock.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/use_pokeblock.c b/src/use_pokeblock.c
index c4b0d4e2e..e21984180 100755
--- a/src/use_pokeblock.c
+++ b/src/use_pokeblock.c
@@ -783,3 +783,17 @@ void sub_8136E40(struct Pokeblock *pokeblock, struct Pokemon *pokemon)
SetMonData(pokemon, MON_DATA_SHEEN, &data);
}
}
+
+void sub_8136EF0(void)
+{
+ u16 i;
+ struct Pokemon *pokemon = gPlayerParty;
+ pokemon += gUnknown_083DFEC4->unk893c[gUnknown_083DFEC4->unk87DC].partyIdx;
+ sub_8136E10(pokemon, gUnknown_02039304->unk57);
+ sub_8136E40(gUnknown_02039304->pokeblock, pokemon);
+ sub_8136E10(pokemon, gUnknown_02039304->unk5c);
+ for (i=0; i<5; i++)
+ {
+ gUnknown_02039304->unk61[i] = gUnknown_02039304->unk5c[i] - gUnknown_02039304->unk57[i];
+ }
+}