mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-16 05:55:37 -04:00
ordon cat rescue check
This commit is contained in:
@@ -905,6 +905,15 @@ int dShopSystem_c::seq_start(fopAc_ac_c* actor, dMsgFlow_c* i_flow) {
|
||||
int itemNo;
|
||||
if (mFlow.getEventId(&itemNo) == 1) {
|
||||
if (mItemPartnerId == fpcM_ERROR_PROCESS_ID_e) {
|
||||
#if TARGET_PC
|
||||
// In rando, override the item if it's one of our unique shop checks
|
||||
if (randomizer_IsActive()) {
|
||||
switch (itemNo) {
|
||||
case dItemNo_Randomizer_HALF_MILK_BOTTLE_e:
|
||||
itemNo = randomizer_getItemAtLocation("Ordon Cat Rescue");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
mItemPartnerId = fopAcM_createItemForPresentDemo(¤t.pos, itemNo, 0, -1,
|
||||
-1, NULL, NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user