mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-06 11:51: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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user