Pause doc: KaleidoScope_DrawQuestStatus (partial) (#2215)

* Pause doc: `KaleidoScope_DrawQuestStatus` (partial)

* review

* format
This commit is contained in:
Dragorn421
2024-09-24 11:39:34 +02:00
committed by GitHub
parent 3cea46a6c1
commit f9d892a2ae
3 changed files with 221 additions and 179 deletions

View File

@@ -134,6 +134,7 @@
#define R_START_LABEL_Y(i) ZREG(51 + (i))
#define R_START_LABEL_X(i) ZREG(54 + (i))
#endif
#define R_PAUSE_QUEST_MEDALLION_SHINE_TIME(i) ZREG(61 + (i)) // i = 0..3 (clashes with ZREG(62) and ZREG(63))
#define R_C_UP_BTN_X ZREG(62)
#define R_C_UP_BTN_Y ZREG(63)
#define R_START_BTN_X ZREG(68)

View File

@@ -373,10 +373,12 @@ void Regs_InitDataImpl(void) {
R_START_LABEL_X(2) = 119;
#endif
ZREG(61) = 1;
R_C_UP_BTN_X = C_UP_BUTTON_X;
R_C_UP_BTN_Y = C_UP_BUTTON_Y;
ZREG(64) = 20;
R_PAUSE_QUEST_MEDALLION_SHINE_TIME(0) = 1;
//! @bug Overlapping reg usage
R_C_UP_BTN_X = C_UP_BUTTON_X; // R_PAUSE_QUEST_MEDALLION_SHINE_TIME(1)
R_C_UP_BTN_Y = C_UP_BUTTON_Y; // R_PAUSE_QUEST_MEDALLION_SHINE_TIME(2)
R_PAUSE_QUEST_MEDALLION_SHINE_TIME(3) = 20;
ZREG(65) = 21;
ZREG(66) = 122;
R_ITEM_BTN_X(1) = C_LEFT_BUTTON_X;

File diff suppressed because it is too large Load Diff