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:
TakaRikka
2024-12-10 08:46:19 -08:00
committed by GitHub
parent 3fa6b50e6a
commit 8d73439554
100 changed files with 4161 additions and 3958 deletions
+4 -4
View File
@@ -1359,15 +1359,15 @@ case1and2:
if (get_item) {
int item_no;
if (dComIfGs_getLife() <= 4) {
item_no = HEART;
item_no = fpcNm_ITEM_HEART;
} else {
int rnd = cM_rndF(11.0f);
if (rnd <= 5) {
item_no = HEART;
item_no = fpcNm_ITEM_HEART;
} else if (rnd <= 9) {
item_no = GREEN_RUPEE;
item_no = fpcNm_ITEM_GREEN_RUPEE;
} else {
item_no = BLUE_RUPEE;
item_no = fpcNm_ITEM_BLUE_RUPEE;
}
}