| 1 |
if (live_call()) |
| 2 |
return global.live_result; |
| 3 |
with (other) |
| 4 |
{ |
| 5 |
var player_weapon = global.player_weapon; |
| 6 |
var player_weapon_modifier = global.player_weapon_modifier; |
| 7 |
switch (player_weapon) |
| 8 |
{ |
| 9 |
case "Wild Revolver": |
| 10 |
switch (player_weapon_modifier) |
| 11 |
{ |
| 12 |
case "Pebble Ammo": |
| 13 |
target_sprite = 1612; |
| 14 |
break; |
| 15 |
case "Cff Bean Ammo": |
| 16 |
target_sprite = 1614; |
| 17 |
break; |
| 18 |
case "Glass Ammo": |
| 19 |
target_sprite = 1615; |
| 20 |
break; |
| 21 |
case "Silver Ammo": |
| 22 |
target_sprite = 2495; |
| 23 |
break; |
| 24 |
case "Nails": |
| 25 |
target_sprite = 1211; |
| 26 |
break; |
| 27 |
case "Friendliness Pellets": |
| 28 |
target_sprite = 3283; |
| 29 |
break; |
| 30 |
case "Ice Pellets": |
| 31 |
target_sprite = 1613; |
| 32 |
break; |
| 33 |
case "Flint": |
| 34 |
target_sprite = 1616; |
| 35 |
break; |
| 36 |
default: |
| 37 |
target_sprite = 1611; |
| 38 |
} |
| 39 |
break; |
| 40 |
} |
| 41 |
image_speed = 0; |
| 42 |
image_index = 0; |
| 43 |
image_alpha = 1; |
| 44 |
image_xscale = 1; |
| 45 |
image_yscale = 1; |
| 46 |
target_radius = 39; |
| 47 |
target_angle = 0; |
| 48 |
target_current = 0; |
| 49 |
target_max = 6; |
| 50 |
target_shrink_inc = 0.15; |
| 51 |
multishot_delay = 5; |
| 52 |
no_loop_delay = true; |
| 53 |
multishot_id = -4; |
| 54 |
gun_spin = false; |
| 55 |
sign_modifier = 1; |
| 56 |
time_elapsed = 0; |
| 57 |
time_max = 20; |
| 58 |
time_increase = 1; |
| 59 |
max_rise = 360 / target_max; |
| 60 |
for (i = 0; i < target_max; i++) |
| 61 |
tm[i] = time_max - (3 * i); |
| 62 |
continue_shot = true; |
| 63 |
instance_create(319, 320, obj_dialogue_box_battle_transformation_attack); |
| 64 |
with (obj_dialogue_box_battle_transformation_attack) |
| 65 |
{ |
| 66 |
sprite_width_destination = sprite_height; |
| 67 |
sprite_height_destination = sprite_height; |
| 68 |
max_frames_default = 10; |
| 69 |
transform_type = "in"; |
| 70 |
} |
| 71 |
} |