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

219 lines
5.9 KiB

<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName>sTorizoStatue</spriteName>
<solid>0</solid>
<visible>-1</visible>
<depth>-80</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;
image_index = 0;
state = 0;
statetime = 0;
if (global.event[152] &gt; 0) {
image_index = 8;
with (inst_114938) instance_destroy();
with (inst_114925) instance_destroy();
with (inst_114926) instance_destroy();
with (inst_114928) instance_destroy();
with (inst_114929) instance_destroy();
tile_layer_shift(-102, -336, 0);
tile_layer_shift(-101, 0, -256);
}
</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 (state == 1) {
if (statetime == 0) image_index = 1;
if (statetime == 120) {
state = 2;
statetime = 0;
}
}
if (state == 2) {
if (statetime == 0) instance_create(x + 15, y + 6, oTorizoStatueEye);
if (statetime == 220) {
state = 3;
statetime = 0;
}
}
if (state == 3) {
if (statetime == 0) {
image_index = 2;
instance_create(x + 37, y + 24, oTorizoStatuePiece1);
mus_play(musTorizoA);
oMusicV2.bossbgm = musTorizoA;
}
if (statetime == 60) {
state = 4;
statetime = 0;
}
}
if (state == 4) {
if (statetime == 0) {
image_index = 3;
instance_create(x + 18, y + 23, oTorizoStatuePiece2);
}
if (statetime == 60) {
state = 5;
statetime = 0;
}
}
if (state == 5) {
if (statetime == 0) {
image_index = 4;
instance_create(x + 15, y + 10, oTorizoStatuePiece3);
}
if (statetime == 60) {
state = 6;
statetime = 0;
}
}
if (state == 6) {
if (statetime == 0) {
image_index = 5;
instance_create(x + 9, y + 24, oTorizoStatuePiece4);
}
if (statetime == 60) {
state = 7;
statetime = 0;
event_user(1);
}
}
if (state == 7) {
if (image_index &lt; 8) image_index += 0.2;
if (statetime &gt; 60) { }
}
statetime += 1;
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="7" enumb="11">
<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>instance_create(x + 25, y + 47, oTorizo);
</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>state = 1;
statetime = 0;
</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 (state == 3) draw_sprite(sTorizoIntro, 0, x, y);
if (state == 4) draw_sprite(sTorizoIntro, 1, x, y);
if (state == 5) draw_sprite(sTorizoIntro, 2, x, y);
if (state == 6) draw_sprite(sTorizoIntro, 3, x, y);
draw_sprite(sprite_index, -1, x, y);
</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>