| 1255 | } |
| 1256 | |
| 1257 | static S32 leapCB(xGoal* rawgoal, void*, en_trantype* trantype, F32 dt, void*) |
| 1258 | { |
| 1259 | zNPCGoalBossSandyLeap* leap = (zNPCGoalBossSandyLeap*)rawgoal; |
| 1260 | zNPCBSandy* sandy = (zNPCBSandy*)leap->psyche->clt_owner; |
| 1261 | S32 nextgoal = 0; |
| 1262 | |
| 1263 | if (leap->stage == 3) |
| 1264 | { |
| 1265 | if (sandy->AnimTimeRemain(NULL) < 1.7000000476837158f * dt) // 1.7 |
| 1266 | { |
| 1267 | if (sandy->bossFlags & 2) |
| 1268 | { |
| 1269 | *trantype = GOAL_TRAN_SET; |
| 1270 | nextgoal = 'NGB9'; |
| 1271 | } |
| 1272 | else |
| 1273 | { |
| 1274 | *trantype = GOAL_TRAN_SET; |
| 1275 | nextgoal = 'NGB8'; |
| 1276 | } |
| 1277 | } |
| 1278 | } |
| 1279 | |
| 1280 | return nextgoal; |
| 1281 | } |
| 1282 | |
| 1283 | static S32 sitCB(xGoal* rawgoal, void*, en_trantype* trantype, F32 dt, void*) |
| 1284 | { |
nothing calls this directly
no test coverage detected