summaryrefslogtreecommitdiff
path: root/src/script.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/script.c
parent2f81b4a204d051aeb88580dc63381011ec49fcbb (diff)
Document some Quest Log
Diffstat (limited to 'src/script.c')
-rw-r--r--src/script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script.c b/src/script.c
index f18a8568b..0a4b69bac 100644
--- a/src/script.c
+++ b/src/script.c
@@ -1,11 +1,11 @@
#include "global.h"
#include "script.h"
#include "event_data.h"
+#include "quest_log.h"
#define RAM_SCRIPT_MAGIC 51
#define SCRIPT_STACK_SIZE 20
-extern u8 gUnknown_203ADFA;
extern void sub_80CBDE8(void); // field_specials
extern u16 CalcCRC16WithTable(u8 *data, int length); // util
@@ -435,7 +435,7 @@ bool8 mapheader_run_first_tag2_script_list_match(void)
{
u8 *ptr;
- if(gUnknown_203ADFA == 3)
+ if(gQuestLogState == 3)
return 0;
ptr = mapheader_get_first_match_from_tagged_ptr_list(2);