mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-15 12:39:11 -04:00
Add dBgS_AttributeCode enum
This commit is contained in:
@@ -821,7 +821,13 @@ BOOL daArrow_c::procMove() {
|
||||
s32 attribCode = dComIfG_Bgsp()->GetAttributeCode(mLinChk);
|
||||
s32 mtrlSndId = dComIfG_Bgsp()->GetMtrlSndId(mLinChk);
|
||||
|
||||
if (mArrowType == TYPE_NORMAL && (attribCode == 0x3 || attribCode == 0x14 || attribCode == 0xF || attribCode == 0x9 || attribCode == 0x15)) {
|
||||
if (mArrowType == TYPE_NORMAL && (
|
||||
attribCode == dBgS_Attr_STONE_e ||
|
||||
attribCode == dBgS_Attr_METAL_e ||
|
||||
attribCode == dBgS_Attr_ICE_e ||
|
||||
attribCode == dBgS_Attr_DAMAGE_e ||
|
||||
attribCode == dBgS_Attr_FREEZE_e
|
||||
)) {
|
||||
mCurrProcFunc = &procReturn;
|
||||
fopAcM_SetParam(this, 3);
|
||||
speed *= -0.1f;
|
||||
|
||||
@@ -4108,7 +4108,7 @@ BOOL daPy_lk_c::checkLavaFace(cXyz* param_1, int attributeCode) {
|
||||
}
|
||||
}
|
||||
|
||||
if (attributeCode == 6) {
|
||||
if (attributeCode == dBgS_Attr_LAVA_e) {
|
||||
if (param_1) {
|
||||
current.pos.y = m35D4;
|
||||
}
|
||||
@@ -4117,7 +4117,7 @@ BOOL daPy_lk_c::checkLavaFace(cXyz* param_1, int attributeCode) {
|
||||
} else {
|
||||
return dProcLavaDamage_init();
|
||||
}
|
||||
} else if (attributeCode == 8) {
|
||||
} else if (attributeCode == dBgS_Attr_VOID_e) {
|
||||
startRestartRoom(5, 0xC9, -1.0f, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user