cave of ordeals fairy check

This commit is contained in:
gymnast86
2026-05-03 05:33:13 -07:00
parent 28e907aafd
commit 0a8cbc8f08
3 changed files with 22 additions and 8 deletions
+8
View File
@@ -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++;