d_a_do done but nonmatching, d_a_obj_food OK (#2135)

This commit is contained in:
Caroline Madsen
2024-04-17 10:47:22 -04:00
committed by GitHub
parent ddb1f42c69
commit d253deb2b9
26 changed files with 3722 additions and 2629 deletions
+17
View File
@@ -690,4 +690,21 @@ inline void fopAcM_OnCarryType(fopAc_ac_c* pActor, fopAcM_CARRY param_2) {
pActor->carryType |= param_2;
}
enum fopAcM_FOOD {
fopAcM_FOOD_0,
fopAcM_FOOD_1,
fopAcM_FOOD_2,
fopAcM_FOOD_3,
fopAcM_FOOD_4,
fopAcM_FOOD_5,
};
inline void fopAcM_SetFoodStatus(fopAc_ac_c* actor, fopAcM_FOOD status) {
actor->field_0x567 = status;
}
inline bool fopAcM_CheckFoodStatus(const fopAc_ac_c* actor, fopAcM_FOOD status) {
return actor->field_0x567 == status;
}
#endif