summaryrefslogtreecommitdiff
path: root/include/constants/quest_log.h
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2020-04-10 13:10:44 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2020-04-10 13:10:44 -0400
commitb22d3a821d8656d9fb88000ce02e5b885a59e1c3 (patch)
tree7d4054b0df9f5746b3e31623868bf7d604ae7328 /include/constants/quest_log.h
parent8626240b54d87449e5db70345840ccf20717d8c7 (diff)
parent2880cf2a51ea36fa36f00d9ecf07177e5955c882 (diff)
Merge branch 'master' of github.com:pret/pokefirered into modern_gcc
Diffstat (limited to 'include/constants/quest_log.h')
-rw-r--r--include/constants/quest_log.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/constants/quest_log.h b/include/constants/quest_log.h
index b5494e7b9..3565c581e 100644
--- a/include/constants/quest_log.h
+++ b/include/constants/quest_log.h
@@ -1,10 +1,14 @@
#ifndef GUARD_CONSTANTS_QUEST_LOG_H
#define GUARD_CONSTANTS_QUEST_LOG_H
-// TODO: Name and use state constants
-#define QL_STATE_1 1
-#define QL_STATE_2 2
-#define QL_STATE_3 3
+#define QL_STATE_RECORDING 1
+#define QL_STATE_PLAYBACK 2
+#define QL_STATE_PLAYBACK_LAST 3
+
+#define QL_START_NORMAL 1
+#define QL_START_WARP 2
+
+#define QL_IS_PLAYBACK_STATE (gQuestLogState == QL_STATE_PLAYBACK || gQuestLogState == QL_STATE_PLAYBACK_LAST)
#define QL_EVENT_0 0 // Null
#define QL_EVENT_1 1 // Null