diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2024-12-10 08:46:19 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-10 18:46:19 +0200 |
| commit | 8d73439554beb2b4870b86159aa2e676357792b7 (patch) | |
| tree | f146d56805cdbbf0ee01412b66d328396d2b0305 /src/d/d_menu_item_explain.cpp | |
| parent | 3fa6b50e6ab76f8d6fed3c92a70084db2f0e221e (diff) | |
tbox/camera/d_bg_w_kcol work and cleanup (#2262)
* some camera/tbox cleanup
* d_bg_w_kcol work
* make item name enum better
Diffstat (limited to 'src/d/d_menu_item_explain.cpp')
| -rw-r--r-- | src/d/d_menu_item_explain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/d_menu_item_explain.cpp b/src/d/d_menu_item_explain.cpp index eafb323afb..9199981784 100644 --- a/src/d/d_menu_item_explain.cpp +++ b/src/d/d_menu_item_explain.cpp @@ -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); } -}
\ No newline at end of file +} |
