| 1 | global.interact = 1; |
| 2 | if (fadein == 1 && vol < 0.9) |
| 3 | { |
| 4 | vol += 0.01; |
| 5 | caster_set_volume(specialsong, vol); |
| 6 | } |
| 7 | if (fadein == 2 && vol > 0) |
| 8 | { |
| 9 | vol -= 0.02; |
| 10 | caster_set_volume(specialsong, vol); |
| 11 | if (vol < 0.02) |
| 12 | { |
| 13 | alarm[2] = 10; |
| 14 | vol = 0; |
| 15 | } |
| 16 | } |
| 17 | if (control_check_pressed(0) && vol > 0.6) |
| 18 | fadein = 2; |