hsehi1 inlines and demo match

This commit is contained in:
LagoLunatic
2026-08-24 17:38:54 -04:00
parent 69332d9167
commit e051378deb
7 changed files with 94 additions and 91 deletions
+3 -3
View File
@@ -584,10 +584,10 @@ u16 daNpc_Bs1_c::next_msgStatus(u32* pMsgNo) {
if(*pMsgNo == 0xFD3) {
u8 r3 = dComIfGs_getEventReg(dSv_event_flag_c::UNK_7F0F);
r3 += getBuyItem();
u8 temp = cLib_maxLimit<u8>(r3, 0xF);
dComIfGs_setEventReg(dSv_event_flag_c::UNK_7F0F, temp);
r3 = cLib_maxLimit<u8>(r3, 0xF);
dComIfGs_setEventReg(dSv_event_flag_c::UNK_7F0F, r3);
if(temp < 0xA) {
if(r3 < 0xA) {
*pMsgNo = 0xFD5;
break;
}