| 1 |
if (live_call()) |
| 2 |
return global.live_result; |
| 3 |
if (window_has_focus()) |
| 4 |
{ |
| 5 |
if (instance_exists(obj_dialogue) || instance_exists(obj_dialogue_battle) || instance_exists(obj_quote_bubble_battle)) |
| 6 |
{ |
| 7 |
keyboard_key_release(ord("X")); |
| 8 |
keyboard_key_press(ord("X")); |
| 9 |
keyboard_key_release(ord("X")); |
| 10 |
if (!alarm[0]) |
| 11 |
alarm[0] = 3;gml_Object_obj_debug_skipper_Alarm_0.gmlif (live_call())
return global.live_result;
if (instance_exists(obj_dialogue) || instance_exists(obj_dialogue_battle) || instance_exists(obj_quote_bubble_battle))
{
keyboard_key_release(ord("Z"));
keyboard_key_press(ord("Z"));
} |
| 12 |
} |
| 13 |
} |
| 14 |
else |
| 15 |
{ |
| 16 |
keyboard_key_release(ord("Z")); |
| 17 |
keyboard_key_release(ord("X")); |
| 18 |
alarm[0] = -1;gml_Object_obj_debug_skipper_Alarm_0.gmlif (live_call())
return global.live_result;
if (instance_exists(obj_dialogue) || instance_exists(obj_dialogue_battle) || instance_exists(obj_quote_bubble_battle))
{
keyboard_key_release(ord("Z"));
keyboard_key_press(ord("Z"));
} |
| 19 |
} |
| 20 |
if (global.current_hp_self < global.max_hp_self) |
| 21 |
global.current_hp_self = global.max_hp_self; |
| 22 |
if (room != rm_battle && room != rm_battle_flowey && room != rm_battle_flowey_phase_2 && room != rm_mew_mew && !instance_exists(obj_puzzle_collider_snowdin_19) && !instance_exists(obj_puzzle_controller_overworld_yellow) && !keyboard_check(vk_tab)) |
| 23 |
room_speed = 150; |
| 24 |
else if ((room == rm_battle || room == rm_battle_flowey || room == rm_battle_flowey_phase_2) && !keyboard_check(vk_tab)) |
| 25 |
room_speed = 150; |
| 26 |
else |
| 27 |
room_speed = 30; |
| 28 |
with (all) |
| 29 |
{ |
| 30 |
if (image_index < (image_number - 1)) |
| 31 |
image_index = image_number - 1; |
| 32 |
if (image_speed > 0) |
| 33 |
image_speed = 1; |
| 34 |
} |
| 35 |
if (room == rm_battle) |
| 36 |
{ |
| 37 |
if (global.battling_boss == false) |
| 38 |
{ |
| 39 |
global.enemy_sparing = true; |
| 40 |
global.enemy_sparing_2 = true; |
| 41 |
global.enemy_sparing_3 = true; |
| 42 |
} |
| 43 |
else if (keyboard_check_pressed(ord("S"))) |
| 44 |
{ |
| 45 |
global.enemy_sparing = true; |
| 46 |
} |
| 47 |
if (instance_exists(obj_toy_gun_circle)) |
| 48 |
{ |
| 49 |
with (obj_toy_gun_circle) |
| 50 |
{ |
| 51 |
if (outline <= (small_circle * 0.25)) |
| 52 |
{ |
| 53 |
keyboard_key_press(ord("Y")); |
| 54 |
keyboard_key_release(ord("Y")); |
| 55 |
} |
| 56 |
} |
| 57 |
} |
| 58 |
if (instance_exists(obj_toy_gun_circle_multi)) |
| 59 |
{ |
| 60 |
with (obj_toy_gun_circle_multi) |
| 61 |
{ |
| 62 |
if (circle_current <= final_circle && outline[circle_current] <= (small_circle * 0.25)) |
| 63 |
{ |
| 64 |
keyboard_key_press(ord("Y")); |
| 65 |
keyboard_key_release(ord("Y")); |
| 66 |
} |
| 67 |
} |
| 68 |
} |
| 69 |
if (instance_exists(obj_wild_revolver_circle)) |
| 70 |
{ |
| 71 |
with (obj_wild_revolver_circle) |
| 72 |
{ |
| 73 |
if (outline <= (small_circle * 0.5)) |
| 74 |
{ |
| 75 |
keyboard_key_press(ord("Y")); |
| 76 |
keyboard_key_release(ord("Y")); |
| 77 |
} |
| 78 |
} |
| 79 |
} |
| 80 |
if (instance_exists(obj_wild_revolver_circle_multi)) |
| 81 |
{ |
| 82 |
with (obj_wild_revolver_circle_multi) |
| 83 |
{ |
| 84 |
if (circle_current <= final_circle && outline[circle_current] <= (small_circle * 0.25)) |
| 85 |
{ |
| 86 |
keyboard_key_press(ord("Y")); |
| 87 |
keyboard_key_release(ord("Y")); |
| 88 |
} |
| 89 |
} |
| 90 |
} |
| 91 |
} |