ssEDFX 0 -1 -9000000 -1 <undefined> <undefined> 1 603 7 0 0 -1 2 self 0 0 1 instance_destroy(); /// The object for debug keyboard shortcuts. Lots of them. if (os_type == os_android) instance_destroy(); /* targetroom = rm_a0h11; bigdisplaytest = 0; viewmode = 0; pos_x = 0; pos_y = 0; state = 0; msg = 0; msg_loadout = 0; 1 603 7 0 0 -1 2 self 0 0 1 instance_destroy() if (os_type == os_android) instance_destroy(); /* if (mouse_check_button(mb_left) && global.ingame) { oCharacter.x = mouse_x; oCharacter.y = mouse_y; } 1 603 7 0 0 -1 2 self 0 0 1 /// 10fps room_speed = 10; 1 603 7 0 0 -1 2 self 0 0 1 /// 1fps room_speed = 1; 1 603 7 0 0 -1 2 self 0 0 1 /// 5fps room_speed = 5; 1 603 7 0 0 -1 2 self 0 0 1 /// 20fps room_speed = 20; 1 603 7 0 0 -1 2 self 0 0 1 /// 60fps room_speed = 60; 1 603 7 0 0 -1 2 self 0 0 1 /* global.gametime += 3000; 1 603 7 0 0 -1 2 self 0 0 1 /* var i_d = async_load[?"id"]; if (i_d == msg) { if (async_load[?"status"]) { value = async_load[?"value"]; if (value == 0) { global.targetx = 160; global.targety = 120; targetroom = asset_get_index("rm_a7b10"); if (global.ingame) room_goto(targetroom); } if (value == 1) { global.targetx = 256; global.targety = 114; targetroom = rm_a6a01; if (global.ingame) room_goto(targetroom); } if (value == 2) { global.targetx = 1208; global.targety = 192; targetroom = rm_a7b10; if (global.ingame) room_goto(targetroom); } if (value == 3) { global.targetx = 112; global.targety = 192; targetroom = rm_a0h13; if (global.ingame) room_goto(targetroom); } } // if (async_load[?"status"]) } // if (i_d == msg) if (i_d == msg_loadout) { if (async_load[?"status"]) { value = async_load[?"value"]; get_loadout(value); } } 1 603 7 0 0 -1 2 self 0 0 1 /* if (viewmode == 1) debug_view_1(); if (viewmode == 2) { with (oSolid) visible = true; debug_view_2(); } if (viewmode == 4) { debug_view_events(); debug_view_items(); debug_view_monsters(); } 1 603 7 0 0 -1 2 self 0 0 1 /* draw_set_color(c_blue); draw_set_alpha(1); draw_set_color(c_black); draw_set_font(fontMenuTiny); draw_set_color(c_white); draw_set_alpha(0.6); draw_set_halign(fa_right); if (0) draw_text(view_xview[0] + view_wview[0] - 2, view_yview[0] + 232, "Ver. 1.1 T1"); if (0) draw_text(view_xview[0] + view_wview[0] - 2, view_yview[0] + 232, "WORK IN PROGRESS"); draw_set_alpha(1); draw_set_halign(fa_left); if (viewmode == 2) { with (oGotoRoom) { draw_set_color(c_yellow); draw_set_alpha(1); if (direction == 0 || direction == 180) draw_rectangle(x - 1, y, x, y - height, true); if (direction == 90 || direction == 270) draw_rectangle(x, y - 1, x + height, y, true); draw_set_alpha(1); } with (oCameraLimit) { draw_set_color(c_green); draw_set_alpha(0.5); draw_rectangle(x, y, x + areax, y + areay, true); draw_set_alpha(1); } with (oCameraWallR) { draw_set_color(c_red); draw_set_alpha(0.5); draw_rectangle(x, y, x + areax, y + areay, true); draw_set_alpha(1); } with (oCameraWallL) { draw_set_color(c_red); draw_set_alpha(0.5); draw_rectangle(x, y, x + areax, y + areay, true); draw_set_alpha(1); } with (oCameraWallD) { draw_set_color(c_red); draw_set_alpha(0.5); draw_rectangle(x, y, x + areax, y + areay, true); draw_set_alpha(1); } with (oEnemy) { draw_set_font(fontMenuTiny); draw_text_shadow(x - 8, y - 8, "HP " + string(myhealth)); draw_text_shadow(x - 8, y - 16, "DMG " + string(damage)); } with (oBeam) { draw_set_font(fontMenuTiny); draw_text_shadow(x - 8, y - 8, "DMG " + string(damage)); } with (oCharacter) { draw_sprite(mask_index, -1, x, y); draw_set_color(c_red); draw_rectangle(oCharacter.x + oCharacter.collisionBoundsOffsetLeftX, oCharacter.y + oCharacter.collisionBoundsOffsetTopY, oCharacter.x + oCharacter.collisionBoundsOffsetRightX, oCharacter.y + oCharacter.collisionBoundsOffsetBottomY, true); draw_set_color(c_white); draw_point(oCharacter.x, oCharacter.y); } } // if (viewmode == 2) 1 603 7 0 0 -1 2 self 0 0 1 /* show_all_map(); 1 603 7 0 0 -1 2 self 0 0 1 /* if (global.ingame) { global.targetx = 32; global.targety = 128; get_loadout(4); room_goto(rm_a5h01); } 1 603 7 0 0 -1 2 self 0 0 1 /* if (!instance_exists(oPlayback) && global.ingame) instance_create(0, 0, oPlayback); 1 603 7 0 0 -1 2 self 0 0 1 /* if (!instance_exists(oRecord) && global.ingame) instance_create(0, 0, oRecord); 1 603 7 0 0 -1 2 self 0 0 1 /* mus_stop_all(); mus_play_once(musCredits); room_goto(rm_credits); 1 603 7 0 0 -1 2 self 0 0 1 /* if (!instance_exists(oMakeScrMap) && global.ingame) instance_create(0, 0, oMakeScrMap); 1 603 7 0 0 -1 2 self 0 0 1 /* surface_resize(application_surface, room_width, room_height); 1 603 7 0 0 -1 2 self 0 0 1 if(global.godmode == 0) global.godmode = 1; else if(global.godmode == 1) global.godmode = 0; if (global.godmode) { popup_text("God mode on"); } else popup_text("God mode off"); 1 603 7 0 0 -1 2 self 0 0 1 /* if (global.ingame) { oCharacter.x = pos_x; oCharacter.y = pos_y; oCharacter.state = state; popup_text("Position Loaded"); } 1 603 7 0 0 -1 2 self 0 0 1 /* if (global.ingame) { pos_x = oCharacter.x; pos_y = oCharacter.y; state = oCharacter.state; popup_text("Position Saved"); } 1 603 7 0 0 -1 2 self 0 0 1 /* refill_heath_ammo(); 1 603 7 0 0 -1 2 self 0 0 1 if (!instance_exists(oCharacter)) { room_goto(rm_secretEnding); /*mus_stop_all(); mus_play_once(musCredits); room_goto(rm_credits);*/ } if (instance_exists(oCharacter) && (keyboard_check(vk_shift))) { //room_goto(rm_a8h01); msg = get_string("WARP TO", "rm_a0h01"); var rm = asset_get_index(msg); if (room_exists(rm)) { room_goto(rm); } else { popup_text("Room index does not exist!"); } } /*if (keyboard_check(vk_shift)) { msg = get_integer_async("WARP TO", 0); } else { //global.targetx = 160; //global.targety = 120; global.targetx = 64; global.targety = 64; //targetroom = asset_get_index("rm_a7b10"); targetroom = asset_get_index("a5b03a"); if (global.ingame) room_goto(targetroom); } // - Code for outputting sand maps to text file. /* fileSand = file_text_open_write(working_directory + "\fileSand.txt"); sand_str = ds_map_write(global.sand_map); file_text_write_string(fileSand,sand_str); file_text_writeln(fileSand); sandcrn0_str = ds_map_write(global.sandcrn0_map); file_text_write_string(fileSand,sandcrn0_str); file_text_writeln(fileSand); sandcrn1_str = ds_map_write(global.sandcrn1_map); file_text_write_string(fileSand,sandcrn1_str); file_text_writeln(fileSand); sandcrn2_str = ds_map_write(global.sandcrn2_map); file_text_write_string(fileSand,sandcrn2_str); file_text_writeln(fileSand); sandcrn3_str = ds_map_write(global.sandcrn3_map); file_text_write_string(fileSand,sandcrn3_str); file_text_writeln(fileSand); //string(ds_map_find_value(global.sand_map,key)); /*for(i = 0; i < ds_map_size(global.sand_map); i ++) { sand_str = sand_str + string(ds_map_find_value(global.sand_map,key_sand)); key_sand = ds_map_find_next(global.sand_map,key_sand); } file_text_close(fileSand); */ /* if (keyboard_check(vk_shift)) { msg = get_integer_async("WARP TO", 0); } else { //global.targetx = 160; //global.targety = 120; global.targetx = 900; global.targety = 150; //targetroom = asset_get_index("rm_a7b10"); targetroom = asset_get_index("rm_a7c01"); if (global.ingame) room_goto(targetroom); } 1 603 7 0 0 -1 2 self 0 0 1 /* if (keyboard_check(vk_shift)) { if (global.ingame) with (oCharacter) visible = !visible; } 1 603 7 0 0 -1 2 self 0 0 1 /* if (keyboard_check(vk_shift)) { if (global.ingame) { global.targetx = 64; global.targety = 1168; global.camstartx = 90; global.camstarty = 64; global.offsetx = 0; global.offsety = 0; room_goto(testroom); } } */ //if(keyboard_check(vk_shift)) room_goto(rm_a5c10); 1 603 7 0 0 -1 2 self 0 0 1 /* if (keyboard_check(vk_shift)) sv6_save("SaveTest.txt"); 1 603 7 0 0 -1 2 self 0 0 1 /* if (keyboard_check(vk_shift)) msg_loadout = get_integer_async("PRESET LOADOUT", 0); 1 603 7 0 0 -1 2 self 0 0 1 /* if (keyboard_check(vk_shift)) sv6_load("SaveTest.txt"); 1 603 7 0 0 -1 2 self 0 0 1 if (keyboard_check(vk_shift) && global.ingame == true) { viewmode += 1; if (viewmode > 4) viewmode = 0; } show_debug_overlay(viewmode == 1); 1 603 7 0 0 -1 2 self 0 0 1 if (keyboard_check(vk_shift)) { if (global.ingame) with (oCharacter) charge = 50000; } 1 603 7 0 0 -1 2 self 0 0 1 /* if (keyboard_check(vk_shift)) { if (global.ingame) global.event[250] = !global.event[250]; } 1 603 7 0 0 -1 2 self 0 0 1 /* refill_heath_ammo(); 1 603 7 0 0 -1 2 self 0 0 1 /* if (global.lavastate > 0) global.lavastate -= 1; 1 603 7 0 0 -1 2 self 0 0 1 /* if (global.lavastate < 11) global.lavastate += 1; 1 603 7 0 0 -1 2 self 0 0 1 if (global.ingame == 1) { global.targetx = 160; global.targety = 120; room_goto_next(); } 1 603 7 0 0 -1 2 self 0 0 1 if (global.ingame == 1) { global.targetx = 160; global.targety = 120; room_goto_previous(); } 0 0 0 0.5 0.100000001490116 0 0.100000001490116 0.100000001490116 0.200000002980232 -1 -1