Put const data into brocco

This commit is contained in:
Tal Hayon
2022-04-14 20:27:32 +03:00
parent 4820349daf
commit 3f0a05f2e8
4 changed files with 7 additions and 41 deletions
+7 -2
View File
@@ -9,8 +9,6 @@ void sub_0806355C(Entity*);
void sub_08063584(Entity*);
void sub_08063608(Entity*);
extern Dialog gUnk_0810CAAC[];
void Brocco(Entity* this) {
if ((this->flags & ENT_SCRIPTED) != 0) {
sub_0806362C(this);
@@ -100,6 +98,13 @@ void sub_0806362C(Entity* this) {
}
void sub_080636D8(Entity* this) {
static const Dialog gUnk_0810CAAC[] = {
{ 0, 0, 1, 1, { 0, 0x2510 } }, { 0, 0, 1, 1, { 0, 0x2510 } }, { 5, 0, 3, 1, { 0x3424, 0x3423 } },
{ 5, 0, 3, 1, { 0x3424, 0x3423 } }, { 5, 0, 3, 1, { 0x351f, 0x351e } }, { 5, 0, 3, 1, { 0x361e, 0x361d } },
{ 5, 0, 3, 1, { 0x371f, 0x371e } }, { 5, 0, 3, 1, { 0x381f, 0x381e } }, { 5, 0, 3, 1, { 0x3919, 0x3918 } },
{ 5, 0, 3, 1, { 0x3919, 0x3918 } },
};
ShowNPCDialogue(this, &gUnk_0810CAAC[gSave.global_progress]);
}