dAcArrow_c 99%

This commit is contained in:
robojumper
2026-05-23 22:58:30 +02:00
parent 483ac7b934
commit 916f07e286
12 changed files with 1098 additions and 119 deletions
+20
View File
@@ -552,6 +552,10 @@ public:
return mSrc.mDamage;
}
void SetInfo_0x0(u8 val) {
mSrc.mInfo.field_0x0 = val;
}
const cCcD_SrcGObjAt &GetSrc() const {
return mSrc;
}
@@ -605,6 +609,9 @@ public:
void Set_0x4C(u32 f) {
field_0x4C = f;
}
bool Chk_0x4C(u32 f) const {
return field_0x4C & f;
}
u32 MskType(u32 mask) const {
return mSrc.mType & mask;
@@ -930,6 +937,10 @@ public:
mTg.Set_0x4C(f);
}
bool ChkTg_0x4C(u32 f) const {
return mTg.Chk_0x4C(f);
}
void SetAtCallback(cCcD_HitCallback cb) {
mAt.SetCallback(cb);
}
@@ -981,12 +992,21 @@ public:
void OnAt_0x40() {
mAt.OnSPrm(0x40);
}
void OnAt_0x1000() {
mAt.OnSPrm(0x1000);
}
void OnAt_0x2000() {
mAt.OnSPrm(0x2000);
}
// Related to Beetle (no hook)
void OnAt_0x4000() {
mAt.OnSPrm(0x4000);
}
void SetAtInfo_0x0(u8 amount) {
mAt.SetInfo_0x0(amount);
}
void SetAtDamage(u8 amount) {
mAt.SetAtDamage(amount);