Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak: CTMC/CSMC for treasure mini game reward and set loser green rupee as junk #2652

Merged

Conversation

Archez
Copy link
Contributor

@Archez Archez commented Mar 29, 2023

Originally all green rupees (regular green rupees and loser green rupees) were marked as major items for CTMC/CSMC because it was funny for Greg memes. After the introduction of a dedicated Greg item, the regular green rupee was set back to junk, but the loser green rupee was missed. This PR sets the loser green rupee to now also be junk.

This PR also adds the final reward chest in the treasure chest mini game to support CTMC/CSMC (by checking the room of the actor), since before we were excluding the whole scene from using CTMC/CSMC. The rest of the chests still display as vanilla regardless of settings.

Fixes #2633

Build Artifacts

@@ -645,7 +647,8 @@ void EnBox_UpdateSizeAndTexture(EnBox* this, PlayState* play) {
}
}

if (play->sceneNum != SCENE_TAKARAYA && (cvar == 1 || cvar == 3) && ((agonyCVar > 0 && stoneCheck) | agonyCVar == 0)) {
// Change size
if (!isVanilla && (cstmc == 1 || cstmc == 3)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not in-scope for this PR, but figure this is probably something we shouldn't use magic numbers for #2656

@briaguya-ai briaguya-ai merged commit 545bc21 into HarbourMasters:develop-khan Apr 1, 2023
@Archez Archez deleted the fix-green-rupee-ctmc branch April 1, 2023 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants