1 | switch cart_color |
2 | { |
3 | case "yellow": |
4 | sprite_index = spr_mc_yellow_pad |
5 | break |
6 | case "green": |
7 | sprite_index = spr_mc_green_pad |
8 | break |
9 | case "blue": |
10 | sprite_index = spr_mc_blue_pad |
11 | break |
12 | } |