1 | if (live_call()) |
2 | return global.live_result; |
3 | var battle_box = 3154; |
4 | show_debug_message(bullet_dist); |
5 | if (bullet_dist < 3) |
6 | instance_destroy(); |
7 | switch (scene) |
8 | { |
9 | case 0: |
10 | break; |
11 | case 1: |
12 | if (speed_current < speed_max) |
13 | speed_current += accel_speed; |
14 | bullet_dist -= speed_current; |
15 | break; |
16 | } |
17 | x = battle_box.x + lengthdir_x(bullet_dist, direction); |
18 | y = battle_box.y + lengthdir_y(bullet_dist, direction); |