1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-13 19:35:28 +00:00

Pause doc: Trade quest marker (#2158)

* Pause doc: Trade quest location

* trade quest location -> marker

* comment on tradeQuestMarker
This commit is contained in:
Dragorn421 2024-09-07 21:31:57 +02:00 committed by GitHub
parent e52d135e15
commit fa39da2a57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 39 additions and 33 deletions

View file

@ -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