MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / canSpawnChucks

Method canSpawnChucks

src/SB/Game/zNPCTypeBossPatrick.cpp:1675–1689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1673 if (globals.player.DamageTimer != 0.0f)
1674 {
1675 if (!(this->nfFlags & 0x400))
1676 {
1677 this->numPCHitsInARow++;
1678 this->numMissesInARow = 0;
1679 }
1680
1681 this->nfFlags |= 0x400;
1682 }
1683 else
1684 {
1685 this->nfFlags &= 0xfffffbff;
1686 }
1687
1688 zNPCCommon::Process(xscn, dt);
1689}
1690
1691void zNPCBPatrick::DuploNotice(en_SM_NOTICES note, void* data)
1692{

Callers 1

nextGoalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected