summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCatobat <69204835+Catobat@users.noreply.github.com>2023-05-05 23:45:29 +0200
committerCatobat <69204835+Catobat@users.noreply.github.com>2023-05-05 23:45:29 +0200
commit8ff6027f97e11ce05904267cbb79306474287923 (patch)
tree24e9422f6f88ebca66cbd3224181c40842c6778a /src
parent52e635f57b990232cbef832a64c12f60b7ab209e (diff)
Name some functions for marking a Fuser as done
Diffstat (limited to 'src')
-rw-r--r--src/npc/farmers.c8
-rw-r--r--src/npcUtils.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/npc/farmers.c b/src/npc/farmers.c
index d3ccf5fd..d2c4e2fc 100644
--- a/src/npc/farmers.c
+++ b/src/npc/farmers.c
@@ -53,9 +53,9 @@ void sub_0806BCB8(Entity* this) {
this->animationState = this->timer;
}
-void sub_0806BCC0(Entity* this) {
+void Farmers_MarkEenieFuserDoner(Entity* this) {
if (this->type == 0) {
- sub_0806F188(this);
+ MarkFuserDone(this);
}
}
@@ -69,12 +69,12 @@ void sub_0806BCE8(Entity* this) {
DIALOG_KINSTONE,
DIALOG_CHECK_FLAG,
1,
- { TEXT_INDEX(TEXT_FARMERS, 0X7), TEXT_INDEX(TEXT_FARMERS, 0x2) } },
+ { TEXT_INDEX(TEXT_FARMERS, 0x7), TEXT_INDEX(TEXT_FARMERS, 0x2) } },
{ 0x29,
DIALOG_KINSTONE,
DIALOG_CHECK_FLAG,
1,
- { TEXT_INDEX(TEXT_FARMERS, 0X11), TEXT_INDEX(TEXT_FARMERS, 0xd) } },
+ { TEXT_INDEX(TEXT_FARMERS, 0x11), TEXT_INDEX(TEXT_FARMERS, 0xd) } },
};
ShowNPCDialogue(this, &gUnk_08113158[this->type]);
}
diff --git a/src/npcUtils.c b/src/npcUtils.c
index b5963d94..8702f3eb 100644
--- a/src/npcUtils.c
+++ b/src/npcUtils.c
@@ -352,7 +352,7 @@ u32 UpdateFuseInteraction(Entity* ent) {
return ret;
}
-void sub_0806F188(Entity* ent) {
+void MarkFuserDone(Entity* ent) {
u32 idx = GetFuserId(ent);
if (idx != 0)
gSave.fuserOffers[idx] = KINSTONE_FUSER_DONE;