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
236 lines
6.9 KiB
XML
236 lines
6.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>sScanning</spriteName>
|
|
<solid>0</solid>
|
|
<visible>-1</visible>
|
|
<depth>-1100</depth>
|
|
<persistent>0</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>image_alpha = 0;
|
|
image_speed = 0.25;
|
|
fadeout = 0;
|
|
xoffset = 3;
|
|
yoffset = 232;
|
|
|
|
moreThanOne = false;
|
|
if (instance_number(object_index) > 1) moreThanOne = true;
|
|
</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) {
|
|
if(!instance_exists(oNotification) && moreThanOne == false) {
|
|
if (image_alpha < 1) image_alpha += 0.1;
|
|
}
|
|
else {
|
|
alarm[0] += 1;
|
|
if (instance_number(object_index) == 1) moreThanOne = false;
|
|
}
|
|
} else if (image_alpha > 0) {
|
|
image_alpha -= 0.1;
|
|
} else event_user(0);
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="7" enumb="10">
|
|
<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.ophudshowlogmsg) {
|
|
global.gotolog = lognumber;
|
|
notif = instance_create(0, 0, oNotification);
|
|
notif.text2 = get_text("ScanEvents", "NewLog_Text");
|
|
notif.btn1_name = "Start";
|
|
//notif.btn1_name = get_text("Buttons", "Start");
|
|
notif.btn2_name = "";
|
|
notif.alarm[0] = 360;
|
|
}
|
|
if (mode == 0) {
|
|
global.log[lognumber] = 1;
|
|
global.newlog[lognumber] = 1;
|
|
if (global.ophudshowlogmsg) notif.text1 = get_text("ScanEvents", "NewLog");
|
|
|
|
// New header, only on regular scan
|
|
switch lognumber {
|
|
case 21: {
|
|
var intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro);
|
|
intro.sprite_index = sIntro_A1;
|
|
break;
|
|
}
|
|
case 23:
|
|
{
|
|
var intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro);
|
|
intro.sprite_index = sIntro_A2;
|
|
break;
|
|
}
|
|
case 24:
|
|
{
|
|
var intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro);
|
|
intro.sprite_index = sIntro_A3;
|
|
break;
|
|
}
|
|
case 26:
|
|
{
|
|
var intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro);
|
|
intro.sprite_index = sIntro_A4;
|
|
break;
|
|
}
|
|
case 28:
|
|
{
|
|
var intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro);
|
|
intro.sprite_index = sIntro_A5;
|
|
break;
|
|
}
|
|
case 29:
|
|
{
|
|
var intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro);
|
|
intro.sprite_index = sIntro_A7;
|
|
break;
|
|
}
|
|
case 6:
|
|
{
|
|
var intro = instance_create(oCharacter.x, oCharacter.y, oAreaIntro);
|
|
intro.sprite_index = sIntro_A8;
|
|
break;
|
|
}
|
|
}
|
|
|
|
}
|
|
if (mode == 1) {
|
|
global.log[lognumber] = 2;
|
|
global.newlog[lognumber] = 1;
|
|
if (global.ophudshowlogmsg) notif.text1 = get_text("ScanEvents", "UpdateLog");
|
|
}
|
|
|
|
/*if (instance_exists(oAreaIntro)) {
|
|
with (oAreaIntro) {
|
|
state = 1;
|
|
}
|
|
}*/
|
|
|
|
instance_destroy();
|
|
</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>if (global.ophudshowlogmsg) {
|
|
draw_background_ext(bgNotification, view_xview[0] + xoffset - 40 - (53*oControl.widescreen), view_yview[0] + yoffset - 4, 1, 1, 0, -1, image_alpha*0.7);
|
|
draw_sprite_ext(sprite_index, -1, view_xview[0] + xoffset - (53*oControl.widescreen), view_yview[0] + yoffset, 1, 1, 0, -1, image_alpha);
|
|
draw_set_font(fontGUI2);
|
|
draw_set_color(make_colour_rgb(224, 248, 208)); // OG c_white
|
|
draw_set_alpha(image_alpha);
|
|
draw_text(view_xview[0] + xoffset + 8 - (53*oControl.widescreen), view_yview[0] + yoffset - 5, text);
|
|
}
|
|
</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>
|