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

Function StunBubbleTrail

src/SB/Game/zEntPlayer.cpp:3540–3550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3538}
3539
3540static U8 StunBubbleTrail(xAnimSingle* anim)
3541{
3542 S32 ret = 0;
3543 xAnimState* state = anim->State;
3544 if ((strcmp(state->Name, "StunFall") == 0) ||
3545 ((strcmp(state->Name, "StunJump") == 0) && (anim->Time >= 0.6f) && (anim->Time <= 1.0f)))
3546 {
3547 ret = 1;
3548 }
3549 return ret;
3550}
3551
3552static U8 BubbleBashContrails(xAnimSingle* anim)
3553{

Callers

nothing calls this directly

Calls 1

strcmpFunction · 0.85

Tested by

no test coverage detected