mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-07 03:54:58 -04:00
cave of ordeals fairy check
This commit is contained in:
@@ -559,6 +559,14 @@ BOOL dSv_player_item_c::checkInsectBottle() {
|
||||
u8 dSv_player_item_c::checkEmptyBottle() {
|
||||
u8 bottleNum = 0;
|
||||
|
||||
#if TARGET_PC
|
||||
if (randomizer_IsActive() && getStageID() == Cave_of_Ordeals) {
|
||||
// Return 1 to allow the player to collect the item from the floor 50 reward,
|
||||
// as this will make the game think that the player has an empty bottle.
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
for (int i = 0; i < BOTTLE_MAX; i++) {
|
||||
if (mItems[i + SLOT_11] == dItemNo_EMPTY_BOTTLE_e) {
|
||||
bottleNum++;
|
||||
|
||||
Reference in New Issue
Block a user