mirror of https://github.com/zeldaret/tp.git
27 lines
814 B
C++
27 lines
814 B
C++
//
|
|
// Generated By: dol2asm
|
|
// Translation Unit: d/d_bomb
|
|
//
|
|
|
|
#include "d/d_bomb.h"
|
|
#include "d/d_procname.h"
|
|
#include "dol2asm.h"
|
|
#include "dolphin/types.h"
|
|
#include "f_op/f_op_actor_mng.h"
|
|
|
|
bool dBomb_c::checkStateCarry() {
|
|
return (fopAcM_checkCarryNow(&mActor) || fopAcM_checkHookCarryNow(&mActor) ||
|
|
fopAcM_GetParam(&mActor) == 2 || fopAcM_GetParam(&mActor) == 1);
|
|
}
|
|
|
|
bool dBomb_c::checkFlowerBombWait(fopAc_ac_c* param_1) {
|
|
return (fopAcM_GetName(&mActor) == PROC_NBOMB && fopAcM_GetParam(&mActor) == 4);
|
|
}
|
|
|
|
bool dBomb_c::checkWaterBomb(fopAc_ac_c* param_1) {
|
|
return (fopAcM_GetName(&mActor) == PROC_NBOMB && daNbomb_c::checkWaterBomb());
|
|
}
|
|
|
|
bool dBomb_c::checkInsectBombMove(fopAc_ac_c* param_1) {
|
|
return (fopAcM_GetName(&mActor) == PROC_NBOMB && fopAcM_GetParam(&mActor) == 7);
|
|
} |