mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-29 08:12:52 -04:00
wooden statue check
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_item_data.h"
|
||||
#include "d/d_s_play.h"
|
||||
#if TARGET_PC
|
||||
#include "dusk/randomizer/game/flags.h"
|
||||
#include "dusk/randomizer/game/verify_item_functions.h"
|
||||
#endif
|
||||
|
||||
const static dCcD_SrcCyl l_cyl_src = {
|
||||
{
|
||||
@@ -255,6 +259,12 @@ int daObjWStatue_c::initActionOrderGetDemo() {
|
||||
s16 eventIdx = dComIfGp_getEventManager().getEventIdx(this, "DEFAULT_GETITEM", 0xff);
|
||||
dComIfGp_getEvent()->reset(this);
|
||||
fopAcM_orderChangeEventId(this, eventIdx, 1, 0xffff);
|
||||
#if TARGET_PC
|
||||
// Set the item before the demo again incase the player collected something else and then came back
|
||||
if (randomizer_IsActive()) {
|
||||
m_itemNo = verifyProgressiveItem(randomizer_getItemAtLocation("Wooden Statue"));
|
||||
}
|
||||
#endif
|
||||
mItemId = fopAcM_createItemForTrBoxDemo(¤t.pos, m_itemNo, 0xffffffff,
|
||||
fopAcM_GetRoomNo(this), 0, 0);
|
||||
JUT_ASSERT(544, mItemId != fpcM_ERROR_PROCESS_ID_e);
|
||||
|
||||
@@ -965,7 +965,7 @@ dItem_fieldItemResource dItem_data::field_item_res_randomizer[] = {
|
||||
/* 0x7F */ {"F_gD_rupy", 0x0004,-0x0001,-0x0001, 0xFF, 0x1000},
|
||||
/* 0x80 */ {"O_gD_lttr", 0x0003,-0x0001,-0x0001, 0xFF, 0x1000},
|
||||
/* 0x81 */ {"O_gD_bill", 0x0003,-0x0001,-0x0001, 0xFF, 0x1000},
|
||||
/* 0x82 */ {"O_gD_wood", 0x0004,-0x0001,-0x0001, 0xFF, 0x1000},
|
||||
/* 0x82 */ {"O_wood", 0x0004,-0x0001,-0x0001, 0xFF, 0x1000},
|
||||
/* 0x83 */ {"O_gD_pend", 0x0003,-0x0001,-0x0001, 0xFF, 0x1000},
|
||||
/* 0x84 */ {"O_gD_pend", 0x0003,-0x0001,-0x0001, 0xFF, 0x1000},
|
||||
/* 0x85 */ {"T_gD_key", 0x0003,-0x0001,-0x0001, 0xFF, 0x1000},
|
||||
|
||||
@@ -2723,7 +2723,6 @@
|
||||
- Stage: 57
|
||||
Flag: 0x83
|
||||
|
||||
# TODO
|
||||
- Name: Wooden Statue
|
||||
Original Item: Wooden Statue
|
||||
Categories:
|
||||
@@ -2731,8 +2730,8 @@
|
||||
- Npc
|
||||
- Hyrule Field - Lanayru Province
|
||||
- REL
|
||||
Metadata:
|
||||
- None
|
||||
- Location Name Lookup
|
||||
Metadata: Wooden Statue
|
||||
|
||||
- Name: Lake Hylia Bridge Owl Statue Chest
|
||||
Original Item: Orange Rupee
|
||||
|
||||
Reference in New Issue
Block a user