You've already forked AM2R-Community-Updates
mirror of
https://github.com/izzy2lost/AM2R-Community-Updates.git
synced 2026-03-10 11:23:35 -07:00
1170 lines
30 KiB
XML
1170 lines
30 KiB
XML
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
|
<object>
|
|
<spriteName>ssEDFX</spriteName>
|
|
<solid>0</solid>
|
|
<visible>-1</visible>
|
|
<depth>-9000000</depth>
|
|
<persistent>-1</persistent>
|
|
<parentName><undefined></parentName>
|
|
<maskName><undefined></maskName>
|
|
<events>
|
|
<event eventtype="0" enumb="0">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>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;
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="3" enumb="0">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>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;
|
|
}
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="5" enumb="53">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>
|
|
|
|
/// 10fps
|
|
room_speed = 10;
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="5" enumb="52">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>
|
|
|
|
/// 1fps
|
|
room_speed = 1;
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="5" enumb="51">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>
|
|
|
|
/// 5fps
|
|
room_speed = 5;
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="5" enumb="50">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>
|
|
/// 20fps
|
|
room_speed = 20;
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="5" enumb="49">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/// 60fps
|
|
room_speed = 60;
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="5" enumb="46">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
global.gametime += 3000;
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="7" enumb="63">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
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);
|
|
}
|
|
}
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="8" enumb="64">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
|
|
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();
|
|
}
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="8" enumb="0">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
|
|
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)
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="122">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
show_all_map();
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="121">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
|
|
if (global.ingame) {
|
|
global.targetx = 32;
|
|
global.targety = 128;
|
|
get_loadout(4);
|
|
room_goto(rm_a5h01);
|
|
}
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="120">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
|
|
if (!instance_exists(oPlayback) && global.ingame) instance_create(0, 0, oPlayback);
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="119">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
|
|
if (!instance_exists(oRecord) && global.ingame) instance_create(0, 0, oRecord);
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="118">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
|
|
mus_stop_all();
|
|
mus_play_once(musCredits);
|
|
room_goto(rm_credits);
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="117">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
|
|
if (!instance_exists(oMakeScrMap) && global.ingame) instance_create(0, 0, oMakeScrMap);
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="113">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
|
|
surface_resize(application_surface, room_width, room_height);
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="112">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>
|
|
|
|
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");
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="99">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
|
|
if (global.ingame) {
|
|
oCharacter.x = pos_x;
|
|
oCharacter.y = pos_y;
|
|
oCharacter.state = state;
|
|
popup_text("Position Loaded");
|
|
}
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="98">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
|
|
if (global.ingame) {
|
|
pos_x = oCharacter.x;
|
|
pos_y = oCharacter.y;
|
|
state = oCharacter.state;
|
|
popup_text("Position Saved");
|
|
}
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="97">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
|
|
refill_heath_ammo();
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="87">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>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);
|
|
}
|
|
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="86">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
|
|
if (keyboard_check(vk_shift)) {
|
|
if (global.ingame) with (oCharacter) visible = !visible;
|
|
}
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="84">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
|
|
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);
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="83">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
|
|
if (keyboard_check(vk_shift)) sv6_save("SaveTest.txt");
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="80">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
|
|
if (keyboard_check(vk_shift)) msg_loadout = get_integer_async("PRESET LOADOUT", 0);
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="76">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
|
|
if (keyboard_check(vk_shift)) sv6_load("SaveTest.txt");
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="68">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>
|
|
|
|
if (keyboard_check(vk_shift) && global.ingame == true) {
|
|
viewmode += 1;
|
|
if (viewmode > 4) viewmode = 0;
|
|
}
|
|
show_debug_overlay(viewmode == 1);
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="67">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>
|
|
if (keyboard_check(vk_shift)) {
|
|
if (global.ingame) with (oCharacter) charge = 50000;
|
|
}
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="65">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
|
|
if (keyboard_check(vk_shift)) {
|
|
if (global.ingame) global.event[250] = !global.event[250];
|
|
}
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="48">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
|
|
refill_heath_ammo();
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="36">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
|
|
if (global.lavastate > 0) global.lavastate -= 1;
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="35">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>/*
|
|
|
|
if (global.lavastate < 11) global.lavastate += 1;
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="34">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>
|
|
|
|
if (global.ingame == 1) {
|
|
global.targetx = 160;
|
|
global.targety = 120;
|
|
room_goto_next();
|
|
}
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="9" enumb="33">
|
|
<action>
|
|
<libid>1</libid>
|
|
<id>603</id>
|
|
<kind>7</kind>
|
|
<userelative>0</userelative>
|
|
<isquestion>0</isquestion>
|
|
<useapplyto>-1</useapplyto>
|
|
<exetype>2</exetype>
|
|
<functionname></functionname>
|
|
<codestring></codestring>
|
|
<whoName>self</whoName>
|
|
<relative>0</relative>
|
|
<isnot>0</isnot>
|
|
<arguments>
|
|
<argument>
|
|
<kind>1</kind>
|
|
<string>
|
|
|
|
if (global.ingame == 1) {
|
|
global.targetx = 160;
|
|
global.targety = 120;
|
|
room_goto_previous();
|
|
}
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
</events>
|
|
<PhysicsObject>0</PhysicsObject>
|
|
<PhysicsObjectSensor>0</PhysicsObjectSensor>
|
|
<PhysicsObjectShape>0</PhysicsObjectShape>
|
|
<PhysicsObjectDensity>0.5</PhysicsObjectDensity>
|
|
<PhysicsObjectRestitution>0.100000001490116</PhysicsObjectRestitution>
|
|
<PhysicsObjectGroup>0</PhysicsObjectGroup>
|
|
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
|
|
<PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping>
|
|
<PhysicsObjectFriction>0.200000002980232</PhysicsObjectFriction>
|
|
<PhysicsObjectAwake>-1</PhysicsObjectAwake>
|
|
<PhysicsObjectKinematic>-1</PhysicsObjectKinematic>
|
|
<PhysicsShapePoints/>
|
|
</object>
|