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
205 lines
6.4 KiB
XML
205 lines
6.4 KiB
XML
<!--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>-1</visible>
|
|
<depth>-10</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>yoff = 0;
|
|
alarm[0] = 1;
|
|
alarm[1] = 1;
|
|
|
|
widescreen_space = oControl.widescreen_space;
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="2" enumb="1">
|
|
<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>alarm[1] = 10;
|
|
bubble = instance_create(x + random(64), global.waterlevel + 10, oLBubble);
|
|
if (instance_exists(bubble)) {
|
|
bubble.vspeed = 1.5 - random(0.8);
|
|
with (bubble) if ((x < (view_xview[0] - (oControl.widescreen_space/2))) || (x > (view_xview[0] + view_wview[0] + (oControl.widescreen_space/2)))) instance_destroy();
|
|
// if (x < view_xview[0] || x > view_xview[0] + view_wview[0]) 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>alarm[0] = 1;
|
|
w = instance_create(x + random(64), global.waterlevel - 1, oFXAnimSpark);
|
|
w.image_speed = 0.25 + random(0.5);
|
|
w.additive = 0;
|
|
w.sprite_index = sWaterSplash;
|
|
w.image_alpha = 0.8;
|
|
w.depth = -15;
|
|
with (w) if ((x < (view_xview[0] - (oControl.widescreen_space/2))) || (x > (view_xview[0] + view_wview[0] + (oControl.widescreen_space/2)))) instance_destroy();
|
|
</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>yoff += 8;
|
|
if (yoff > 128) yoff = 0;
|
|
</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>with (other) {
|
|
if (fxtimer == 0 || fxtimer == 2 || fxtimer == 4) {
|
|
repeat (2) {
|
|
expl = instance_create(x, y - 16, oFXAnimSpark);
|
|
expl.image_speed = 0.2;
|
|
expl.additive = 0;
|
|
expl.sprite_index = sWaterParticle;
|
|
expl.direction = 45 + random(90);
|
|
expl.speed = 1 + random(1);
|
|
expl.gravity_direction = 270;
|
|
expl.gravity = 0.2;
|
|
}
|
|
}
|
|
if (global.currentsuit < 2) waterfall = 2;
|
|
}
|
|
</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>mid_y = y + yoff;
|
|
bottom_y = y + 128 + yoff;
|
|
if (((x + 64) > (view_xview[0] - (widescreen_space/2))) && (x < (view_xview[0] + view_wview[0] + (widescreen_space/2)))) {
|
|
draw_set_blend_mode(bm_add);
|
|
draw_set_color(make_colour_rgb(10, 10, 80));
|
|
draw_rectangle(x + 2, y, x + 61, global.waterlevel, false);
|
|
draw_background(bgWaterfall, x, y - 128 + yoff);
|
|
draw_background_part(bgWaterfall, 0, 0, 64, global.waterlevel - mid_y, x, mid_y);
|
|
if (bottom_y < global.waterlevel) draw_background_part(bgWaterfall, 0, 0, 64, global.waterlevel - bottom_y, x, bottom_y);
|
|
draw_set_blend_mode(bm_normal);
|
|
}
|
|
</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>
|