iza 1 and 2 checks

This commit is contained in:
gymnast86
2026-05-01 19:33:59 -07:00
parent 99652c01ed
commit 5fc0340603
3 changed files with 16 additions and 6 deletions
+4
View File
@@ -20,6 +20,10 @@
#include "d/actor/d_a_obj_zraMark.h"
#include <cstring>
#if TARGET_PC
#include "dusk/randomizer/game/verify_item_functions.h"
#endif
static NPC_ZRA_HIO_CLASS l_HIO;
daNpc_zrA_HIOParam const daNpc_zrA_Param_c::m = {
+8
View File
@@ -2609,6 +2609,14 @@ BOOL daNpc_zrA_c::ECut_thanksBlast(int i_staffID) {
case 31: {
int item_id = 0;
if (mFlow.getEventId(&item_id) == 1) {
#if TARGET_PC
if (randomizer_IsActive()) {
if (item_id == dItemNo_Randomizer_BOMB_IN_BAG_e)
item_id = verifyProgressiveItem(randomizer_getItemAtLocation("Iza Helping Hand"));
else if (item_id == dItemNo_Randomizer_BOMB_BAG_LV2_e)
item_id = verifyProgressiveItem(randomizer_getItemAtLocation("Iza Raging Rapids Minigame"));
}
#endif
mItemID = fopAcM_createItemForPresentDemo(&current.pos, item_id,
0, -1, -1, NULL, NULL);
}
@@ -3458,7 +3458,6 @@
- Flag: 0x48
Stage: 61
# TODO
- Name: Iza Helping Hand
Original Item: Bomb Bag
Categories:
@@ -3466,10 +3465,9 @@
- Npc
- Upper Zoras River
- ARC
Metadata:
- None
- Location Name Lookup
Metadata: Iza Helping Hand
# TODO
- Name: Iza Raging Rapids Minigame
Original Item: Giant Bomb Bag
Categories:
@@ -3477,8 +3475,8 @@
- Npc
- Upper Zoras River
- ARC
Metadata:
- None
- Location Name Lookup
Metadata: Iza Raging Rapids Minigame
# TODO
- Name: Fishing Hole Bottle