mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-20 21:53:52 -04:00
Started work on pushable boxes (#32)
* Started work on pushable boxes * Minor fixes * Fix inlines * Comment GetHomeRoomNo
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
+869
-666
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user