fruit balloon minigame check

This commit is contained in:
gymnast86
2026-05-01 18:24:02 -07:00
parent e4e438e1ba
commit cfa680f2d8
2 changed files with 12 additions and 3 deletions
+10
View File
@@ -11,6 +11,10 @@
#include "Z2AudioLib/Z2Instances.h"
#include <cstring>
#if TARGET_PC
#include "dusk/randomizer/game/verify_item_functions.h"
#endif
enum {
NUM_EVT_CUTS_e = 5,
};
@@ -1191,6 +1195,12 @@ int daNpc_myna2_c::ECut_gameGoalSuccess(int i_staffId) {
case 20: {
int itemNo = 0;
if (mFlow.getEventId(&itemNo) == 1) {
#if TARGET_PC
// If plumm tries giving us the heart piece,
if (randomizer_IsActive() && itemNo == dItemNo_KAKERA_HEART_e) {
itemNo = verifyProgressiveItem(randomizer_getItemAtLocation("Plumm Fruit Balloon Minigame"));
}
#endif
mItemPid = fopAcM_createItemForPresentDemo(&current.pos, itemNo, 0, -1, -1, NULL, NULL);
}
break;
@@ -3373,7 +3373,6 @@
- Stage: 52
Flag: 0x90
# TODO
- Name: Plumm Fruit Balloon Minigame
Original Item: Piece of Heart
Categories:
@@ -3381,8 +3380,8 @@
- Npc
- Lake Hylia
- ARC
Metadata:
- None
- Location Name Lookup
Metadata: Plumm Fruit Balloon Minigame
- Name: Upper Zoras River Warp Portal
Original Item: Upper Zoras River Portal