1 | if live_call() |
2 | return global.live_result; |
3 | switch cart_color |
4 | { |
5 | case "yellow": |
6 | side_sprite = spr_mc_yellow_side |
7 | forward_sprite = 1152 |
8 | drain_sprite = 1153 |
9 | break |
10 | case "green": |
11 | side_sprite = spr_mc_green_side |
12 | forward_sprite = 1159 |
13 | drain_sprite = 1161 |
14 | break |
15 | case "blue": |
16 | side_sprite = spr_mc_blue_side |
17 | forward_sprite = 1169 |
18 | drain_sprite = 1170 |
19 | break |
20 | } |
21 | |
22 | sprite_index = side_sprite |