mirror of
https://github.com/zeldaret/tp
synced 2026-06-10 20:59:01 -04:00
tbox/camera/d_bg_w_kcol work and cleanup (#2262)
* some camera/tbox cleanup * d_bg_w_kcol work * make item name enum better
This commit is contained in:
@@ -369,7 +369,7 @@ void dMenu_ItemExplain_c::open_init() {
|
||||
if (i_dStage_stagInfo_GetSaveTbl(dComIfGp_getStageStagInfo()) == 0x11) {
|
||||
s32 itemsObtained = 0;
|
||||
for (int i = 0; i < 3; i++) {
|
||||
if (checkItemGet(i + L2_KEY_PIECES1, 1) != 0) {
|
||||
if (checkItemGet(i + fpcNm_ITEM_L2_KEY_PIECES1, 1) != 0) {
|
||||
itemsObtained++;
|
||||
}
|
||||
}
|
||||
@@ -648,7 +648,7 @@ u8 dMenu_ItemExplain_c::openExplainDmap(u8 param_0, u8 param_1, u8 param_2, bool
|
||||
|
||||
if (i_dStage_stagInfo_GetSaveTbl(dComIfGp_getStageStagInfo()) == 0x11 && param_0 == 0x26) {
|
||||
for (int i = 0; i < 3; i++) {
|
||||
if (checkItemGet(i + L2_KEY_PIECES1, 1) != 0) {
|
||||
if (checkItemGet(i + fpcNm_ITEM_L2_KEY_PIECES1, 1) != 0) {
|
||||
itemsObtained++;
|
||||
}
|
||||
}
|
||||
@@ -830,4 +830,4 @@ void dMenu_ItemExplain_c::setScale() {
|
||||
f32 h = mpExpItemTex[0]->height / 48.0f * scale;
|
||||
mpInfoIcon->scale(w, h);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user