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
201 lines
5.5 KiB
XML
201 lines
5.5 KiB
XML
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
|
<object>
|
|
<spriteName>sMAlpha</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>if (global.metdead[0] || global.event[0]) {
|
|
instance_destroy();
|
|
exit;
|
|
}
|
|
visible = false;
|
|
image_speed = 0.4;
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="2" enumb="2">
|
|
<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>sfx_play(sndMEggCrackle);
|
|
with (oMEgg1) alarm[0] = 1;
|
|
</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>speed = 0;
|
|
met = instance_create(x, y, oMAlpha);
|
|
met.facing = 1;
|
|
met.myid = 0;
|
|
met.spriteset = 0;
|
|
with (met) {
|
|
set_monster_vars(myid);
|
|
shell = instance_create(x, y, oMAlphaShell);
|
|
shell.damage = damage;
|
|
shell.hpush = 5;
|
|
shell.vpush = -3;
|
|
}
|
|
sfx_play(sndMAlphaIntro);
|
|
global.monstersalive += 1;
|
|
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>visible = true;
|
|
vspeed = -6;
|
|
friction = 0.3;
|
|
with (oMEgg1) frame = 5;
|
|
sfx_play(sndMEggBreak);
|
|
repeat (8) {
|
|
mytrail = instance_create(x, y - 8, oFXTrail);
|
|
mytrail.sprite_index = sMEggPiece;
|
|
mytrail.image_index = floor(random(3));
|
|
mytrail.image_alpha = 1;
|
|
mytrail.fadespeed = 0.02;
|
|
mytrail.additive = 0;
|
|
mytrail.image_xscale = 1 - (random(2) < 1) * 2;
|
|
mytrail.vspeed = -2 - random(5);
|
|
mytrail.hspeed = -2 + random(4);
|
|
mytrail.gravity = 0.2;
|
|
mytrail.gravity_direction = 270;
|
|
mytrail.depth = -15;
|
|
}
|
|
bld = instance_create(x - 10, y - 12, oFXAnimSpark);
|
|
bld.sprite_index = sMGammaBlood1;
|
|
bld.image_speed = 0.5;
|
|
bld.image_alpha = 0.6;
|
|
bld = instance_create(x + 10, y - 12, oFXAnimSpark);
|
|
bld.sprite_index = sMGammaBlood1;
|
|
bld.image_speed = 0.5;
|
|
bld.image_alpha = 0.6;
|
|
bld.image_angle = -60;
|
|
mus_alpha_monster();
|
|
myposx = floor(x / 320);
|
|
myposy = floor((y - 8) / 240);
|
|
mapposx = myposx + global.mapoffsetx;
|
|
mapposy = myposy + global.mapoffsety;
|
|
global.dmap[mapposx, mapposy] = 10;
|
|
with (oControl) event_user(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>
|
|
if(oControl.mod_fusion == 1 || oControl.MonsterPalettesFusionOnly == 0) {
|
|
pal_swap_set(oControl.AlphaPalette, 1, false);
|
|
}
|
|
|
|
draw_self();
|
|
|
|
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>
|