From fa39da2a57d4e588e31ebcebcc38bdef41da2737 Mon Sep 17 00:00:00 2001 From: Dragorn421 Date: Sat, 7 Sep 2024 21:31:57 +0200 Subject: Pause doc: Trade quest marker (#2158) * Pause doc: Trade quest location * trade quest location -> marker * comment on tradeQuestMarker --- include/z64pause.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/z64pause.h b/include/z64pause.h index be38d7dd0..12921fcd9 100644 --- a/include/z64pause.h +++ b/include/z64pause.h @@ -112,6 +112,8 @@ typedef enum WorldMapPoint { /* 12 */ WORLD_MAP_POINT_MAX } WorldMapPoint; +#define TRADE_QUEST_MARKER_NONE 0xFF + typedef enum WorldMapPointState { /* 0 */ WORLD_MAP_POINT_STATE_HIDE, /* 1 */ WORLD_MAP_POINT_STATE_SHOW, @@ -184,7 +186,7 @@ typedef struct PauseContext { /* 0x0262 */ s16 promptChoice; // save/continue choice: 0 = yes; 4 = no /* 0x0264 */ s16 ocarinaSongIdx; /* 0x0266 */ u8 worldMapPoints[20]; // indices: `WorldMapPoint` enum, values: `WorldMapPointState` enum - /* 0x027A */ u8 tradeQuestLocation; + /* 0x027A */ u8 tradeQuestMarker; // Can be either a `WorldMapPoint` value or `TRADE_QUEST_MARKER_NONE` /* 0x027C */ SkelAnime playerSkelAnime; } PauseContext; // size = 0x2C0 -- cgit v1.2.3