summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-01-16 09:53:08 -0500
committerGitHub <noreply@github.com>2020-01-16 09:53:08 -0500
commitfad367402892e1c25634c4448936d84a621c341c (patch)
treeb796aba2ae57729cae5f78767336082dd46a6b21 /include/global.h
parent0bc479db34154988c6322bf5f2bb6d48556f62c3 (diff)
parent884b46a5dc26ae9e0c0abcf7e0d69c1122a30e22 (diff)
Merge pull request #225 from GriffinRichards/doc-questlog
Document some quest log
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/global.h b/include/global.h
index 6386071c4..180a1e0a3 100644
--- a/include/global.h
+++ b/include/global.h
@@ -601,17 +601,17 @@ struct QuestLogObjectEvent
struct QuestLog
{
/*0x0000*/ u8 unk_000;
- /*0x0001*/ s8 unk_001;
- /*0x0002*/ s8 unk_002;
- /*0x0003*/ s8 unk_003;
- /*0x0004*/ s16 unk_004;
- /*0x0006*/ s16 unk_006;
+ /*0x0001*/ u8 mapGroup;
+ /*0x0002*/ u8 mapNum;
+ /*0x0003*/ u8 warpId;
+ /*0x0004*/ s16 x;
+ /*0x0006*/ s16 y;
/*0x0008*/ struct QuestLogObjectEvent unk_008[OBJECT_EVENTS_COUNT];
// These arrays hold the game state for
// playing back the quest log
- /*0x0148*/ u8 flags[0x120];
- /*0x02c8*/ u16 vars[0x100];
+ /*0x0148*/ u8 flags[FLAGS_COUNT];
+ /*0x02c8*/ u16 vars[VARS_COUNT];
/*0x0468*/ struct QuestLogNPCData npcData[64];
/*0x0568*/ u16 unk_568[128];
/*0x0668*/ u16 end[0];
@@ -752,7 +752,7 @@ struct SaveBlock1
/*0x0EE0*/ u8 flags[FLAGS_COUNT];
/*0x1000*/ u16 vars[VARS_COUNT];
/*0x1200*/ u32 gameStats[NUM_GAME_STATS];
- /*0x1300*/ struct QuestLog questLog[4];
+ /*0x1300*/ struct QuestLog questLog[QUEST_LOG_SCENE_COUNT];
/*0x2CA0*/ u16 easyChatProfile[6];
/*0x2CAC*/ u16 easyChatBattleStart[6];
/*0x2CB8*/ u16 easyChatBattleWon[6];