summaryrefslogtreecommitdiff
path: root/src/field_specials.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-01-14 21:27:45 -0500
committerGriffinR <griffin.g.richards@gmail.com>2020-01-15 16:00:45 -0500
commit04d176334ad590d3462e3c1eb75c1313705ae183 (patch)
tree865ca807901bf57e63523b19f2d535c7ef391f89 /src/field_specials.c
parent2f81b4a204d051aeb88580dc63381011ec49fcbb (diff)
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)