0:
  goto 1 if LevelOption[12] else 2
1:
  10000[0] <- EntityData[0]
  EntityData[0] <- Negate(10000[0])
  10000[0] <- EntityData[2]
  EntityData[2] <- Negate(10000[0])
  goto 2
2:
  10000[0] <- EntityData[1]
  EntityData[5] <- BeatToTime(10000[0])
  10000[0] <- EntityData[5]
  EntityData[6] <- TimeToScaledTime(10000[0])
  10000[0] <- EntityData[6]
  EntityData[7] <- Subtract(10000[0], Divide(6.0, LevelOption[1]))
  10000[0] <- EntityData[11]
  EntityData[8] <- TimeToScaledTime(10000[0])
  goto 3 if And(And(GreaterOr(EntityInfo[1], -14.0), Less(EntityInfo[1], 14.0)), Equal(Trunc(EntityInfo[1]), EntityInfo[1])) else 74
3:
  10000[0] <- Add(3.0, Add(EntityInfo[1], Multiply(Less(EntityInfo[1], 0), 14.0)))
  10000[1] <- 0
  goto when EngineRom[10000[0]]
    1.0 -> 9
    2.0 -> 8
    3.0 -> 7
    4.0 -> 6
    5.0 -> 5
    7.0 -> 4
    default -> 10
4:
  10000[1] <- 2.0
  goto 10
5:
  10000[1] <- 3.0
  goto 10
6:
  10000[1] <- 1.0
  goto 10
7:
  10000[1] <- 5.0
  goto 10
8:
  10000[1] <- 4.0
  goto 10
9:
  10000[1] <- 0
  goto 10
10:
  EntityInput[1] <- 10000[1]
  10000[0] <- EntityData[5]
  EntityInput[0] <- 10000[0]
  EntityData[9] <- EntityInfo[0]
  goto 11
11:
  10000[0] <- EntityData[9]
  10000[0] <- Add(3.0, Multiply(10000[0], 32.0))
  10000[0] <- EntityDataArray[10000[0]]
  goto 12 if Greater(10000[0], 0) else 13
12:
  10000[0] <- EntityData[9]
  10000[0] <- Add(3.0, Multiply(10000[0], 32.0))
  10000[0] <- EntityDataArray[10000[0]]
  EntityData[9] <- 10000[0]
  goto 11
13:
  EntityData[10] <- EntityInfo[0]
  goto 14
14:
  10000[0] <- EntityData[10]
  10000[0] <- Add(4.0, Multiply(10000[0], 32.0))
  10000[0] <- EntityDataArray[10000[0]]
  goto 15 if Greater(10000[0], 0) else 16
15:
  10000[0] <- EntityData[10]
  10000[0] <- Add(4.0, Multiply(10000[0], 32.0))
  10000[0] <- EntityDataArray[10000[0]]
  EntityData[10] <- 10000[0]
  goto 14
16:
  10000[0] <- RuntimeEnvironment[4]
  goto 17 if 10000[0] else 33
17:
  10000[0] <- EntityData[12]
  goto 18 if NotEqual(10000[0], 0) else 32
18:
  goto 19 if And(And(GreaterOr(EntityInfo[1], -14.0), Less(EntityInfo[1], 14.0)), Equal(Trunc(EntityInfo[1]), EntityInfo[1])) else 31
19:
  10000[0] <- Add(3.0, Add(EntityInfo[1], Multiply(Less(EntityInfo[1], 0), 14.0)))
  10000[1] <- EngineRom[10000[0]]
  10000[2] <- EntityData[12]
  10000[3] <- EntityData[11]
  goto 32 if Not(LevelOption[10]) else 20
20:
  goto when 10000[1]
    6.0 -> 32
    default -> 21
21:
  10000[0] <- 0
  goto when Subtract(10000[1], 2.0)
    0.0 -> 26
    1.0 -> 26
    default -> 22
22:
  goto when Subtract(10000[2], 1.0)
    0.0 -> 25
    1.0 -> 24
    2.0 -> 23
    default -> 30
23:
  10000[0] <- 3.0
  goto 30
24:
  10000[0] <- 2.0
  goto 30
25:
  10000[0] <- 1.0
  goto 30
26:
  goto when Subtract(10000[2], 1.0)
    0.0 -> 29
    1.0 -> 28
    2.0 -> 27
    default -> 30
27:
  10000[0] <- 6.0
  goto 30
28:
  10000[0] <- 5.0
  goto 30
29:
  10000[0] <- 4.0
  goto 30
30:
  PlayScheduled(10000[0], 10000[3], 0)
  goto 32
31:
  DebugLog(2.0)
  DebugPause()
  goto exit
32:
  10000[0] <- EntityData[13]
  EntityInput[2] <- Multiply(10000[0], 1000.0)
  goto 39
33:
  EntityData[12] <- 1.0
  goto 34 if And(And(GreaterOr(EntityInfo[1], -14.0), Less(EntityInfo[1], 14.0)), Equal(Trunc(EntityInfo[1]), EntityInfo[1])) else 73
34:
  10000[0] <- Add(3.0, Add(EntityInfo[1], Multiply(Less(EntityInfo[1], 0), 14.0)))
  10000[1] <- EntityData[5]
  goto 39 if Not(LevelOption[10]) else 35
35:
  goto when EngineRom[10000[0]]
    2.0 -> 37
    3.0 -> 37
    6.0 -> 39
    default -> 36
36:
  10000[2] <- 1.0
  goto 38
37:
  10000[2] <- 4.0
  goto 38
38:
  PlayScheduled(10000[2], 10000[1], 0)
  goto 39
39:
  10000[0] <- EntityData[3]
  goto 40 if Greater(10000[0], 0) else 72
40:
  10000[0] <- EntityData[4]
  goto 41 if Not(Greater(10000[0], 0)) else 72
41:
  10000[0] <- EntityData[9]
  10000[1] <- EntityData[10]
  Spawn(9.0, 10000[0], 10000[1], 0)
  10000[0] <- RuntimeEnvironment[4]
  goto 42 if 10000[0] else 70
42:
  10000[0] <- EntityData[9]
  10000[0] <- Multiply(10000[0], 3.0)
  goto 43 if LessOr(0, EntityInfoArray[10000[0]]) else 69
43:
  goto 44 if Less(EntityInfoArray[10000[0]], 99999.0) else 69
44:
  10000[0] <- Add(EntityInfoArray[10000[0]], 18.0)
  goto 45 if StreamHas(10000[0], -10.0) else 46
45:
  10000[1] <- -10.0
  goto 47
46:
  10000[1] <- StreamGetNextKey(10000[0], -10.0)
  goto 47
47:
  10000[3] <- 0
  10000[4] <- 0
  goto 48
48:
  goto 49 if StreamHas(10000[0], 10000[1]) else 66
49:
  10000[5] <- 10000[1]
  10000[2] <- StreamGetNextKey(10000[0], 10000[1])
  goto 51 if Greater(10000[2], 10000[1]) else 50
50:
  10000[2] <- inf
  goto 51
51:
  10000[6] <- EntityData[9]
  10000[6] <- Add(5.0, Multiply(10000[6], 32.0))
  10000[6] <- EntityDataArray[10000[6]]
  goto 52 if Less(10000[1], 10000[6]) else 53
52:
  10000[1] <- 10000[2]
  goto 48
53:
  10000[6] <- EntityData[10]
  10000[6] <- Add(5.0, Multiply(10000[6], 32.0))
  10000[6] <- EntityDataArray[10000[6]]
  goto 66 if Greater(10000[1], 10000[6]) else 54
54:
  goto 55 if StreamGetValue(10000[0], 10000[1]) else 57
55:
  goto 56 if Not(10000[4]) else 57
56:
  10000[4] <- 1.0
  goto 59 if Not(StreamGetValue(10000[0], 10000[1])) else 64
57:
  goto 58 if Not(StreamGetValue(10000[0], 10000[1])) else 63
58:
  10000[5] <- 10000[3]
  goto 59
59:
  goto 60 if 10000[4] else 64
60:
  10000[3] <- 10000[5]
  goto 61 if Not(LevelOption[10]) else 62
61:
  10000[4] <- 0
  goto 65
62:
  10000[4] <- PlayLoopedScheduled(7.0, 10000[5])
  StopLoopedScheduled(10000[4], 10000[1])
  10000[4] <- 0
  goto 65
63:
  10000[5] <- 10000[3]
  goto 64
64:
  10000[3] <- 10000[5]
  goto 65
65:
  10000[1] <- 10000[2]
  goto 48
66:
  goto 67 if 10000[4] else 72
67:
  10000[4] <- EntityData[10]
  10000[4] <- Add(5.0, Multiply(10000[4], 32.0))
  10000[4] <- EntityDataArray[10000[4]]
  goto 72 if Not(LevelOption[10]) else 68
68:
  10000[5] <- PlayLoopedScheduled(7.0, 10000[3])
  StopLoopedScheduled(10000[5], 10000[4])
  goto exit
69:
  DebugLog(4.0)
  DebugPause()
  goto exit
70:
  10000[0] <- EntityData[9]
  10000[0] <- Add(5.0, Multiply(10000[0], 32.0))
  10000[0] <- EntityDataArray[10000[0]]
  10000[1] <- EntityData[10]
  10000[1] <- Add(5.0, Multiply(10000[1], 32.0))
  10000[1] <- EntityDataArray[10000[1]]
  goto 72 if Not(LevelOption[10]) else 71
71:
  10000[2] <- PlayLoopedScheduled(7.0, 10000[0])
  StopLoopedScheduled(10000[2], 10000[1])
  goto exit
72:
  goto exit
73:
  DebugLog(3.0)
  DebugPause()
  goto exit
74:
  DebugLog(1.0)
  DebugPause()
  goto exit
