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/oMGammaTriggerProx.object.gmx

242 lines
7.5 KiB

<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName>sMGammaBody</spriteName>
<solid>0</solid>
<visible>-1</visible>
<depth>-10</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>image_speed = 0.1;
currentangle = 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>event_user(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>if (distance_to_object(oCharacter) &lt; 160) event_user(0);
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="4" ename="oMissile">
<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="4" ename="oBeam">
<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>create_gamma(x, y, myid, facing);
with (oMGammaTriggerProx) alarm[0] = 1;
instance_destroy();
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="7" enumb="4">
<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>legfa1x = lengthdir_x(4, currentangle + 330) * facing;
legfa1y = lengthdir_y(4, currentangle + 330);
legfa2x = lengthdir_x(24, currentangle + 255) * facing;
legfa2y = lengthdir_y(24, currentangle + 255);
legfb1x = lengthdir_x(10, currentangle + 217) * facing;
legfb1y = lengthdir_y(10, currentangle + 217);
legfb2x = lengthdir_x(18, currentangle + 230) * facing;
legfb2y = lengthdir_y(18, currentangle + 230);
legba1x = lengthdir_x(16, currentangle + 294) * facing;
legba1y = lengthdir_y(16, currentangle + 294);
legba2x = lengthdir_x(9, currentangle + 265) * facing;
legba2y = lengthdir_y(9, currentangle + 265);
legbb1x = lengthdir_x(14, currentangle + 230) * facing;
legbb1y = lengthdir_y(14, currentangle + 230);
legbb2x = lengthdir_x(12, currentangle + 256) * facing;
legbb2y = lengthdir_y(12, currentangle + 256);
</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(oControl.mod_fusion == 1 || oControl.MonsterPalettesFusionOnly == 0) {
pal_swap_set(oControl.GammaPalette, 1, false);
}
draw_sprite_ext(sMGammaLegBA1, -1, x + legba1x, y + legba1y, facing, 1, 0, -1, 1);
draw_sprite_ext(sMGammaLegBA2, -1, x + legba1x + legba2x, y + legba1y + legba2y, facing, 1, 0, -1, 1);
draw_sprite_ext(sMGammaLegBB1, -1, x + legbb1x, y + legbb1y, facing, 1, 0, -1, 1);
draw_sprite_ext(sMGammaLegBB2, -1, x + legbb1x + legbb2x, y + legbb1y + legbb2y, facing, 1, 0, -1, 1);
draw_sprite_ext(sprite_index, -1, x, y, facing, 1, 0, -1, 1);
draw_sprite_ext(sMGammaLegFA1, -1, x + legfa1x, y + legfa1y, facing, 1, 0, -1, 1);
draw_sprite_ext(sMGammaLegFA2, -1, x + legfa1x + legfa2x, y + legfa1y + legfa2y, facing, 1, 0, -1, 1);
draw_sprite_ext(sMGammaLegFB1, -1, x + legfb1x, y + legfb1y, facing, 1, 0, -1, 1);
draw_sprite_ext(sMGammaLegFB2, -1, x + legfb1x + legfb2x, y + legfb1y + legfb2y, facing, 1, 0, -1, 1);
shader_reset();
</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>