2017-11-11 04:08:17 +01:00
|
|
|
#ifndef GUARD_LINK_RFU_H
|
|
|
|
#define GUARD_LINK_RFU_H
|
|
|
|
|
2018-12-02 11:58:50 +01:00
|
|
|
#include "librfu.h"
|
2018-12-13 04:55:39 +01:00
|
|
|
#include "link.h"
|
2020-02-16 19:49:36 +01:00
|
|
|
#include "AgbRfu_LinkManager.h"
|
2018-12-02 11:58:50 +01:00
|
|
|
|
2017-11-11 04:08:17 +01:00
|
|
|
// Exported type declarations
|
|
|
|
|
2020-02-16 19:49:36 +01:00
|
|
|
// RfuTgtData.gname is read as these structs.
|
|
|
|
struct GFtgtGnameSub
|
2020-01-15 21:46:17 +01:00
|
|
|
{
|
2020-02-16 19:49:36 +01:00
|
|
|
u16 language:4;
|
|
|
|
u16 hasNews:1;
|
|
|
|
u16 hasCard:1;
|
2020-01-15 21:46:17 +01:00
|
|
|
u16 unk_00_6:1;
|
|
|
|
u16 isChampion:1;
|
|
|
|
u16 hasNationalDex:1;
|
2020-02-16 19:49:36 +01:00
|
|
|
u16 gameClear:1;
|
|
|
|
u16 version:4;
|
2020-01-15 21:46:17 +01:00
|
|
|
u16 unk_01_6:2;
|
|
|
|
u8 playerTrainerId[2];
|
|
|
|
};
|
|
|
|
|
2020-02-16 19:49:36 +01:00
|
|
|
struct __attribute__((packed, aligned(2))) GFtgtGname
|
2020-01-15 21:46:17 +01:00
|
|
|
{
|
2020-02-16 19:49:36 +01:00
|
|
|
struct GFtgtGnameSub unk_00;
|
|
|
|
u8 child_sprite_gender[RFU_CHILD_MAX]; // u8 sprite_idx:3;
|
|
|
|
// u8 gender:1;
|
|
|
|
// u8 unk_4:3
|
|
|
|
// u8 active:1
|
2020-01-15 21:46:17 +01:00
|
|
|
u16 species:10;
|
|
|
|
u16 type:6;
|
2020-02-16 19:49:36 +01:00
|
|
|
u8 activity:7;
|
|
|
|
u8 started:1;
|
2020-01-15 21:46:17 +01:00
|
|
|
u8 playerGender:1;
|
|
|
|
u8 level:7;
|
2020-02-16 19:49:36 +01:00
|
|
|
u8 padding;
|
|
|
|
}; // size: RFU_GNAME_SIZE
|
2020-01-15 21:46:17 +01:00
|
|
|
|
2017-11-17 14:44:54 +01:00
|
|
|
struct UnkLinkRfuStruct_02022B2C
|
|
|
|
{
|
2017-11-19 22:54:49 +01:00
|
|
|
u8 unk_00;
|
|
|
|
u8 unk_01;
|
|
|
|
u16 unk_02;
|
|
|
|
u8 unk_04;
|
|
|
|
u16 unk_06;
|
2020-02-16 19:49:36 +01:00
|
|
|
struct GFtgtGname *unk_08;
|
2017-12-06 05:54:31 +01:00
|
|
|
u8 *unk_0c;
|
2017-11-17 14:44:54 +01:00
|
|
|
u8 unk_10;
|
|
|
|
u8 unk_11;
|
|
|
|
u16 unk_12;
|
|
|
|
u16 unk_14;
|
|
|
|
};
|
|
|
|
|
2017-12-07 06:28:12 +01:00
|
|
|
struct UnkLinkRfuStruct_02022B44
|
|
|
|
{
|
2017-12-08 02:21:30 +01:00
|
|
|
u8 fill_00[6];
|
|
|
|
u16 unk_06;
|
2018-01-18 14:46:17 +01:00
|
|
|
u8 fill_08[6];
|
|
|
|
vu8 unk_0e;
|
2017-12-07 06:28:12 +01:00
|
|
|
u8 unk_0f;
|
2018-01-20 17:53:35 +01:00
|
|
|
u8 fill_10[0x54];
|
|
|
|
u16 unk_64;
|
|
|
|
u8 fill_66[0x1d];
|
|
|
|
u8 unk_83;
|
|
|
|
u8 fill_84[0x58];
|
2017-12-07 06:28:12 +01:00
|
|
|
};
|
|
|
|
|
2018-12-01 18:54:59 +01:00
|
|
|
struct UnkRfuStruct_2_Sub_6c
|
|
|
|
{
|
2017-12-05 01:51:26 +01:00
|
|
|
/* 0x00 */ u16 unk_00;
|
|
|
|
/* 0x02 */ u16 unk_02;
|
2018-01-20 17:53:35 +01:00
|
|
|
/* 0x04 */ const u8 *unk_04;
|
2017-12-05 01:51:26 +01:00
|
|
|
/* 0x08 */ u32 unk_08;
|
2018-01-19 01:23:12 +01:00
|
|
|
/* 0x0c */ u32 unk_0c;
|
2017-12-05 01:51:26 +01:00
|
|
|
/* 0x10 */ u8 unk_10;
|
|
|
|
/* 0x11 */ u8 unk_11;
|
|
|
|
/* 0x12 */ u8 unk_12;
|
|
|
|
};
|
|
|
|
|
2018-12-01 18:54:59 +01:00
|
|
|
struct UnkRfuStruct_2_Sub_124
|
|
|
|
{
|
2017-12-01 04:56:56 +01:00
|
|
|
/* 0x000 */ u8 unk_00[32][70];
|
|
|
|
/* 0x8c0 */ vu8 unk_8c0;
|
|
|
|
/* 0x8c1 */ vu8 unk_8c1;
|
|
|
|
/* 0x8c2 */ vu8 unk_8c2;
|
|
|
|
/* 0x8c3 */ vu8 unk_8c3;
|
|
|
|
};
|
|
|
|
|
2018-12-01 18:54:59 +01:00
|
|
|
struct UnkRfuStruct_2_Sub_9e8
|
|
|
|
{
|
2017-12-01 04:56:56 +01:00
|
|
|
/* 0x000 */ u8 unk_00[40][14];
|
|
|
|
/* 0x230 */ vu8 unk_230;
|
|
|
|
/* 0x231 */ vu8 unk_231;
|
|
|
|
/* 0x232 */ vu8 unk_232;
|
|
|
|
/* 0x233 */ vu8 unk_233;
|
|
|
|
};
|
|
|
|
|
2018-12-01 18:54:59 +01:00
|
|
|
struct UnkRfuStruct_2_Sub_c1c
|
|
|
|
{
|
2017-12-02 03:51:06 +01:00
|
|
|
/* 0x00 */ u8 unk_00[2][14];
|
|
|
|
/* 0x1c */ vu8 unk_1c;
|
|
|
|
/* 0x1d */ vu8 unk_1d;
|
|
|
|
/* 0x1e */ vu8 unk_1e;
|
|
|
|
};
|
|
|
|
|
2018-12-01 18:54:59 +01:00
|
|
|
struct UnkRfuStruct_Sub_Unused
|
|
|
|
{
|
2017-12-01 04:56:56 +01:00
|
|
|
/* 0x000 */ u8 unk_00[2][256];
|
|
|
|
/* 0x200 */ vu8 unk_200;
|
|
|
|
/* 0x201 */ vu8 unk_201;
|
|
|
|
/* 0x202 */ vu8 unk_202;
|
|
|
|
/* 0x203 */ vu8 unk_203;
|
|
|
|
};
|
|
|
|
|
2018-12-01 18:54:59 +01:00
|
|
|
struct UnkRfuStruct_2
|
|
|
|
{
|
2019-10-05 16:41:37 +02:00
|
|
|
/* 0x000 */ void (*linkRfuCallback)(void);
|
2017-12-05 03:05:41 +01:00
|
|
|
/* 0x004 */ u16 unk_04;
|
2018-01-21 00:43:58 +01:00
|
|
|
/* 0x006 */ u8 filler_06[4];
|
|
|
|
/* 0x00a */ u16 unk_0a;
|
2017-12-05 01:51:26 +01:00
|
|
|
/* 0x00c */ u8 unk_0c;
|
2017-11-19 06:02:15 +01:00
|
|
|
/* 0x00d */ u8 playerCount;
|
2017-12-16 18:07:20 +01:00
|
|
|
/* 0x00e */ u8 unk_0e;
|
2018-01-21 00:43:58 +01:00
|
|
|
/* 0x00f */ u8 unk_0f;
|
|
|
|
/* 0x010 */ u16 unk_10;
|
|
|
|
/* 0x012 */ u16 unk_12;
|
2017-12-07 14:48:49 +01:00
|
|
|
/* 0x014 */ u8 unk_14[4][14];
|
2017-12-08 14:24:54 +01:00
|
|
|
/* 0x04c */ u8 unk_4c[14];
|
2018-01-20 16:16:09 +01:00
|
|
|
/* 0x05a */ u8 unk_5a;
|
|
|
|
/* 0x05b */ u8 unk_5b;
|
2018-01-20 01:13:45 +01:00
|
|
|
/* 0x05c */ u8 unk_5c[5];
|
|
|
|
/* 0x061 */ u8 unk_61[5];
|
|
|
|
/* 0x066 */ u8 unk_66;
|
2017-12-08 14:24:54 +01:00
|
|
|
/* 0x067 */ u8 unk_67;
|
2017-12-07 06:28:12 +01:00
|
|
|
/* 0x068 */ u8 filler_68[4];
|
2017-12-05 01:51:26 +01:00
|
|
|
/* 0x06c */ struct UnkRfuStruct_2_Sub_6c unk_6c;
|
|
|
|
/* 0x080 */ struct UnkRfuStruct_2_Sub_6c unk_80[5];
|
2018-01-20 03:50:30 +01:00
|
|
|
/* 0x0e4 */ u8 unk_e4[5];
|
|
|
|
/* 0x0e9 */ u8 unk_e9[5];
|
2017-12-05 01:51:26 +01:00
|
|
|
/* 0x0ee */ vu8 unk_ee;
|
2018-01-20 18:00:56 +01:00
|
|
|
/* 0x0ef */ u8 unk_ef;
|
2018-01-20 20:59:34 +01:00
|
|
|
/* 0x0f0 */ u8 unk_f0;
|
|
|
|
/* 0x0f1 */ u8 unk_f1;
|
2018-01-20 16:16:09 +01:00
|
|
|
/* 0x0f2 */ u16 unk_f2[6];
|
2018-01-20 20:59:34 +01:00
|
|
|
/* 0x0fe */ u16 unk_fe;
|
2018-01-20 03:50:30 +01:00
|
|
|
/* 0x100 */ u16 unk_100;
|
2018-01-18 19:18:24 +01:00
|
|
|
/* 0x102 */ u8 unk_102;
|
2018-12-01 18:54:59 +01:00
|
|
|
/* 0x103 */ u8 filler_103[0x10A - 0x103];
|
2020-02-16 19:49:36 +01:00
|
|
|
/* 0x10A */ struct GFtgtGname unk_10A;
|
2018-12-02 11:58:50 +01:00
|
|
|
u8 filler_;
|
|
|
|
u8 playerName[PLAYER_NAME_LENGTH + 1];
|
2017-12-01 04:56:56 +01:00
|
|
|
/* 0x124 */ struct UnkRfuStruct_2_Sub_124 unk_124;
|
|
|
|
/* 0x9e8 */ struct UnkRfuStruct_2_Sub_9e8 unk_9e8;
|
2017-12-02 03:51:06 +01:00
|
|
|
/* 0xc1c */ struct UnkRfuStruct_2_Sub_c1c unk_c1c;
|
2017-12-10 16:31:11 +01:00
|
|
|
/* 0xc3c */ vu8 unk_c3c;
|
2017-12-10 16:23:43 +01:00
|
|
|
/* 0xc3d */ u8 unk_c3d;
|
2017-12-07 06:28:12 +01:00
|
|
|
/* 0xc3e */ vu8 unk_c3e;
|
2017-12-07 14:48:49 +01:00
|
|
|
/* 0xc3f */ u8 unk_c3f[70];
|
2018-01-20 21:50:45 +01:00
|
|
|
/* 0xc85 */ u8 unk_c85;
|
|
|
|
/* 0xc86 */ u8 unk_c86;
|
2017-12-10 16:23:43 +01:00
|
|
|
/* 0xc87 */ u8 unk_c87[5][7][2];
|
|
|
|
/* 0xccd */ u8 unk_ccd;
|
2018-01-20 03:50:30 +01:00
|
|
|
/* 0xcce */ u8 unk_cce;
|
|
|
|
/* 0xccf */ u8 unk_ccf;
|
2017-12-08 02:21:30 +01:00
|
|
|
/* 0xcd0 */ vu8 unk_cd0;
|
2018-01-20 21:50:45 +01:00
|
|
|
/* 0xcd1 */ u8 unk_cd1[4];
|
|
|
|
/* 0xcd5 */ u8 unk_cd5[4];
|
2018-01-18 14:46:17 +01:00
|
|
|
/* 0xcd9 */ u8 unk_cd9;
|
2017-12-08 02:21:30 +01:00
|
|
|
/* 0xcda */ u8 unk_cda;
|
2017-12-05 03:05:41 +01:00
|
|
|
/* 0xcdb */ vu8 unk_cdb;
|
2017-12-16 18:07:20 +01:00
|
|
|
/* 0xcdc */ vu8 unk_cdc;
|
|
|
|
/* 0xcdd */ u8 unk_cdd;
|
2017-12-07 05:55:40 +01:00
|
|
|
/* 0xcde */ u8 unk_cde[4];
|
2017-12-07 14:48:49 +01:00
|
|
|
/* 0xce2 */ u8 unk_ce2;
|
|
|
|
/* 0xce2 */ u8 unk_ce3;
|
2017-12-07 06:28:12 +01:00
|
|
|
/* 0xce4 */ u8 unk_ce4;
|
2018-01-18 14:46:17 +01:00
|
|
|
/* 0xce5 */ u8 unk_ce5;
|
|
|
|
/* 0xce5 */ u8 unk_ce6;
|
2017-12-10 16:23:43 +01:00
|
|
|
/* 0xce7 */ u8 unk_ce7;
|
2017-12-08 02:04:07 +01:00
|
|
|
/* 0xce8 */ u8 unk_ce8;
|
2018-01-18 14:46:17 +01:00
|
|
|
/* 0xce9 */ u8 unk_ce9;
|
|
|
|
/* 0xcea */ u8 unk_cea[4];
|
|
|
|
/* 0xcee */ u8 unk_cee[4];
|
2017-12-05 01:51:26 +01:00
|
|
|
}; // size = 0xcf4
|
2017-11-17 05:37:09 +01:00
|
|
|
|
2018-12-02 11:58:50 +01:00
|
|
|
struct UnkRfuStruct_8010A14
|
|
|
|
{
|
2018-01-20 23:28:10 +01:00
|
|
|
char unk_00[15];
|
|
|
|
u8 unk_0f;
|
|
|
|
u8 unk_10[4];
|
2018-01-21 00:43:58 +01:00
|
|
|
struct LinkPlayer unk_14[5];
|
|
|
|
u8 fill_a0[0x5c];
|
2018-01-20 23:28:10 +01:00
|
|
|
};
|
|
|
|
|
2017-11-11 04:08:17 +01:00
|
|
|
// Exported RAM declarations
|
|
|
|
|
2020-02-16 20:34:58 +01:00
|
|
|
extern struct GFtgtGname gUnknown_02022B14;
|
|
|
|
extern u8 gUnknown_02022B22[];
|
2020-02-16 19:49:36 +01:00
|
|
|
extern struct UnkRfuStruct_2 Rfu;
|
2019-01-04 23:55:03 +01:00
|
|
|
extern u8 gWirelessStatusIndicatorSpriteId;
|
2017-11-17 05:37:09 +01:00
|
|
|
|
2017-11-11 04:08:17 +01:00
|
|
|
// Exported ROM declarations
|
2019-02-15 09:40:57 +01:00
|
|
|
void WipeTrainerNameRecords(void);
|
2017-11-11 04:08:17 +01:00
|
|
|
void sub_800E700(void);
|
2020-05-30 10:09:21 +02:00
|
|
|
void LinkRfu_Shutdown(void);
|
2017-11-11 04:34:23 +01:00
|
|
|
void sub_800F6FC(u8 who);
|
|
|
|
void sub_800F728(u8 who);
|
2019-02-10 09:54:50 +01:00
|
|
|
bool32 IsSendingKeysToRfu(void);
|
2017-11-11 04:08:17 +01:00
|
|
|
void sub_800F804(void);
|
|
|
|
void sub_800F850(void);
|
2017-11-11 04:34:23 +01:00
|
|
|
u8 sub_800FCD8(void);
|
2018-01-20 17:53:35 +01:00
|
|
|
bool32 sub_800FE84(const u8 *src, size_t size);
|
2019-10-05 16:41:37 +02:00
|
|
|
void ClearLinkRfuCallback(void);
|
2017-11-11 04:08:17 +01:00
|
|
|
u8 sub_80104F4(void);
|
|
|
|
u8 rfu_get_multiplayer_id(void);
|
|
|
|
bool8 sub_8010100(u8 a0);
|
2019-10-09 11:56:44 +02:00
|
|
|
bool8 IsLinkRfuTaskFinished(void);
|
2017-11-13 04:09:11 +01:00
|
|
|
bool8 Rfu_IsMaster(void);
|
|
|
|
void task_add_05_task_del_08FA224_when_no_RfuFunc(void);
|
2017-11-13 04:44:20 +01:00
|
|
|
void sub_8010434(void);
|
2017-11-13 05:16:51 +01:00
|
|
|
void sub_800E604(void);
|
2017-11-13 07:01:27 +01:00
|
|
|
void sub_800E174(void);
|
|
|
|
void sub_800E6D0(void);
|
|
|
|
bool32 sub_8010EC0(void);
|
|
|
|
bool32 sub_8010F1C(void);
|
2020-05-30 10:09:21 +02:00
|
|
|
bool32 RfuIsErrorStatus1or2(void);
|
2019-02-10 09:54:50 +01:00
|
|
|
bool32 IsRfuRecvQueueEmpty(void);
|
|
|
|
u32 GetRfuRecvQueueLength(void);
|
2017-11-14 14:44:32 +01:00
|
|
|
void RfuVSync(void);
|
2017-12-05 03:05:41 +01:00
|
|
|
void sub_80111B0(bool32 a0);
|
2020-05-30 10:09:21 +02:00
|
|
|
u8 RfuGetErrorStatus(void);
|
|
|
|
struct GFtgtGname *GetHostRFUtgtGname(void);
|
|
|
|
void UpdateGameData_GroupLockedIn(u8 a0);
|
2018-01-20 17:53:35 +01:00
|
|
|
void sub_8011170(u32 a0);
|
2020-05-30 10:09:21 +02:00
|
|
|
void RfuSetErrorStatus(u8 a0, u16 a1);
|
2018-05-20 10:51:09 +02:00
|
|
|
u8 sub_801048C(bool32 a0);
|
2020-05-30 10:09:21 +02:00
|
|
|
void LinkRfu3_SetGnameUnameFromStaticBuffers(struct GFtgtGname *buff1, u8 *buff2);
|
|
|
|
void SetHostRFUtgtGname(u8 a0, u32 a1, u32 a2);
|
|
|
|
void InitializeRfuLinkManager_LinkLeader(u32 a0);
|
2018-06-03 09:37:01 +02:00
|
|
|
bool32 sub_8012240(void);
|
2020-05-30 10:09:21 +02:00
|
|
|
void LinkRfu_StopManagerAndFinalizeSlots(void);
|
2018-06-03 09:37:01 +02:00
|
|
|
bool32 sub_80105EC(void);
|
2020-05-30 10:09:21 +02:00
|
|
|
bool32 TrainerIdAndNameStillInPartnersList(u16 a0, const u8 *a1);
|
|
|
|
void SendByteToPartnerByIdAndName(u8 a0, u16 a1, const u8 *a2);
|
|
|
|
u32 WaitSendByteToPartnerByIdAndName(u16 a0, const u8 *a1);
|
|
|
|
void RequestDisconnectSlotByTrainerNameAndId(const u8 *a0, u16 a1);
|
|
|
|
bool8 LmanAcceptSlotFlagIsNotZero(void);
|
|
|
|
bool32 WaitRfuState(bool32 a0);
|
2019-04-01 00:59:52 +02:00
|
|
|
void DestroyWirelessStatusIndicatorSprite(void);
|
2018-06-03 09:37:01 +02:00
|
|
|
void sub_801103C(void);
|
2020-05-30 10:09:21 +02:00
|
|
|
void InitializeRfuLinkManager_JoinGroup(void);
|
|
|
|
void LinkRfuNIsend8(void);
|
2019-02-15 09:40:57 +01:00
|
|
|
void RecordMixTrainerNames(void);
|
2020-05-30 10:09:21 +02:00
|
|
|
void LinkRfu_CreateConnectionAsParent(void);
|
|
|
|
void LinkRfu_StopManagerBeforeEnteringChat(void);
|
|
|
|
void UpdateGameDataWithActivitySpriteGendersFlag(u8 a0, u32 a1, u32 a2);
|
|
|
|
void CreateTask_RfuReconnectWithParent(const u8 *src, u16 trainerId);
|
|
|
|
void SetGnameBufferWonderFlags(bool32 a0, bool32 a1);
|
|
|
|
void ClearAndInitHostRFUtgtGname(void);
|
2018-06-09 22:14:52 +02:00
|
|
|
void sub_8010FCC(u32 a0, u32 a1, u32 a2);
|
2020-05-30 10:09:21 +02:00
|
|
|
void InitializeRfuLinkManager_EnterUnionRoom(void);
|
2020-02-16 19:49:36 +01:00
|
|
|
void sub_8012188(const u8 *name, struct GFtgtGname *structPtr, u8 a2);
|
2020-05-30 10:09:21 +02:00
|
|
|
bool32 IsUnionRoomListenTaskActive(void);
|
2019-08-01 19:01:50 +02:00
|
|
|
void sub_800FE50(void *a0);
|
2020-05-30 10:09:21 +02:00
|
|
|
bool32 PlayerHasMetTrainerBefore(u16 id, u8 *name);
|
2018-06-09 22:14:52 +02:00
|
|
|
void sub_8011DE0(u32 arg0);
|
2019-06-29 04:26:11 +02:00
|
|
|
u8 sub_801100C(s32 a0);
|
2018-06-10 18:28:37 +02:00
|
|
|
void sub_800EF7C(void);
|
2020-05-30 10:09:21 +02:00
|
|
|
bool8 LinkRfu_GetNameIfCompatible(struct GFtgtGname *buff1, u8 *buff2, u8 idx);
|
|
|
|
bool8 LinkRfu_GetNameIfSerial7F7D(struct GFtgtGname *buff1, u8 *buff2, u8 idx);
|
2018-12-19 02:29:41 +01:00
|
|
|
s32 sub_800E87C(u8 idx);
|
|
|
|
void sub_8011BA4(void);
|
2019-02-08 18:48:51 +01:00
|
|
|
void sub_8010198(void);
|
2019-03-25 20:26:23 +01:00
|
|
|
void sub_8011AC8(void);
|
2019-04-03 15:55:17 +02:00
|
|
|
void LinkRfu_FatalError(void);
|
2019-03-27 01:03:46 +01:00
|
|
|
bool32 sub_8011A9C(void);
|
|
|
|
void sub_80104B0(void);
|
|
|
|
void sub_8011A50(void);
|
2019-03-28 01:09:12 +01:00
|
|
|
void sub_80110B8(u32 a0);
|
2020-02-16 19:49:36 +01:00
|
|
|
bool8 sub_800DAC8(struct UnkRfuStruct_2_Sub_c1c *q1, u8 *q2);
|
|
|
|
void sub_800EAB4(void);
|
|
|
|
void sub_800EAFC(void);
|
|
|
|
void sub_800ED34(u16 unused);
|
|
|
|
void sub_800EDBC(u16 unused);
|
|
|
|
void sub_800F048(void);
|
|
|
|
void sub_800F86C(u8 unused);
|
|
|
|
void sub_800FCC4(struct UnkRfuStruct_2_Sub_6c *data);
|
|
|
|
void sub_800FD14(u16 command);
|
|
|
|
void rfufunc_80F9F44(void);
|
|
|
|
void sub_800FFB0(void);
|
|
|
|
void rfufunc_80FA020(void);
|
|
|
|
bool32 sub_8010454(u32 a0);
|
|
|
|
void sub_8010528(void);
|
|
|
|
void sub_8010750(void);
|
|
|
|
s32 sub_80107A0(void);
|
|
|
|
void sub_801084C(u8 taskId);
|
|
|
|
void sub_80109E8(u16 a0);
|
|
|
|
void sub_8010A70(void *a0);
|
|
|
|
void sub_8010AAC(u8 taskId);
|
|
|
|
void sub_8010D0C(u8 taskId);
|
|
|
|
void sub_80115EC(s32 a0);
|
|
|
|
u8 sub_8011CE4(const u8 *a0, u16 a1);
|
|
|
|
void sub_8011D6C(u32 a0);
|
|
|
|
void sub_8011E94(u32 a0, u32 a1);
|
|
|
|
bool8 sub_8012224(void);
|
|
|
|
void sub_801227C(void);
|
|
|
|
void sub_801209C(u8 taskId);
|
|
|
|
void sub_8011BF8(void);
|
|
|
|
void sub_8011BA4(void);
|
|
|
|
void sub_800D6C8(struct UnkRfuStruct_2_Sub_124 *ptr);
|
|
|
|
void sub_800D724(struct UnkRfuStruct_2_Sub_9e8 *ptr);
|
|
|
|
void sub_800D780(struct UnkRfuStruct_Sub_Unused *ptr);
|
|
|
|
void sub_800D7D8(struct UnkRfuStruct_2_Sub_124 *q1, u8 *q2);
|
|
|
|
void sub_800D888(struct UnkRfuStruct_2_Sub_9e8 *q1, u8 *q2);
|
|
|
|
bool8 sub_800D934(struct UnkRfuStruct_2_Sub_124 *q1, u8 *q2);
|
|
|
|
bool8 sub_800D9DC(struct UnkRfuStruct_2_Sub_9e8 *q1, u8 *q2);
|
|
|
|
void sub_800DA68(struct UnkRfuStruct_2_Sub_c1c *q1, const u8 *q2);
|
|
|
|
bool8 sub_800DAC8(struct UnkRfuStruct_2_Sub_c1c *q1, u8 *q2);
|
|
|
|
void sub_800DB18(struct UnkRfuStruct_Sub_Unused *q1, u8 *q2);
|
|
|
|
bool8 sub_800DB84(struct UnkRfuStruct_Sub_Unused *q1, u8 *q2);
|
|
|
|
void sub_800DBF8(u8 *q1, u8 mode);
|
|
|
|
void PkmnStrToASCII(u8 *q1, const u8 *q2);
|
|
|
|
void ASCIIToPkmnStr(u8 *q1, const u8 *q2);
|
|
|
|
u8 sub_800DD1C(u8 maxFlags);
|
|
|
|
void sub_800DD94(struct GFtgtGname *data, u8 r9, bool32 r2, s32 r3);
|
|
|
|
void CreateWirelessStatusIndicatorSprite(u8 x, u8 y);
|
|
|
|
void DestroyWirelessStatusIndicatorSprite(void);
|
|
|
|
void LoadWirelessStatusIndicatorSpriteGfx(void);
|
|
|
|
u8 sub_800E124(void);
|
|
|
|
void sub_800E15C(struct Sprite *sprite, s32 signalStrengthAnimNum);
|
|
|
|
void sub_800E174(void);
|
|
|
|
void CopyTrainerRecord(struct TrainerNameRecord *dest, u32 trainerId, const u8 *name);
|
|
|
|
bool32 NameIsNotEmpty(const u8 *name);
|
|
|
|
void RecordMixTrainerNames(void);
|
|
|
|
void WipeTrainerNameRecords(void);
|
2017-11-11 04:08:17 +01:00
|
|
|
|
|
|
|
#endif //GUARD_LINK_RFU_H
|