summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTal Hayon <talhayon1@gmail.com>2022-04-14 20:27:32 +0300
committerTal Hayon <talhayon1@gmail.com>2022-04-14 20:27:32 +0300
commit3f0a05f2e8b18b417fbc1d77ecb23a57ea5e2cc9 (patch)
tree0a6b1b4e3a377c51bd9c465350c284110ac6bcbd /src
parent4820349daf54864b955a0bf05b7dbad270a89c41 (diff)
Put const data into brocco
Diffstat (limited to 'src')
-rw-r--r--src/npc/brocco.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/npc/brocco.c b/src/npc/brocco.c
index 680688f2..78e05325 100644
--- a/src/npc/brocco.c
+++ b/src/npc/brocco.c
@@ -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]);
}