mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-11 02:53:16 -04:00
sera shop slingshot check
This commit is contained in:
@@ -911,6 +911,7 @@ int dShopSystem_c::seq_start(fopAc_ac_c* actor, dMsgFlow_c* i_flow) {
|
||||
switch (itemNo) {
|
||||
case dItemNo_Randomizer_HALF_MILK_BOTTLE_e:
|
||||
itemNo = randomizer_getItemAtLocation("Ordon Cat Rescue");
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -1204,6 +1205,16 @@ int dShopSystem_c::seq_decide_yes(fopAc_ac_c* actor, dMsgFlow_c* i_flow) {
|
||||
if (mFlow.getEventId(&itemNo) == 1) {
|
||||
if (i_flow->doFlow(actor, NULL, 0)) {
|
||||
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_PACHINKO_e:
|
||||
itemNo = randomizer_getItemAtLocation("Sera Shop Slingshot");
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
mItemPartnerId =
|
||||
fopAcM_createItemForPresentDemo(¤t.pos, itemNo, 0, -1, -1, NULL, NULL);
|
||||
}
|
||||
|
||||
@@ -45,9 +45,8 @@
|
||||
- Overworld
|
||||
- Shop
|
||||
- Ordona Province
|
||||
- ARC
|
||||
Metadata:
|
||||
- None
|
||||
- Location Name Lookup
|
||||
Metadata: Sera Shop Slingshot
|
||||
|
||||
- Name: Ordon Shield
|
||||
Original Item: Ordon Shield
|
||||
|
||||
Reference in New Issue
Block a user