beans: fix generation for starting with planted beans (#6099)
beans is 0 in inventory, confusing CanPlantBeanCheck, check for this specific scenario in BeanPlanted to mitigate
This commit is contained in:
@@ -786,6 +786,8 @@ bool BeanPlanted(const RandomizerGet bean) {
|
||||
// flag irrelevant if plant won't spawn
|
||||
if (!logic->HasItem(bean)) {
|
||||
return false;
|
||||
} else if (ctx->GetOption(RSK_SKIP_PLANTING_BEANS) && ctx->GetOption(RSK_STARTING_BEANS)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// swchFlag found using the Actor Viewer to get the Obj_Bean parameters & 0x3F
|
||||
|
||||
Reference in New Issue
Block a user