summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2024-09-07 21:31:57 +0200
committerGitHub <noreply@github.com>2024-09-07 15:31:57 -0400
commitfa39da2a57d4e588e31ebcebcc38bdef41da2737 (patch)
treefd7139fe8e6adebdceb5afa24e1af7106e9aac3e /include
parente52d135e15be227326b58d75d6779fbb1db6f232 (diff)
Pause doc: Trade quest marker (#2158)
* Pause doc: Trade quest location * trade quest location -> marker * comment on tradeQuestMarker
Diffstat (limited to 'include')
-rw-r--r--include/z64pause.h4
1 files changed, 3 insertions, 1 deletions
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