diff options
author | Cameron Hall <camthesaxman@users.noreply.github.com> | 2017-08-22 10:12:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-22 10:12:27 -0500 |
commit | 20594938e275bd3d6ec6f38b42400eaac79fa86e (patch) | |
tree | 148e3965d6045aaaa89915305b68e8a892f4adbf /src/link.c | |
parent | 2e37f5e0cf4cd08f5983d1818c416ea45e8ab1dc (diff) | |
parent | 13f917d4ffeff59ad13ea80fa8dbc994e4b687c0 (diff) |
Merge pull request #404 from DizzyEggg/decompile_berry_blender
Decompile berry blender
Diffstat (limited to 'src/link.c')
-rw-r--r-- | src/link.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/link.c b/src/link.c index 5858ad8bf..850201ccb 100644 --- a/src/link.c +++ b/src/link.c @@ -2,7 +2,6 @@ #include "link.h" #include "battle.h" #include "berry.h" -#include "berry_blender.h" #include "hall_of_fame.h" #include "item_use.h" #include "main.h" @@ -42,6 +41,8 @@ extern u16 gBattleTypeFlags; extern u16 word_3004858; +extern void Blender_SetBankBerryData(u8 bank, u16 itemID); + static void InitLinkTestBG(u8, u8, u8, u8); void InitLinkTestBG_Unused(u8, u8, u8, u8); void LinkTestScreen(); @@ -556,7 +557,7 @@ static void ProcessRecvCmds(u8 unusedParam) sub_8007E24(); break; case 0xAAAB: - sub_80516C4(i, gRecvCmds[1][i]); + Blender_SetBankBerryData(i, gRecvCmds[1][i]); break; case 0xCCCC: #if defined(ENGLISH) |