Add an option to always win the Goron spinning pot jackpot (#913)

This commit is contained in:
Josh Bodner 2022-07-24 13:00:54 -07:00 committed by Kenix3
commit 2d9129084e
2 changed files with 3 additions and 1 deletions

View file

@ -297,7 +297,7 @@ void func_808B7F74(BgSpot18Basket* this) {
shapeRotY = this->dyna.actor.shape.rot.y;
this->actionFunc = func_808B7FC0;
if ((shapeRotY < -0x2E93) || (shapeRotY >= 0x7C19)) {
if ((shapeRotY < -0x2E93) || (shapeRotY >= 0x7C19) || CVar_GetS32("gGoronPot", 0)) {
this->unk_218 = 2;
} else if (shapeRotY < 0x26C2) {
this->unk_218 = 1;