Put const data in pina

This commit is contained in:
Tal Hayon
2022-04-14 20:33:09 +03:00
parent 3f0a05f2e8
commit 2c473c443c
4 changed files with 6 additions and 17 deletions
+6 -2
View File
@@ -11,8 +11,6 @@ void sub_08063A98(Entity* this);
void sub_08063AC0(Entity* this);
void sub_08063B44(Entity* this);
extern Dialog gUnk_0810CE04[];
void Pina(Entity* this) {
if ((this->flags & ENT_SCRIPTED) != 0) {
sub_08063B68(this);
@@ -137,6 +135,12 @@ void sub_08063C74(void) {
}
void sub_08063C90(Entity* this) {
static const Dialog gUnk_0810CE04[] = {
{ 6, 0, 3, 1, { 0x3422, 0x3421 } }, { 6, 0, 3, 1, { 0x3422, 0x3421 } }, { 6, 0, 3, 1, { 0x3422, 0x3421 } },
{ 6, 0, 3, 1, { 0x3422, 0x3421 } }, { 6, 0, 3, 1, { 0x351d, 0x351c } }, { 6, 0, 3, 1, { 0x361c, 0x361b } },
{ 6, 0, 3, 1, { 0x371d, 0x371c } }, { 6, 0, 3, 1, { 0x381d, 0x381c } }, { 6, 0, 3, 1, { 0x3917, 0x3916 } },
{ 6, 0, 3, 1, { 0x3917, 0x3916 } },
};
ShowNPCDialogue(this, &gUnk_0810CE04[gSave.global_progress]);
}