summaryrefslogtreecommitdiff
path: root/src/quest_log.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-03-02 12:11:22 -0500
committerGitHub <noreply@github.com>2020-03-02 12:11:22 -0500
commitae08a402904b8c4069bdfba61f0af8f433083f91 (patch)
tree7bc8513f997cbf0ee4457df9341919b4e9eabe08 /src/quest_log.c
parent5198a05272716990bcd98b9b216d3431adb25a3e (diff)
parent2d820809d74eaf4775ad0e2cc50e57bb65ed61a6 (diff)
Merge pull request #279 from PikalaxALT/field_effect
Field effect
Diffstat (limited to 'src/quest_log.c')
-rw-r--r--src/quest_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quest_log.c b/src/quest_log.c
index 6e70ceea8..c9a930032 100644
--- a/src/quest_log.c
+++ b/src/quest_log.c
@@ -2761,7 +2761,7 @@ static bool8 TrySetTrainerBattleQuestLogEvent(u16 eventId, const u16 *eventData)
return FALSE;
sub_81138F8();
- if (gUnknown_3005E88 || FlagGet(FLAG_SYS_GAME_CLEAR) || sub_81137E4(eventId, eventData) != TRUE)
+ if (gUnknown_3005E88 != 0 || FlagGet(FLAG_SYS_GAME_CLEAR) || sub_81137E4(eventId, eventData) != TRUE)
{
gUnknown_203B024.unk_00 = eventId;
memcpy(gUnknown_203B024.unk_04, eventData, 8);