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
+1 -1
View File
@@ -809,7 +809,7 @@ static void action(e_ba_class* i_this) {
if (i_this->mKnockbackSpeed <= 1.0f || i_this->mAcch.ChkWallHit()) {
fopAcM_delete(i_this);
if (i_this->mHomeType == e_ba_class::HOME_APPEAR) {
// should be HEART : ARROW_10 but that gives incorrect code
// should be fpcNm_ITEM_HEART : fpcNm_ITEM_ARROW_10 but that gives incorrect code
int item_no = dComIfGs_getLife() <= 4 ? 0 : 0xE;
fopAcM_createItem(&i_this->current.pos, item_no, -1, -1, NULL, NULL, 0);
fopAcM_createDisappear(i_this, &i_this->current.pos, 6, 0, 0xff);