Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion soh/src/overlays/actors/ovl_En_Box/z_en_box.c
Original file line number Diff line number Diff line change
Expand Up @@ -611,8 +611,13 @@ void EnBox_UpdateSizeAndTexture(EnBox* this, PlayState* play) {
// Change size
if (!isVanilla && (csmc == CSMC_BOTH || csmc == CSMC_SIZE)) {
switch (getItemCategory) {
case ITEM_CATEGORY_JUNK:
case ITEM_CATEGORY_SMALL_KEY:
// Change the size if and only if size is selected.
// Otherwise, the texture change is sufficient.
Actor_SetScale(&this->dyna.actor, csmc == CSMC_SIZE ? 0.01f : 0.005f);
Actor_SetFocus(&this->dyna.actor, csmc == CSMC_SIZE ? 40.0f : 20.0f);
break;
case ITEM_CATEGORY_JUNK:
case ITEM_CATEGORY_SKULLTULA_TOKEN:
Actor_SetScale(&this->dyna.actor, 0.005f);
Actor_SetFocus(&this->dyna.actor, 20.0f);
Expand Down
Loading