mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-04-26 00:32:20 -05:00
30 lines
564 B
C
30 lines
564 B
C
#include "unk_0205001C.h"
|
|
|
|
#include <nitro.h>
|
|
#include <string.h>
|
|
|
|
#include "struct_defs/struct_0204FCF8.h"
|
|
|
|
#include "communication_system.h"
|
|
|
|
void sub_0205001C(int param0, int param1, void *param2, void *param3);
|
|
|
|
void sub_0205001C(int param0, int param1, void *param2, void *param3)
|
|
{
|
|
int v0, v1;
|
|
UnkStruct_0204FCF8 *v2 = param3;
|
|
const UnkStruct_0204FCF8 *v3 = param2;
|
|
|
|
v1 = 0;
|
|
v2->unk_01++;
|
|
|
|
if (CommSys_CurNetId() == param0) {
|
|
return;
|
|
}
|
|
|
|
v2->unk_08[0] = v3->unk_04[0];
|
|
v2->unk_08[1] = v3->unk_04[1];
|
|
|
|
return;
|
|
}
|