dBgS: Decomp dBgS_PolyPassChk::ChkNoHorse

The only querying function within the poly pass interface.
This commit is contained in:
Lioncash
2021-01-22 07:39:54 -05:00
parent 4bcd3d4ca1
commit 628596ffe6
2 changed files with 5 additions and 37 deletions
+5 -5
View File
@@ -83,11 +83,11 @@ void dBgS_PolyPassChk::SetHorse() {
mHorse = true;
}
// ChkNoHorse__16dBgS_PolyPassChkFv
// dBgS_PolyPassChk::ChkNoHorse(void)
asm bool dBgS_PolyPassChk::ChkNoHorse() {
nofralloc
#include "d/d_bg/d_bg_s/polypass/asm/func_80078F04.s"
bool dBgS_PolyPassChk::ChkNoHorse() {
if (mObject || mCamera || mLink || mArrow || mBomb || mBoomerang || mRope || mUnderwaterRoof) {
return true;
}
return !mHorse;
}
void dBgS_PolyPassChk::SetStatue() {