ordon cat rescue check

This commit is contained in:
gymnast86
2026-04-21 21:51:01 -07:00
parent 52a53b64dc
commit 93cc3bd2ce
3 changed files with 26 additions and 3 deletions
+9
View File
@@ -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(&current.pos, itemNo, 0, -1,
-1, NULL, NULL);
}