summaryrefslogtreecommitdiff
path: root/src/d/d_meter2_draw.cpp
diff options
context:
space:
mode:
authorCarco_21 <144170194+carter-ktb21@users.noreply.github.com>2025-08-08 14:39:26 -0400
committerGitHub <noreply@github.com>2025-08-08 21:39:26 +0300
commite0b1fe92b1e79b5b93e8a3df6ee56e5771e80915 (patch)
tree6a34a131100ef6c58171b7a1e9e4e1be0e65fb18 /src/d/d_meter2_draw.cpp
parent9fbbec4326a5fcc9443e219415386da36b8ec5e8 (diff)
ChkBit comments and enum work (#2571)
* Jagar cleanup * saru work * e_fm work * gob enum added * gob cleanup * gob anm enums * dComIfGs_isEventBit comments added * More bit work and besu enum work * Maybe fixed the issue?
Diffstat (limited to 'src/d/d_meter2_draw.cpp')
-rw-r--r--src/d/d_meter2_draw.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/d/d_meter2_draw.cpp b/src/d/d_meter2_draw.cpp
index e5ad2079cb..d260b1efe0 100644
--- a/src/d/d_meter2_draw.cpp
+++ b/src/d/d_meter2_draw.cpp
@@ -3160,8 +3160,13 @@ void dMeter2Draw_c::setButtonIconMidonaAlpha(u32 param_0) {
bool var_r31 = 1;
if (getCanoeFishing() ||
+ /*dSv_event_flag_c::M_009 - Cutscene - [cutscene: 6B] Prison escape - Midna rides on back */
(!dComIfGs_isEventBit(0x0540) && !dMeter2Info_isUseButton(0x800)) ||
- !dComIfGs_isEventBit(0x0C10) || dComIfGs_isEventBit(0x6140))
+ /* dSv_event_flag_c::M_067 - Main Event - Midna riding / not riding (ON == riding) */
+ !dComIfGs_isEventBit(0x0C10) ||
+ /* dSv_event_flag_c::F_0800 - Cutscene - After returning to Ordon Woods, until Midna comes out of the shadows
+ (If 800 is ON, Midna can't be called) */
+ dComIfGs_isEventBit(0x6140))
{
var_f29 = 0.0f;
} else if (dComIfGp_isPauseFlag()) {