mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 13:23:45 -07:00
Shuffle cleanup (#5222)
* Shuffle cleanup * Grass can be cut with Goron's Bracelet * Gohma's grass can be cut without defeating Gohma * more whitespace
This commit is contained in:
parent
3e34934e01
commit
b417b87d1c
7 changed files with 78 additions and 78 deletions
|
@ -53,7 +53,7 @@ std::unordered_map<int8_t, RandomizerCheck> Rando::StaticData::randomizerGrottoF
|
||||||
|
|
||||||
ActorFunc drawFishing = NULL;
|
ActorFunc drawFishing = NULL;
|
||||||
ActorFunc drawEnFish = NULL;
|
ActorFunc drawEnFish = NULL;
|
||||||
Color_RGBA16 fsPulseColor = { 30, 240, 200 };
|
Color_RGB8 fsPulseColor = { 30, 240, 200 };
|
||||||
|
|
||||||
namespace Rando {
|
namespace Rando {
|
||||||
const FishIdentity Fishsanity::defaultIdentity = { RAND_INF_MAX, RC_UNKNOWN_CHECK };
|
const FishIdentity Fishsanity::defaultIdentity = { RAND_INF_MAX, RC_UNKNOWN_CHECK };
|
||||||
|
@ -562,7 +562,7 @@ extern "C" {
|
||||||
Fishsanity_CloseGreyscaleColor(play);
|
Fishsanity_CloseGreyscaleColor(play);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Fishsanity_OpenGreyscaleColor(PlayState* play, Color_RGBA16* color, int16_t frameOffset) {
|
void Fishsanity_OpenGreyscaleColor(PlayState* play, Color_RGB8* color, int16_t frameOffset) {
|
||||||
OPEN_DISPS(play->state.gfxCtx);
|
OPEN_DISPS(play->state.gfxCtx);
|
||||||
gDPSetGrayscaleColor(
|
gDPSetGrayscaleColor(
|
||||||
POLY_OPA_DISP++, color->r, color->g, color->b,
|
POLY_OPA_DISP++, color->r, color->g, color->b,
|
||||||
|
|
|
@ -218,7 +218,7 @@ void Fishsanity_DrawEffShadow(Actor* actor, Lights* lights, PlayState* play);
|
||||||
void Fishsanity_DrawEnFish(struct Actor* actor, struct PlayState* play);
|
void Fishsanity_DrawEnFish(struct Actor* actor, struct PlayState* play);
|
||||||
/// Overriden actor draw function for the fishing pond
|
/// Overriden actor draw function for the fishing pond
|
||||||
void Fishsanity_DrawFishing(struct Actor* actor, struct PlayState* play);
|
void Fishsanity_DrawFishing(struct Actor* actor, struct PlayState* play);
|
||||||
void Fishsanity_OpenGreyscaleColor(PlayState* play, Color_RGBA16* color, int16_t frameOffset);
|
void Fishsanity_OpenGreyscaleColor(PlayState* play, Color_RGB8* color, int16_t frameOffset);
|
||||||
void Fishsanity_CloseGreyscaleColor(PlayState* play);
|
void Fishsanity_CloseGreyscaleColor(PlayState* play);
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
|
@ -450,14 +450,14 @@ void RegionTable_Init_DekuTree() {
|
||||||
// Locations
|
// Locations
|
||||||
LOCATION(RC_QUEEN_GOHMA, logic->DekuTreeClear),
|
LOCATION(RC_QUEEN_GOHMA, logic->DekuTreeClear),
|
||||||
LOCATION(RC_DEKU_TREE_QUEEN_GOHMA_HEART, logic->DekuTreeClear),
|
LOCATION(RC_DEKU_TREE_QUEEN_GOHMA_HEART, logic->DekuTreeClear),
|
||||||
LOCATION(RC_DEKU_TREE_QUEEN_GOHMA_GRASS_1, logic->DekuTreeClear && logic->CanCutShrubs()),
|
LOCATION(RC_DEKU_TREE_QUEEN_GOHMA_GRASS_1, logic->CanCutShrubs()),
|
||||||
LOCATION(RC_DEKU_TREE_QUEEN_GOHMA_GRASS_2, logic->DekuTreeClear && logic->CanCutShrubs()),
|
LOCATION(RC_DEKU_TREE_QUEEN_GOHMA_GRASS_2, logic->CanCutShrubs()),
|
||||||
LOCATION(RC_DEKU_TREE_QUEEN_GOHMA_GRASS_3, logic->DekuTreeClear && logic->CanCutShrubs()),
|
LOCATION(RC_DEKU_TREE_QUEEN_GOHMA_GRASS_3, logic->CanCutShrubs()),
|
||||||
LOCATION(RC_DEKU_TREE_QUEEN_GOHMA_GRASS_4, logic->DekuTreeClear && logic->CanCutShrubs()),
|
LOCATION(RC_DEKU_TREE_QUEEN_GOHMA_GRASS_4, logic->CanCutShrubs()),
|
||||||
LOCATION(RC_DEKU_TREE_QUEEN_GOHMA_GRASS_5, logic->DekuTreeClear && logic->CanCutShrubs()),
|
LOCATION(RC_DEKU_TREE_QUEEN_GOHMA_GRASS_5, logic->CanCutShrubs()),
|
||||||
LOCATION(RC_DEKU_TREE_QUEEN_GOHMA_GRASS_6, logic->DekuTreeClear && logic->CanCutShrubs()),
|
LOCATION(RC_DEKU_TREE_QUEEN_GOHMA_GRASS_6, logic->CanCutShrubs()),
|
||||||
LOCATION(RC_DEKU_TREE_QUEEN_GOHMA_GRASS_7, logic->DekuTreeClear && logic->CanCutShrubs()),
|
LOCATION(RC_DEKU_TREE_QUEEN_GOHMA_GRASS_7, logic->CanCutShrubs()),
|
||||||
LOCATION(RC_DEKU_TREE_QUEEN_GOHMA_GRASS_8, logic->DekuTreeClear && logic->CanCutShrubs()),
|
LOCATION(RC_DEKU_TREE_QUEEN_GOHMA_GRASS_8, logic->CanCutShrubs()),
|
||||||
}, {
|
}, {
|
||||||
// Exits
|
// Exits
|
||||||
Entrance(RR_DEKU_TREE_BOSS_ENTRYWAY, []{return true;}),
|
Entrance(RR_DEKU_TREE_BOSS_ENTRYWAY, []{return true;}),
|
||||||
|
|
|
@ -1079,7 +1079,7 @@ namespace Rando {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Logic::CanCutShrubs(){
|
bool Logic::CanCutShrubs(){
|
||||||
return CanUse(RG_KOKIRI_SWORD) || CanUse(RG_BOOMERANG) || HasExplosives() || CanUse(RG_MASTER_SWORD) || CanUse(RG_MEGATON_HAMMER) || CanUse(RG_BIGGORON_SWORD);
|
return CanUse(RG_KOKIRI_SWORD) || CanUse(RG_BOOMERANG) || HasExplosives() || CanUse(RG_MASTER_SWORD) || CanUse(RG_MEGATON_HAMMER) || CanUse(RG_BIGGORON_SWORD) || HasItem(RG_GORONS_BRACELET);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Logic::CanStunDeku(){
|
bool Logic::CanStunDeku(){
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue