Dictionary: u8 -> u16

This commit is contained in:
engineer124
2021-11-12 23:45:01 +11:00
parent e84fd1d139
commit 0ca2818b8f
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ typedef struct {
} OSVoiceData; // size = 0x20
typedef struct {
/* 0x000 */ u8 words[20][30]; // 20 words, each with up to 15 syllables
/* 0x000 */ u16 words[20][15]; // 20 words, each with up to 15 syllables
/* 0x258 */ u8 numWords;
} OSVoiceDictionary; // size = 0x25C
+6 -6
View File
@@ -14,22 +14,22 @@ extern OSVoiceHandle sVoiceHandle;
OSVoiceDictionary D_801D8BE0 = {
{
// "アトナンジカン" - "atonanjikan" - "How many hours"
{ 0x83, 0x41, 0x83, 0x67, 0x83, 0x69, 0x83, 0x93, 0x83, 0x57, 0x83, 0x4A, 0x83, 0x93 },
{ 0x8341, 0x8367, 0x8369, 0x8393, 0x8357, 0x834A, 0x8393 },
// "ハイチーズ" - "haichīzu" - "say cheese"
{ 0x83, 0x6E, 0x83, 0x43, 0x83, 0x60, 0x81, 0x5B, 0x83, 0x59 },
{ 0x836E, 0x8343, 0x8360, 0x815B, 0x8359 },
// "オキロー" - "okirō" - "wake up"
{ 0x83, 0x49, 0x83, 0x4C, 0x83, 0x8D, 0x81, 0x5B },
{ 0x8349, 0x834C, 0x838D, 0x815B },
// "オスワリ" - "osuwari" - "sit"
{ 0x83, 0x49, 0x83, 0x58, 0x83, 0x8F, 0x83, 0x8A },
{ 0x8349, 0x8358, 0x838F, 0x838A },
// "ミルク" - "miruku" - "milk"
{ 0x83, 0x7E, 0x83, 0x8B, 0x83, 0x4E },
{ 0x837E, 0x838B, 0x834E },
// "ハイヤー" - "haiyā" - "hiya!"
{ 0x83, 0x6E, 0x83, 0x43, 0x83, 0x84, 0x81, 0x5B },
{ 0x836E, 0x8343, 0x8384, 0x815B },
},
VOICE_WORD_ID_MAX, // number of words