You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AM2R-TimeTrials/objects/oEggTrigger.object.gmx

128 lines
3.8 KiB

<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName>sEDTrigger</spriteName>
<solid>0</solid>
<visible>0</visible>
<depth>0</depth>
<persistent>0</persistent>
<parentName>&lt;undefined&gt;</parentName>
<maskName>&lt;undefined&gt;</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>if (global.event[302] &gt; 0) instance_destroy();
active = 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>mus_current_fadein();
global.monstersleft = 9;
if (global.difficulty == 2) { global.monstersleft = 16; }
if (oControl.mod_fusion == 1) { global.monstersleft = 21; }
if (oControl.mod_monstersextreme == 1) { global.monstersleft = 47; }
instance_destroy();
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="4" ename="oCharacter">
<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 (active == 0) {
mus_stop_all();
mus_play_once(musArea7B);
if (oControl.mod_monstersextremecheck == 1) {
oControl.mod_monstersextreme = 1;
}
alarm[0] = 300;
global.event[302] = 1;
if (!instance_exists(oScanMonster)) {
var scan = instance_create(0, 0, oScanMonster);
scan.ammount = 9;
if (global.difficulty == 2) scan.ammount = 16;
if (oControl.mod_fusion == 1) scan.ammount = 21;
if (oControl.mod_monstersextreme == 1) scan.ammount = 47;
scan.eventno = 700;
scan.alarm[0] = 120;
}
var ecam = instance_create(x, y - 16, oEventCamera);
ecam.targetx = 160;
ecam.targety = 120;
ecam.ratio = 8;
ecam.alarm[0] = 300;
view_object[0] = oEventCamera;
active = 1;
}
</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>