Name some functions for marking a Fuser as done

This commit is contained in:
Catobat
2023-05-05 23:45:29 +02:00
parent 52e635f57b
commit 8ff6027f97
5 changed files with 9 additions and 8 deletions
+4 -4
View File
@@ -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]);
}
+1 -1
View File
@@ -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;