| 931 | } |
| 932 | |
| 933 | void oob_state::force_start() |
| 934 | { |
| 935 | if ((shared.flags & 0x7) == 0x3 && !bungee_state::active()) |
| 936 | { |
| 937 | if (globals.player.ControlOff & 0x8000) |
| 938 | { |
| 939 | shared.flags |= 0x8; |
| 940 | oob_player_teleported = false; |
| 941 | } |
| 942 | else |
| 943 | { |
| 944 | shared.flags &= ~0x8; |
| 945 | shared.state->stop(); |
| 946 | shared.state = shared.states[2]; |
| 947 | shared.state->start(); |
| 948 | } |
| 949 | } |
| 950 | } |
| 951 | |
| 952 | void oob_state::read_persistent(xSerial& s) |
| 953 | { |