| 963 | } |
| 964 | |
| 965 | void zNPCBSandy::hiddenByCutscene() |
| 966 | { |
| 967 | for (S32 i = 0; i < 3; i++) |
| 968 | { |
| 969 | this->underwear[i]->state = (this->underwear[i]->state & 0xffffffc0) | 1; |
| 970 | zEntEvent(this->underwear[i], eEventCollision_Visible_On); |
| 971 | this->underwear[i]->timer = 0.0f; // 0.0 |
| 972 | } |
| 973 | |
| 974 | switch (this->round) |
| 975 | { |
| 976 | case 1: |
| 977 | { |
| 978 | this->hangingScoreboard->chkby &= 0xef; |
| 979 | this->hangingScoreboard->flags |= 1; |
| 980 | this->bustedScoreboard->chkby &= 0xef; |
| 981 | this->bustedScoreboard->flags &= 0xfe; |
| 982 | this->crashedScoreboard->chkby &= 0xef; |
| 983 | this->crashedScoreboard->flags &= 0xfe; |
| 984 | |
| 985 | this->ropeObjectLo[4] = this->ropeSb; |
| 986 | |
| 987 | xEntHide(this->ropeSbDamaged); |
| 988 | xEntShow(this->ropeSb); |
| 989 | |
| 990 | gCurrentPlayer = eCurrentPlayerSpongeBob; |
| 991 | |
| 992 | zLightningShow(this->wireLight[0], 0); |
| 993 | zLightningShow(this->wireLight[1], 0); |
| 994 | |
| 995 | break; |
| 996 | } |
| 997 | case 2: |
| 998 | { |
| 999 | this->crashedScoreboard->chkby |= 0x10; |
| 1000 | this->crashedScoreboard->flags |= 1; |
| 1001 | this->hangingScoreboard->chkby &= 0xef; |
| 1002 | this->hangingScoreboard->flags &= 0xfe; |
| 1003 | this->bustedScoreboard->chkby &= 0xef; |
| 1004 | this->bustedScoreboard->flags &= 0xfe; |
| 1005 | |
| 1006 | this->ropeObjectLo[4] = this->ropeSbDamaged; |
| 1007 | |
| 1008 | xEntHide(this->ropeSb); |
| 1009 | xEntShow(this->ropeSbDamaged); |
| 1010 | |
| 1011 | zLightningShow(this->wireLight[0], 1); |
| 1012 | zLightningShow(this->wireLight[1], 1); |
| 1013 | |
| 1014 | gCurrentPlayer = eCurrentPlayerPatrick; |
| 1015 | |
| 1016 | break; |
| 1017 | } |
| 1018 | case 3: |
| 1019 | { |
| 1020 | gCurrentPlayer = eCurrentPlayerSpongeBob; |
| 1021 | break; |
| 1022 | } |
no test coverage detected