summaryrefslogtreecommitdiff
path: root/src/berry_crush.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-08-24 14:52:33 -0400
committerGriffinR <griffin.g.richards@gmail.com>2020-08-24 17:06:55 -0400
commit22c1bf965a7e25dfdc1d577a5e9f15098beeef25 (patch)
tree11bf960d64ca29b0a478dd196f3a2cb7d4bb8951 /src/berry_crush.c
parent0ff767a9b5d6ece4547ab01a85d01012f7cf6800 (diff)
Finish documenting berry blender
Diffstat (limited to 'src/berry_crush.c')
-rwxr-xr-xsrc/berry_crush.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/berry_crush.c b/src/berry_crush.c
index 3a1310e68..71ab5b719 100755
--- a/src/berry_crush.c
+++ b/src/berry_crush.c
@@ -2357,7 +2357,7 @@ void sub_802339C(struct BerryCrushGame *r4)
for (r7 = 0; r7 < r4->unk9; ++r7)
{
r2 = gRecvCmds[r7];
- if ((r2[0] & 0xFF00) == 0x2F00
+ if ((r2[0] & 0xFF00) == RFUCMD_SEND_PACKET
&& r2[1] == 2)
{
if ((u8)r2[2] & 4)
@@ -2559,7 +2559,7 @@ void sub_80236B8(struct BerryCrushGame *r5)
r5->unk5C.unk02_1 = r5->unk25_4;
r5->unk5C.unk0A = r5->unk25_5;
memcpy(r5->unk40.unk2, &r5->unk5C, sizeof(r5->unk40.unk2));
- sub_800FE50(r5->unk40.unk2);
+ Rfu_SendPacket(r5->unk40.unk2);
}
void sub_802385C(struct BerryCrushGame *r5)
@@ -2580,7 +2580,7 @@ void sub_802385C(struct BerryCrushGame *r5)
for (r4 = 0; r4 < r5->unk9; ++r4)
r5->unk68.as_four_players.others[r4].unk4.as_2d_bytes[1][5] = 0;
#endif
- if ((gRecvCmds[0][0] & 0xFF00) != 0x2F00
+ if ((gRecvCmds[0][0] & 0xFF00) != RFUCMD_SEND_PACKET
|| gRecvCmds[0][1] != 2)
{
r5->unk25_2 = 0;