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
167 lines
4.9 KiB
XML
167 lines
4.9 KiB
XML
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
|
<object>
|
|
<spriteName><undefined></spriteName>
|
|
<solid>0</solid>
|
|
<visible>-1</visible>
|
|
<depth>-1100</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>offset = 30;
|
|
fadeout = 0;
|
|
alarm[0] = 300;
|
|
log = 0;
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="2" 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>fadeout = 1;
|
|
</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>if (fadeout == 0) {
|
|
if(!visible) alarm[0]++; //added
|
|
if (offset > 0) offset -= 1;
|
|
} else if (offset < 30) {
|
|
offset += 1;
|
|
} else {
|
|
instance_destroy();
|
|
global.gotolog = -1;
|
|
}
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="8" enumb="73">
|
|
<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 (oControl.widescreen){
|
|
if (surface_exists(oControl.widescreen_surface)) {
|
|
surface_set_target(oControl.widescreen_surface);
|
|
}
|
|
} else {
|
|
if (surface_exists(application_surface)) {
|
|
surface_set_target(application_surface);
|
|
}
|
|
}
|
|
|
|
vx = 0; //view_xview[0];
|
|
vy = offset; //view_yview[0] + offset;
|
|
draw_background_ext(bgNotification, vx, vy + 212, 1, 1, 0, -1, 0.7);
|
|
draw_set_font(fontGUI2);
|
|
draw_set_alpha(1);
|
|
/*if (!log) {
|
|
draw_set_color(c_white); // og c_white
|
|
draw_text(vx + 7, vy + 214, text1);
|
|
if (btn2_name == "") {
|
|
if (btn1_name != "") {
|
|
draw_txt_1button(vx + 7, vy + 224, text2, 1, btn1_name, 1);
|
|
} else {
|
|
draw_set_font(fontMenuSmall);
|
|
draw_text(vx + 7, vy + 224, text2);
|
|
}
|
|
} else draw_txt_2buttons(vx + 7, vy + 224, text2, 1, btn1_name, btn2_name, 1);
|
|
} else if (log) {*/ // logs
|
|
draw_set_color(make_colour_rgb(224, 248, 208)); // og c_white
|
|
draw_text(vx + 7, vy + 214, text1);
|
|
if (btn2_name == "") {
|
|
if (btn1_name != "") {
|
|
draw_txt_1button_log(vx + 7, vy + 224, text2, 1, btn1_name, 1);
|
|
} else {
|
|
draw_set_font(fontMenuSmall);
|
|
draw_text(vx + 7, vy + 224, text2);
|
|
}
|
|
} else draw_txt_2buttons_log(vx + 7, vy + 224, text2, 1, btn1_name, btn2_name, 1);
|
|
//}
|
|
//draw_set_color(c_white);
|
|
surface_reset_target();
|
|
</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>0</PhysicsObjectKinematic>
|
|
<PhysicsShapePoints/>
|
|
</object>
|