summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTal Hayon <talhayon1@gmail.com>2022-04-16 11:10:45 +0300
committerTal Hayon <talhayon1@gmail.com>2022-04-16 11:10:45 +0300
commite3e6498cc233f30248ee7e0b2ffbd002e5e7f6cb (patch)
tree2757251fe4c349c41b5795cedc7f5063a4c41f65 /src
parent8ac004a94f42418aafb67936c8a20acc7a733e90 (diff)
Put const data in farmers
Diffstat (limited to 'src')
-rw-r--r--src/npc/farmers.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/npc/farmers.c b/src/npc/farmers.c
index 1066168b..7b1c4def 100644
--- a/src/npc/farmers.c
+++ b/src/npc/farmers.c
@@ -3,9 +3,10 @@
#include "functions.h"
#include "npc.h"
-extern Dialog gUnk_08113158[];
+static const SpriteLoadData gUnk_08113140[] = {
+ { 0xf7, 0x48, 0x4 }, { 0x40f7, 0x48, 0x4 }, { 0, 0, 0 }, { 0xf8, 0x49, 0x4 }, { 0x40f8, 0x49, 0x4 }, { 0, 0, 0 },
+};
-extern SpriteLoadData gUnk_08113140[];
void sub_0806BC58(Entity* this);
void Farmers(Entity* this) {
@@ -63,6 +64,10 @@ void sub_0806BCD4(Entity* this) {
}
void sub_0806BCE8(Entity* this) {
+ static const Dialog gUnk_08113158[] = {
+ { 0x29, 3, 4, 1, { 0x1a07, 0x1a02 } },
+ { 0x29, 3, 4, 1, { 0x1a11, 0x1a0d } },
+ };
ShowNPCDialogue(this, &gUnk_08113158[this->type]);
}