* reverse should

This commit is contained in:
Fredrik Andréasson 2025-01-22 08:26:59 +01:00
parent 476cf01ee0
commit 5a93a39310
3 changed files with 8 additions and 8 deletions

View File

@ -524,7 +524,7 @@ Dungeons::Dungeons() {
RC_JABU_JABUS_BELLY_BARINADE_POT_4,
RC_JABU_JABUS_BELLY_BARINADE_POT_5,
RC_JABU_JABUS_BELLY_BARINADE_POT_6,
},
},
{
// MQ Pots
RC_JABU_JABUS_BELLY_MQ_ENTRANCE_POT_1,
@ -544,7 +544,7 @@ Dungeons::Dungeons() {
RC_JABU_JABUS_BELLY_BARINADE_POT_4,
RC_JABU_JABUS_BELLY_BARINADE_POT_5,
RC_JABU_JABUS_BELLY_BARINADE_POT_6,
},
},
{},
{
// MQ Grass

View File

@ -86,9 +86,9 @@ void ShuffleGrass_OnVanillaBehaviorHandler(GIVanillaBehavior id, bool* should, v
EnKusa* grassActor = va_arg(args, EnKusa*);
if (EnKusa_RandomizerHoldsItem(grassActor, gPlayState)) {
grassActor->actor.draw = (ActorFunc)EnKusa_RandomizerDraw;
*should = true;
} else {
*should = false;
} else {
*should = true;
}
}
@ -99,9 +99,9 @@ void ShuffleGrass_OnVanillaBehaviorHandler(GIVanillaBehavior id, bool* should, v
EnKusa_RandomizerSpawnCollectible(grassActor, gPlayState);
grassActor->grassIdentity.randomizerCheck = RC_MAX;
grassActor->grassIdentity.randomizerInf = RAND_INF_MAX;
*should = true;
} else {
*should = false;
} else {
*should = true;
}
}

View File

@ -127,7 +127,7 @@ s32 EnKusa_SnapToFloor(EnKusa* this, PlayState* play, f32 yOffset) {
void EnKusa_DropCollectible(EnKusa* this, PlayState* play) {
s16 dropParams;
if (GameInteractor_Should(VB_GRASS_DROP_ITEM, false, this)) {
if (!GameInteractor_Should(VB_GRASS_DROP_ITEM, false, this)) {
return;
}
@ -292,7 +292,7 @@ void EnKusa_WaitObject(EnKusa* this, PlayState* play) {
EnKusa_SetupMain(this);
}
if (GameInteractor_Should(VB_GRASS_SETUP_DRAW, false, this)) {
if (!GameInteractor_Should(VB_GRASS_SETUP_DRAW, false, this)) {
return;
}