Started work on pushable boxes (#32)

* Started work on pushable boxes

* Minor fixes

* Fix inlines

* Comment GetHomeRoomNo
This commit is contained in:
LagoLunatic
2023-09-14 18:42:57 -04:00
committed by GitHub
parent b0eb3c4f2b
commit c754cf4e2a
11 changed files with 936 additions and 687 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ static void event_start_check(andsw0_class* i_this) {
switch (i_this->mEventState) {
case 0:
default:
if (i_this->mEventIdx != -1 && i_fopAcM_isSwitch(i_this, i_this->mSwitchToSet)) {
if (i_this->mEventIdx != -1 && fopAcM_isSwitch(i_this, i_this->mSwitchToSet)) {
if (i_this->mEvtInfo.i_checkCommandDemoAccrpt()) {
i_this->mEventState++;
} else {
+1 -1
View File
@@ -166,7 +166,7 @@ void daItem_c::CreateInit() {
}
mSwitchId = (fpcM_GetParam(this) & 0x00FF0000) >> 0x10;
if (mSwitchId != 0xFF && i_fopAcM_isSwitch(this, mSwitchId)) {
if (mSwitchId != 0xFF && fopAcM_isSwitch(this, mSwitchId)) {
hide();
mStatusFlags |= 2;
}
File diff suppressed because it is too large Load Diff