Files
AM2R-Community-Updates/objects/oBlockPBombChain.object.gmx
2020-12-22 20:54:55 -06:00

112 lines
3.6 KiB
XML

<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName>sBlockPBomb</spriteName>
<solid>0</solid>
<visible>0</visible>
<depth>-100</depth>
<persistent>0</persistent>
<parentName>oSolid</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>event_inherited();
if (global.event[176] == 1 &amp;&amp; room == rm_a0h13) instance_destroy();
</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>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.event[176] == 0 &amp;&amp; room == rm_a0h13) global.event[176] = 1;
block = instance_create(x, y, oDestroyedBlock);
block.type = 6;
block.regentime = -1;
block.link_id = link_id;
block.delay = delay;
with (block) event_user(1);
block1 = collision_point(x + 2, y - 2, oBlockBombChain, false, false);
block2 = collision_point(x + 18, y + 2, oBlockBombChain, false, false);
block3 = collision_point(x + 2, y + 18, oBlockBombChain, false, false);
block4 = collision_point(x - 2, y + 2, oBlockBombChain, false, false);
if (block1 &gt; 0) with (block1) alarm[10] = 4;
if (block2 &gt; 0) with (block2) alarm[10] = 4;
if (block3 &gt; 0) with (block3) alarm[10] = 4;
if (block4 &gt; 0) with (block4) alarm[10] = 4;
sfx_stop(sndBlockDestroy);
sfx_play(sndBlockDestroy);
instance_destroy();
</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>