mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-19 13:24:12 -04:00
Add attention flags enum, use enums in more places
This commit is contained in:
+4
-4
@@ -211,7 +211,7 @@ BOOL progSelDraw(dScnLogo_c* i_this) {
|
||||
if (i_this->field_0x1eb == 0) {
|
||||
if (i_this->mInterFlag == 0) {
|
||||
if (CPad_CHECK_HOLD_RIGHT(0) || g_mDoCPd_cpadInfo[0].mMainStickPosX > 0.5f) {
|
||||
mDoAud_seStart(0x83d, NULL, 0, 0);
|
||||
mDoAud_seStart(JA_SE_TALK_CURSOR, NULL, 0, 0);
|
||||
i_this->mInterFlag = 1;
|
||||
i_this->field_0x1ee = 30;
|
||||
i_this->field_0x1f0 = i_this->field_0x1ee;
|
||||
@@ -219,7 +219,7 @@ BOOL progSelDraw(dScnLogo_c* i_this) {
|
||||
}
|
||||
} else {
|
||||
if (CPad_CHECK_HOLD_LEFT(0) || g_mDoCPd_cpadInfo[0].mMainStickPosX < 0.5f) {
|
||||
mDoAud_seStart(0x83d, NULL, 0, 0);
|
||||
mDoAud_seStart(JA_SE_TALK_CURSOR, NULL, 0, 0);
|
||||
i_this->mInterFlag = 0;
|
||||
i_this->field_0x1ee = 30;
|
||||
i_this->field_0x1f0 = i_this->field_0x1ee;
|
||||
@@ -229,9 +229,9 @@ BOOL progSelDraw(dScnLogo_c* i_this) {
|
||||
|
||||
if (CPad_CHECK_TRIG_A(0) || i_this->mTimer == 0) {
|
||||
if (i_this->mInterFlag == 0)
|
||||
mDoAud_seStart(0x80d, NULL, 0, 0);
|
||||
mDoAud_seStart(JA_SE_TALK_WIN_CLOSE, NULL, 0, 0);
|
||||
else
|
||||
mDoAud_seStart(0x880, NULL, 0, 0);
|
||||
mDoAud_seStart(JA_SE_TALK_SEL_CANCEL, NULL, 0, 0);
|
||||
|
||||
if (i_this->mTimer > 540) {
|
||||
i_this->field_0x1eb = 1;
|
||||
|
||||
Reference in New Issue
Block a user