mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-12 21:45:19 -04:00
fruit balloon minigame check
This commit is contained in:
@@ -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(¤t.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
|
||||
|
||||
Reference in New Issue
Block a user