summaryrefslogtreecommitdiff
path: root/include/global.h
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 /include/global.h
parent2f81b4a204d051aeb88580dc63381011ec49fcbb (diff)
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 d8ea62d5c..606b8f9b3 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];
@@ -746,7 +746,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];