X~ȗ4w;|EyX ( @ (//(  0/80@0?/8 0( ?G@POWOXOP?H0@/7@O_``h_hPX 0(P_oppxow_g@O/8'' 7p`o?G/7 0??H/8`/o?GOX@H0?/pOW?H/8 7OP?G/7( P0@PX@O0@ 0O @H/@' 00@@P0?'_OP@H( 7/7' ^^^^^^^^^^^^^^^^^^^^^^^^^^TeeBBBBeTT^^^^^^^eBDJ33333JJDBeZ^^^^TD33==#####==3JDBT^^^^eJ=###=3DeZ^^TB3# #=3JBZ^^T3#  #=JBT^^J# Sll #=JBZ^T# %,68??86,/@A*< ##45('.6787-9%:;*<=#$+&,--.,/01)2 3 $%&&'%($!)* ##  !"#     ??dtʶL@ debug_initN///////////Debug console script by necromian ///////////argument0 = number of command lines to be drawn - max 10 ///////////argument1 = if debug menu should be shown (It can still be toggled on afterwards with the spacebar) keyboard_string = ""; drawlines = argument0 y = string_height(" ")*(drawlines-1); code = ""; line0 = ""; line1 = ""; line2 = ""; line3 = ""; line4 = ""; line5 = ""; line6 = ""; line7 = ""; line8 = ""; line9 = ""; alpha = 1; deltimer = 15; drawcode = ""; drawset = "draw_set_alpha(1)"; drawdebug = argument1; ////////auto underscore au = false; debug_input///////////Debug console script by necromian if drawdebug = true { if au = true if keyboard_string = " " { keyboard_string = "" code += "_" } code += string_lower(keyboard_string); if keyboard_string = ";" code += "#" keyboard_string = ""; line0 = code; if keyboard_check_pressed(vk_backspace) { code = string_copy(code,0,string_length(code)-1); deltimer = 15; }; if keyboard_check(vk_backspace) { deltimer -= 1; if deltimer <= 1 { code = string_copy(code,0,string_length(code)-1); deltimer = 3; } }; if keyboard_check_pressed(ord('V')) if keyboard_check(vk_control) code += clipboard_get_text(); if keyboard_check_pressed(vk_enter) if code != "" { if code = "hide" drawdebug = false; if code = "au" { au = !au; code = "return au"; } do code = string_replace_all(code,"#",""); until string_count("#",code) = 0 line0 = code; if ( string_pos("(",code) = 0 and string_pos(")",code) = 0 and string_pos("return ",code) = 0 and string_pos("=",code) = 0 ) { } else if string_count("(",code) = string_count(")",code) and string_count("{",code) = string_count("}",code) { if string_pos("draw_",code) = 0 { execute_string(code); } else { if string_pos("draw_set_",code) = 0 { line9 = line8; line8 = line7; line7 = line6; line6 = line5; line5 = line4; line4 = line3; line3 = line2; line2 = line1; line1 = line0; line0 = "draw code initiated"; drawcode = code; } else drawset = code; } } line9 = line8; line8 = line7; line7 = line6; line6 = line5; line5 = line4; line4 = line3; line3 = line2; line2 = line1; line1 = line0; if string_pos("return ",code) = 0 { line0 = ""; code = ""; } else { code = string(execute_string(code)); } }; }; debug_draw///////////Debug console script by necromian if drawdebug = true { execute_string(drawset); execute_string(drawcode); y = string_height(" ")*(drawlines-1); draw_set_alpha(1); if code = "" draw_rectangle_color(0,0,room_width,y+string_height(" "),c_black,c_black,c_black,c_black,false); else draw_rectangle_color(0,0,room_width,y+string_height(code),c_black,c_black,c_black,c_black,false); draw_set_color(c_lime); number = 0; alpha = 1 repeat drawlines+1 { draw_set_font(font_debug); draw_set_alpha(alpha); if number != 0 { draw_text(x,y-number*string_height(string("line"+string(number))),string(string(number)+":"+string(variable_local_get(string("line"+string(number)))))); } else draw_text(x,y-number*string_height(string("line"+string(number))),string(">"+string(variable_local_get(string("line"+string(number)))))); alpha -= 1/drawlines; number += 1; } execute_string(drawset); } hide_debug///////////Debug console script by necromian if keyboard_check_pressed(vk_space) { keyboard_string = ""; drawdebug = true; } font_debug Courier New   obj_debug [N/////////////////////Controls: Type in code to activate /////////////////////Type in 'hide' to hide the debug console. Press spacebar to make it reappear. /////////////////////To add multiple lines of code, use a ; /////////////////////To toggle automatic underscoring, type au /////////////////////Variables can be recalled using the return code. Some variables you might want to know are- ///////////////////// drawcode (the current drawing code) ///////////////////// drawset (the current drawset code) ///////////////////// drawlines (the number of command lines being drawn) ///////////////////// line0-line9 (older codes. if you want to re-execute a script, just type in a line number in an execute_string code) /////////////////////Keep in mind you can use the = button to assign variables new values debug_init(10,true);0000000[3debug_input(); if drawdebug = false hide_debug();0000000[ debug_draw();0000000room0 <        @܆>XGame InformationX{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil Arial;}} {\colortbl ;\red0\green0\blue0;} \viewkind4\uc1\pard\cf1\f0\fs24 \par } SpritesSounds BackgroundsPathsScripts debug_init debug_input debug_draw hide_debug Fonts font_debug Time LinesObjects obj_debugRoomsroom0 Game Information Global Game Settings