d_bomb OK (#28)

* Start Z2SceneMgr

* Various Fixes After Merge

* d_bomb OK

Co-authored-by: Pheenoh <pheenoh@gmail.com>
This commit is contained in:
jdflyer
2020-12-13 13:49:40 -07:00
committed by GitHub
parent edd655f934
commit b0cfabc8cc
5 changed files with 42 additions and 57 deletions
+17 -1
View File
@@ -1 +1,17 @@
// ok
#include "d/d_bomb/d_bomb.h"
bool dBomb_c::checkStateCarry(){
return ((unk_3 & 0x2000) != 0 || (unk_3 & 0x100000) != 0 || unk_2 == 2 || unk_2 == 1);
}
bool dBomb_c::checkFlowerBombWait(fopAc_ac_c* param_1){
return (unk_1 == 0x221 && unk_2 == 4);
}
bool dBomb_c::checkWaterBomb(fopAc_ac_c* param_1){
return (unk_1 == 0x221 && (unk_4 & 0x10)!=0);
}
bool dBomb_c::checkInsectBombMove(fopAc_ac_c* param_1){
return (unk_1 == 0x221 && unk_2 == 7);
}