1 | if live_call() |
2 | return global.live_result; |
3 | var battle_box = obj_dialogue_box_battle_transformation_any |
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 | default: |
17 | |
18 | } |
19 | |
20 | x = battle_box.x + (lengthdir_x(bullet_dist, direction)) |
21 | y = battle_box.y + (lengthdir_y(bullet_dist, direction)) |