summaryrefslogtreecommitdiff
path: root/src/field_specials.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-01-16 09:53:08 -0500
committerGitHub <noreply@github.com>2020-01-16 09:53:08 -0500
commitfad367402892e1c25634c4448936d84a621c341c (patch)
treeb796aba2ae57729cae5f78767336082dd46a6b21 /src/field_specials.c
parent0bc479db34154988c6322bf5f2bb6d48556f62c3 (diff)
parent884b46a5dc26ae9e0c0abcf7e0d69c1122a30e22 (diff)
Merge pull request #225 from GriffinRichards/doc-questlog
Document some quest log
Diffstat (limited to 'src/field_specials.c')
-rw-r--r--src/field_specials.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/field_specials.c b/src/field_specials.c
index 5ecaffa96..5f44a090d 100644
--- a/src/field_specials.c
+++ b/src/field_specials.c
@@ -1766,9 +1766,9 @@ u8 Special_GetMartClerkObjectId(void)
return 1;
}
-void sub_80CC524(void)
+void SetUsedPkmnCenterQuestLogEvent(void)
{
- sub_8113550(11, NULL);
+ SetQuestLogEvent(QL_EVENT_USED_PKMN_CENTER, NULL);
}
static const struct {
@@ -1868,7 +1868,7 @@ void sub_80CC59C(void)
sp0.unk1 = r5;
else
sp0.unk1 = r5 + 1;
- sub_8113550(35, (void *)&sp0);
+ SetQuestLogEvent(QL_EVENT_DEPARTED, (void *)&sp0);
FlagClear(FLAG_0x808);
return;
}
@@ -1882,7 +1882,7 @@ void sub_80CC59C(void)
sp0.unk1 = r5;
else
sp0.unk1 = r5 + 1;
- sub_8113550(35, (void *)&sp0);
+ SetQuestLogEvent(QL_EVENT_DEPARTED, (void *)&sp0);
FlagClear(FLAG_0x808);
return;
}
@@ -1903,7 +1903,7 @@ void sub_80CC59C(void)
if (x != 67 || y != 15)
sp0.unk1++;
}
- sub_8113550(35, (void *)&sp0);
+ SetQuestLogEvent(QL_EVENT_DEPARTED, (void *)&sp0);
FlagClear(FLAG_0x808);
if (r5 == 35)
{
@@ -2447,7 +2447,7 @@ void Special_BrailleCursorToggle(void)
// 8005 = y
// 8006 = action (0 = create, 1 = delete)
u16 x;
- if (gUnknown_203ADFA != 2)
+ if (gQuestLogState != 2)
{
x = gSpecialVar_0x8004 + 27;
if (gSpecialVar_0x8006 == 0)