mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-30 23:44:28 -04:00
dungeon reward and boss heart container checks
This commit is contained in:
@@ -529,6 +529,14 @@ int dMsgFlow_c::setNormalMsg(mesg_flow_node* i_flowNode_p, fopAc_ac_c* i_speaker
|
||||
msg_no = getItemMessageID(itemId);
|
||||
// Ignore the rest of the flow after this
|
||||
var_r29->next_node_idx = -1;
|
||||
} else {
|
||||
u32 key = (dMsgObject_getGroupID() << 16) | msg_no;
|
||||
auto& flowItemOverrides = randomizer_GetContext().mFlowItemMessageOverrides;
|
||||
if (flowItemOverrides.contains(key)) {
|
||||
u8 itemId = verifyProgressiveItem(flowItemOverrides[key]);
|
||||
msg_no = getItemMessageID(itemId);
|
||||
execItemGet(itemId);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user