| 104 | } |
| 105 | |
| 106 | void zNPCGoalJellyBumped::PlayWithAnimSpd() |
| 107 | { |
| 108 | zNPCJelly* npc = (zNPCJelly*)psyche->clt_owner; |
| 109 | |
| 110 | F32 pos_factor = npc->AnimTimeRemain(NULL) / npc->AnimDuration(NULL); |
| 111 | pos_factor = CLAMP(pos_factor, 0.01f, 1.0f); |
| 112 | pos_factor = SMOOTH(pos_factor, 1.0f, 3.0f); |
| 113 | |
| 114 | npc->AnimCurSingle()->CurrentSpeed = pos_factor; |
| 115 | } |
| 116 | |
| 117 | void zNPCGoalJellyBumped::StreakPrep() |
| 118 | { |
nothing calls this directly
no test coverage detected