mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-29 16:14:54 -04:00
coro bottle check
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
#include "d/actor/d_a_e_ym.h"
|
||||
#include <cstring>
|
||||
|
||||
#include "dusk/randomizer/game/verify_item_functions.h"
|
||||
|
||||
static int l_bmdData[2][2] = {
|
||||
{35, 1},
|
||||
{18, 2},
|
||||
@@ -1181,6 +1183,15 @@ int daNpc_Kkri_c::talk(void*) {
|
||||
switch (eventId) {
|
||||
case 1:
|
||||
if (mItemPartnerId == fpcM_ERROR_PROCESS_ID_e) {
|
||||
#if TARGET_PC
|
||||
if (randomizer_IsActive()) {
|
||||
if (item_no == dItemNo_OIL_BOTTLE3_e) {
|
||||
item_no = verifyProgressiveItem(randomizer_getItemAtLocation("Coro Bottle"));
|
||||
} /*else if (item_no == dItemNo_SMALL_KEY_e) { // Might be Small Key 2
|
||||
item_no = verifyProgressiveItem(randomizer_getItemAtLocation("Coro Gate Key"));
|
||||
}*/
|
||||
}
|
||||
#endif
|
||||
mItemPartnerId = fopAcM_createItemForPresentDemo(¤t.pos, item_no, 0, -1, -1, NULL, NULL);
|
||||
}
|
||||
|
||||
|
||||
@@ -428,7 +428,6 @@
|
||||
Metadata:
|
||||
- None
|
||||
|
||||
# TODO
|
||||
- Name: Coro Bottle
|
||||
Original Item: Bottle with Lantern Oil
|
||||
Categories:
|
||||
@@ -436,8 +435,8 @@
|
||||
- Npc
|
||||
- Faron Woods
|
||||
- ARC
|
||||
Metadata:
|
||||
- None
|
||||
- Location Name Lookup
|
||||
Metadata: Coro Bottle
|
||||
|
||||
# TODO
|
||||
- Name: Faron Woods Coro Boulder Rupee 1
|
||||
|
||||
Reference in New Issue
Block a user