Add attention flags enum, use enums in more places

This commit is contained in:
LagoLunatic
2023-10-15 00:45:59 -04:00
parent 98140ed1cd
commit 0ca314c746
24 changed files with 252 additions and 223 deletions
+4 -4
View File
@@ -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;