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

Method Unbonk

src/SB/Game/zNPCTypeRobot.cpp:1585–1594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1583}
1584
1585void zNPCTubelet::Unbonk()
1586{
1587 ModelAtomicShow(0, NULL);
1588 ModelAtomicHide(1, NULL);
1589 ModelAtomicHide(4, NULL);
1590 hitpoints = cfg_npc->pts_damage;
1591 // Epilogue weirdness
1592 pflags &= 0xdf;
1593 bonkSpinRate = -1.0;
1594}
1595
1596void zNPCTubeSlave::Reset()
1597{

Callers

nothing calls this directly

Calls 2

ModelAtomicShowFunction · 0.85
ModelAtomicHideFunction · 0.85

Tested by

no test coverage detected