summaryrefslogtreecommitdiff
path: root/src/quest_log_objects.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2020-04-05 20:30:45 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2020-04-05 20:30:45 -0400
commita622448029e7849361d2aabcd2138ed0de207dd1 (patch)
tree842f425bb07344616c35a014f57086da6dd50777 /src/quest_log_objects.c
parent35a578c62050893d5f347f637acbdcbbfb99f311 (diff)
More quest log documentation amid other stuff
Diffstat (limited to 'src/quest_log_objects.c')
-rw-r--r--src/quest_log_objects.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quest_log_objects.c b/src/quest_log_objects.c
index 64b4b7fe5..fa3bbcce5 100644
--- a/src/quest_log_objects.c
+++ b/src/quest_log_objects.c
@@ -131,7 +131,7 @@ void SetSav1ObjectEventsFromQuestLog(const struct QuestLog * questLog, const str
void sub_815A540(void)
{
- if (gQuestLogState == QL_STATE_2)
+ if (gQuestLogState == QL_STATE_PLAYBACK)
{
s16 x, y;
@@ -139,7 +139,7 @@ void sub_815A540(void)
if (!MetatileBehavior_IsSurfable(MapGridGetMetatileBehaviorAt(x, y)) && TestPlayerAvatarFlags(PLAYER_AVATAR_FLAG_SURFING))
{
struct ObjectEvent * objectEvent = &gObjectEvents[gPlayerAvatar.objectEventId];
- SetPlayerAvatarTransitionFlags(0x01);
+ SetPlayerAvatarTransitionFlags(PLAYER_AVATAR_FLAG_ON_FOOT);
DestroySprite(&gSprites[objectEvent->fieldEffectSpriteId]);
}
}