mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 21:18:23 -04:00
Add an enum for action button icon status
This commit is contained in:
+18
-18
@@ -638,8 +638,8 @@ u16 daNpc_Bs1_c::next_msgStatus(u32* pMsgNo) {
|
||||
break;
|
||||
}
|
||||
|
||||
dComIfGp_setDoStatusForce(0x17);
|
||||
dComIfGp_setAStatusForce(0x27);
|
||||
dComIfGp_setDoStatusForce(dActStts_CHOOSE_e);
|
||||
dComIfGp_setAStatusForce(dActStts_CANCEL_e);
|
||||
*pMsgNo = 0x2F6C;
|
||||
|
||||
break;
|
||||
@@ -695,8 +695,8 @@ u16 daNpc_Bs1_c::next_msgStatus(u32* pMsgNo) {
|
||||
break;
|
||||
}
|
||||
|
||||
dComIfGp_setDoStatusForce(0x17);
|
||||
dComIfGp_setAStatusForce(0x27);
|
||||
dComIfGp_setDoStatusForce(dActStts_CHOOSE_e);
|
||||
dComIfGp_setAStatusForce(dActStts_CANCEL_e);
|
||||
msgStatus = fopMsgStts_MSG_DISPLAYED_e;
|
||||
break;
|
||||
case 0x2F47:
|
||||
@@ -705,8 +705,8 @@ u16 daNpc_Bs1_c::next_msgStatus(u32* pMsgNo) {
|
||||
break;
|
||||
}
|
||||
|
||||
dComIfGp_setDoStatusForce(0x17);
|
||||
dComIfGp_setAStatusForce(0x27);
|
||||
dComIfGp_setDoStatusForce(dActStts_CHOOSE_e);
|
||||
dComIfGp_setAStatusForce(dActStts_CANCEL_e);
|
||||
msgStatus = fopMsgStts_MSG_DISPLAYED_e;
|
||||
break;
|
||||
case 0xF3F:
|
||||
@@ -732,8 +732,8 @@ u16 daNpc_Bs1_c::next_msgStatus(u32* pMsgNo) {
|
||||
break;
|
||||
}
|
||||
|
||||
dComIfGp_setDoStatusForce(0x17);
|
||||
dComIfGp_setAStatusForce(0x27);
|
||||
dComIfGp_setDoStatusForce(dActStts_CHOOSE_e);
|
||||
dComIfGp_setAStatusForce(dActStts_CANCEL_e);
|
||||
msgStatus = fopMsgStts_MSG_DISPLAYED_e;
|
||||
break;
|
||||
case 0x2F78:
|
||||
@@ -742,8 +742,8 @@ u16 daNpc_Bs1_c::next_msgStatus(u32* pMsgNo) {
|
||||
break;
|
||||
}
|
||||
|
||||
dComIfGp_setDoStatusForce(0x17);
|
||||
dComIfGp_setAStatusForce(0x27);
|
||||
dComIfGp_setDoStatusForce(dActStts_CHOOSE_e);
|
||||
dComIfGp_setAStatusForce(dActStts_CANCEL_e);
|
||||
msgStatus = fopMsgStts_MSG_DISPLAYED_e;
|
||||
break;
|
||||
case 0xF42:
|
||||
@@ -769,8 +769,8 @@ u16 daNpc_Bs1_c::next_msgStatus(u32* pMsgNo) {
|
||||
break;
|
||||
}
|
||||
|
||||
dComIfGp_setDoStatusForce(0x17);
|
||||
dComIfGp_setAStatusForce(0x27);
|
||||
dComIfGp_setDoStatusForce(dActStts_CHOOSE_e);
|
||||
dComIfGp_setAStatusForce(dActStts_CANCEL_e);
|
||||
*pMsgNo = mShopItems.getSelectItemBuyMsg();
|
||||
break;
|
||||
case 0x2F4A:
|
||||
@@ -784,8 +784,8 @@ u16 daNpc_Bs1_c::next_msgStatus(u32* pMsgNo) {
|
||||
break;
|
||||
}
|
||||
|
||||
dComIfGp_setDoStatusForce(0x17);
|
||||
dComIfGp_setAStatusForce(0x27);
|
||||
dComIfGp_setDoStatusForce(dActStts_CHOOSE_e);
|
||||
dComIfGp_setAStatusForce(dActStts_CANCEL_e);
|
||||
*pMsgNo = mShopItems.getSelectItemBuyMsg();
|
||||
break;
|
||||
case 0xF45:
|
||||
@@ -1703,12 +1703,12 @@ bool daNpc_Bs1_c::talk01() {
|
||||
} else {
|
||||
if (shopMsgCheck(m738) && status == 8) {
|
||||
if (mShopItems.getSelectItemBuyMsg() == m738) {
|
||||
dComIfGp_setDoStatusForce(0x17);
|
||||
dComIfGp_setAStatusForce(0x27);
|
||||
dComIfGp_setDoStatusForce(dActStts_CHOOSE_e);
|
||||
dComIfGp_setAStatusForce(dActStts_CANCEL_e);
|
||||
}
|
||||
} else if (status == 8 && checkBeastItemSellMsg(m738)) {
|
||||
dComIfGp_setDoStatusForce(0x17);
|
||||
dComIfGp_setAStatusForce(0x27);
|
||||
dComIfGp_setDoStatusForce(dActStts_CHOOSE_e);
|
||||
dComIfGp_setAStatusForce(dActStts_CANCEL_e);
|
||||
}
|
||||
}
|
||||
return mpMorf->isMorf();
|
||||
|
||||
Reference in New Issue
Block a user