Object Property Enum

This commit is contained in:
elijah-thomas774
2025-09-16 21:55:32 -04:00
parent d591961dbd
commit 0a2b38da2b
16 changed files with 75 additions and 40 deletions
+4 -4
View File
@@ -1192,9 +1192,9 @@ int dAcTbox_c::actorExecute() {
dRoom_c *r = dStage_c::GetInstance()->getRoom(mRoomID);
bool hasFlags = r->checkFlag(0x1E);
if (hasFlags) {
setObjectProperty(0x200);
setObjectProperty(OBJ_PROP_0x200);
} else {
unsetObjectProperty(0x200);
unsetObjectProperty(OBJ_PROP_0x200);
}
if (hasFlags) {
@@ -1328,9 +1328,9 @@ int dAcTbox_c::actorExecuteInEvent() {
dRoom_c *r = dStage_c::GetInstance()->getRoom(mRoomID);
bool hasFlags = r->checkFlag(0x1E);
if (hasFlags) {
setObjectProperty(0x200);
setObjectProperty(OBJ_PROP_0x200);
} else {
unsetObjectProperty(0x200);
unsetObjectProperty(OBJ_PROP_0x200);
}
if (hasFlags) {