-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata.c
114 lines (101 loc) · 2.61 KB
/
data.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
#include "data.h"
#include "myFunc.h"
// global variables-----------------------------
u16 Bg0Bak[32*20];
void (*nowProcess)();
KEY_DATA key;
const u8 str_my_gname_mboot[]="RFU-MB-DL";
const u8 str_header_mboot[]="RFU-MBOOT";
const u8 *str_uname[]={
"PLAYER A",
"PLAYER B",
"PLAYER C",
"PLAYER D"
};
static const u8 *const MsgEnglish[]={
"CONNECTION ATTEMPT FAILED!",
"DOWNLOAD FAILED!",
"INVALID DATA RECEIVED!",
"DISCONNECTED!",
"ERROR OCCURRED!",
"",
"PRESS THE A BUTTON",
"",
"NOW SEARCHING...",
" SELECT A GAME THEN PRESS THE A BUTTON TO CONNECT",
"WAITING FOR DATA...",
"DOWNLOADING...",
"DOWNLOAD COMPLETED!"
};
static const u8 MsgJapanese_ConnectionAttemptFailed[]=
{0x93,0x97,0x10,0x8d,0x20,0x91,0x84,0x1b,0x87,0x21,0x00};
static const u8 MsgJapanese_DownloadFailed[]=
{0xfc,0xb3,0xdd,0xdb,0xb0,0x01,0x20,0x91,0x84,0x1b,0x87,0x21,0x00};
static const u8 MsgJapanese_InvalidDataReceived[]=
{0xff,0xb0,0xc0,0x07,0xe0,0x93,0x87,0x14,0x92,0xa1,0x00};
static const u8 MsgJapanese_Disconnected[]=
{0x93,0x97,0x10,0x8d,0x07,0x8c,0xee,0xe3,0x91,0x95,0x21,0x00};
static const u8 MsgJapanese_ErrorOccurred[]=
{0xb4,0xd7,0xb0,0x21,0x00};
static const u8 MsgJapanese_PressTheAButton[]=
"PRESS THE A BUTTON";
static const u8 MsgJapanese_NowSearching[]=
{0x97,0x88,0x91,0xf1,0x86,0x87,0x98,0x7b,0x90,0x07,0x91,0x98,0x87,0xe3,0x92,0x2e,0x2e,0x2e,0x00};
static const u8 MsgJapanese_SelectAGame[]=
{0xa2,0x41,0x06,0xc0,0xdd,0xa3,0x14,0x93,0x97,0x10,0x8d,0x91,0xe3,0x92,0xa1,0x00};
static const u8 MsgJapanese_WaitingForData[]=
{0xff,0xb0,0xc0,0x7b,0xe3,0x84,0x98,0x87,0xe3,0x92,0x2e,0x2e,0x2e,0x00};
static const u8 MsgJapanese_Downloading[]=
{0xfc,0xb3,0xdd,0xdb,0xb0,0x01,0x96,0x82,0x88,0x2e,0x2e,0x2e,0x00};
static const u8 MsgJapanese_DownloadCompleted[]=
{0xfc,0xb3,0xdd,0xdb,0xb0,0x01,0x93,0x87,0x8f,0x88,0x21,0x00};
static const u8 *const MsgJapanese[]={
MsgJapanese_ConnectionAttemptFailed,
MsgJapanese_DownloadFailed,
MsgJapanese_InvalidDataReceived,
MsgJapanese_Disconnected,
MsgJapanese_ErrorOccurred,
MsgJapanese_ErrorOccurred,
MsgJapanese_PressTheAButton,
MsgJapanese_PressTheAButton,
MsgJapanese_NowSearching,
MsgJapanese_SelectAGame,
MsgJapanese_WaitingForData,
MsgJapanese_Downloading,
MsgJapanese_DownloadCompleted
};
static const u16 PosEnglish[]={
0x202,
0x207,
0x204,
0x209,
0x208,
0xaa,
0x1c6,
0x65,
0x208,
0x205,
0x207,
0x209,
0x206
};
static const u16 PosJapanese[]={
0x20a,
0x209,
0x20a,
0x20a,
0x20d,
0xaa,
0x1c6,
0x66,
0x207,
0x208,
0x20a,
0x20a,
0x20a
};
const MSGDATA MenuMsgInitial[]={
{MsgEnglish,PosEnglish},
{MsgJapanese,PosJapanese}
};
const u8 str_lang_en[]="ENGLISH";