|
|
|
@ -481,7 +481,7 @@ void KaleidoScope_DrawEquipment(GlobalContext* globalCtx) {
@@ -481,7 +481,7 @@ void KaleidoScope_DrawEquipment(GlobalContext* globalCtx) {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (pauseCtx->cursorItem[PAUSE_EQUIP] == ITEM_BRACELET) { |
|
|
|
|
if (LINK_AGE_IN_YEARS == YEARS_CHILD) { |
|
|
|
|
if (LINK_AGE_IN_YEARS == YEARS_CHILD || gSaveContext.n64ddFlag) { |
|
|
|
|
pauseCtx->nameColorSet = 0; |
|
|
|
|
} else { |
|
|
|
|
pauseCtx->nameColorSet = 1; |
|
|
|
@ -672,18 +672,30 @@ void KaleidoScope_DrawEquipment(GlobalContext* globalCtx) {
@@ -672,18 +672,30 @@ void KaleidoScope_DrawEquipment(GlobalContext* globalCtx) {
|
|
|
|
|
if (LINK_AGE_IN_YEARS == YEARS_CHILD) { |
|
|
|
|
point = CUR_UPG_VALUE(sChildUpgrades[i]); |
|
|
|
|
if ((point != 0) && (CUR_UPG_VALUE(sChildUpgrades[i]) != 0)) { |
|
|
|
|
KaleidoScope_DrawQuadTextureRGBA32(globalCtx->state.gfxCtx, |
|
|
|
|
gItemIcons[sChildUpgradeItemBases[i] + point - 1], 32, 32, 0); |
|
|
|
|
if ((sChildUpgradeItemBases[i] + CUR_UPG_VALUE(sChildUpgrades[i]) - 1) == ITEM_GAUNTLETS_SILVER ||
|
|
|
|
|
(sChildUpgradeItemBases[i] + CUR_UPG_VALUE(sChildUpgrades[i]) - 1) == ITEM_GAUNTLETS_GOLD) { // Grey Out the Gauntlets
|
|
|
|
|
gsDPSetGrayscaleColor(POLY_KAL_DISP++, 109, 109, 109, 255); |
|
|
|
|
gsSPGrayscale(POLY_KAL_DISP++, true); |
|
|
|
|
} |
|
|
|
|
KaleidoScope_DrawQuadTextureRGBA32(globalCtx->state.gfxCtx, gItemIcons[sChildUpgradeItemBases[i] + point - 1], 32, 32, 0); |
|
|
|
|
gsSPGrayscale(POLY_KAL_DISP++, false); |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
if ((i == 0) && (CUR_UPG_VALUE(sAdultUpgrades[i]) == 0)) { |
|
|
|
|
KaleidoScope_DrawQuadTextureRGBA32( |
|
|
|
|
globalCtx->state.gfxCtx, |
|
|
|
|
gItemIcons[sChildUpgradeItemBases[i] + CUR_UPG_VALUE(sChildUpgrades[i]) - 1], 32, 32, 0); |
|
|
|
|
if ((i == 0) && (CUR_UPG_VALUE(sAdultUpgrades[i]) == 0)) { // If the player doesn't have the bow, load the current slingshot ammo upgrade instead.
|
|
|
|
|
{ |
|
|
|
|
gsDPSetGrayscaleColor(POLY_KAL_DISP++, 109, 109, 109, 255); // Grey Out Slingshot Bullet Bags
|
|
|
|
|
gsSPGrayscale(POLY_KAL_DISP++, true); |
|
|
|
|
} |
|
|
|
|
KaleidoScope_DrawQuadTextureRGBA32(globalCtx->state.gfxCtx, gItemIcons[sChildUpgradeItemBases[i] + CUR_UPG_VALUE(sChildUpgrades[i]) - 1], 32, 32, 0); |
|
|
|
|
gsSPGrayscale(POLY_KAL_DISP++, false); |
|
|
|
|
} else if (CUR_UPG_VALUE(sAdultUpgrades[i]) != 0) { |
|
|
|
|
KaleidoScope_DrawQuadTextureRGBA32( |
|
|
|
|
globalCtx->state.gfxCtx, |
|
|
|
|
gItemIcons[sAdultUpgradeItemBases[i] + CUR_UPG_VALUE(sAdultUpgrades[i]) - 1], 32, 32, 0); |
|
|
|
|
if ((sAdultUpgradeItemBases[i] + CUR_UPG_VALUE(sAdultUpgrades[i]) - 1) == ITEM_BRACELET && |
|
|
|
|
!(gSaveContext.n64ddFlag)) { // Grey Out the Goron Bracelet when Not Randomized
|
|
|
|
|
gsDPSetGrayscaleColor(POLY_KAL_DISP++, 109, 109, 109, 255); |
|
|
|
|
gsSPGrayscale(POLY_KAL_DISP++, true); |
|
|
|
|
} |
|
|
|
|
KaleidoScope_DrawQuadTextureRGBA32(globalCtx->state.gfxCtx, gItemIcons[sAdultUpgradeItemBases[i] + CUR_UPG_VALUE(sAdultUpgrades[i]) - 1], 32, 32, 0); |
|
|
|
|
gsSPGrayscale(POLY_KAL_DISP++, false); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
// Draw inventory screen icons
|
|
|
|
|