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
198 lines
5.5 KiB
XML
198 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>sSaveSlotCopy</spriteName>
|
|
<solid>0</solid>
|
|
<visible>-1</visible>
|
|
<depth>-20</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>image_speed = 0.2;
|
|
targetslot = 0;
|
|
if (global.saveslot == 0) targetslot = 1;
|
|
active = 0;
|
|
alarm[0] = 5;
|
|
file[0] = "save1";
|
|
file[1] = "save2";
|
|
file[2] = "save3";
|
|
dialogy[0] = 60;
|
|
dialogy[1] = 104;
|
|
dialogy[2] = 148;
|
|
|
|
if (oControl.mod_insanitymode) {
|
|
mycolor = make_color_rgb(187, 3, 3);
|
|
myslot = sSaveSlotCopyInsanity;
|
|
} else {
|
|
mycolor = make_color_rgb(3, 187, 25);
|
|
myslot = sSaveSlotCopy;
|
|
}
|
|
</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>active = 1;
|
|
</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 (active) {
|
|
if (oControl.kDown && oControl.kDownPushedSteps == 0 || oControl.kUp && oControl.kUpPushedSteps == 0) {
|
|
targetslot += 1;
|
|
if (global.saveslot == targetslot) targetslot += 1;
|
|
if (targetslot > 2) targetslot = 0;
|
|
if (global.saveslot == targetslot) targetslot += 1;
|
|
sfx_play(sndMenuMove);
|
|
}
|
|
if (oControl.kMenu1 && oControl.kMenu1PushedSteps == 0) {
|
|
var t = file[targetslot];
|
|
if (!file_exists(file[targetslot])) {
|
|
event_user(0);
|
|
} else {
|
|
active = 0;
|
|
instance_create(270, dialogy[targetslot], oSlotMenuOverwrite);
|
|
}
|
|
sfx_play(sndMenuSel);
|
|
}
|
|
if (oControl.kMenu2 && oControl.kMenu2PushedSteps == 0) {
|
|
with (oGameSelMenu) alarm[0] = 5;
|
|
global.curropt = global.saveslot;
|
|
sfx_play(sndMenuCancel);
|
|
instance_destroy();
|
|
}
|
|
}
|
|
if (targetslot == 0) {
|
|
x = 64;
|
|
y = 40;
|
|
}
|
|
if (targetslot == 1) {
|
|
x = 64;
|
|
y = 84;
|
|
}
|
|
if (targetslot == 2) {
|
|
x = 64;
|
|
y = 128;
|
|
}
|
|
</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>copy_save(global.saveslot, targetslot);
|
|
with (oGameSelMenu) alarm[0] = 5;
|
|
global.curropt = global.saveslot;
|
|
instance_destroy();
|
|
</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>draw_sprite(myslot, -1, x - 19, y - 7);
|
|
draw_background_ext(bgSaveSlotLine1, x, y + 18, 207, 1, 0, mycolor, 1);
|
|
</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>
|