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
293 lines
9.3 KiB
XML
293 lines
9.3 KiB
XML
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
|
|
<object>
|
|
<spriteName><undefined></spriteName>
|
|
<solid>0</solid>
|
|
<visible>-1</visible>
|
|
<depth>0</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.gotolog > -1 && global.ophudshowlogmsg == 1) global.ssmode = 2;
|
|
s_map = surface_create(2048, 1024);
|
|
surface_set_target(s_map);
|
|
draw_surface_map();
|
|
surface_reset_target();
|
|
instance_create(0, 0, oSS_Bg);
|
|
instance_create(0, 0, oSS_Fg);
|
|
event_user(1);
|
|
active = 0;
|
|
alarm[0] = 1;
|
|
canchange = 1;
|
|
|
|
modeindex = 0;
|
|
if (global.gamemode == 3) modeindex = get_text("Title-Additions", "GameSlot_NewGame_ClassicMode");
|
|
if (global.gamemode == 4) modeindex = get_text("Title-Additions", "GameSlot_NewGame_AM2Random");
|
|
if (global.gamemode == 5) modeindex = get_text("Title-Additions", "GameSlot_NewGame_SplitRandom");
|
|
|
|
widescreen = oControl.widescreen;
|
|
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>surface_free(s_map);
|
|
</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 && oControl.kMenu2 && oControl.kMenu2PushedSteps == 0 && instance_number(oSubScrChange) == 0 && canchange) {
|
|
if (global.ssmode == 3) {
|
|
save_gameoptions();
|
|
with (oPauseMenuOptions) active = 0;
|
|
with (oOptionsMain) active = 0;
|
|
with (oOptionsDisplay) if (active != 0) {
|
|
active = 0;
|
|
load_resources();
|
|
}
|
|
with (oOptionsSound) active = 0;
|
|
with (oOptionsControl) active = 0;
|
|
with (oOptionsKeyboard) active = 0;
|
|
with (oOptionsJoypad) active = 0;
|
|
with (oOptionsQuit) active = 0;
|
|
with (oOptionsReload) active = 0;
|
|
with (oOptionsExtras) active = 0; // 1.5.1 fix NOT QUITE
|
|
}
|
|
if (global.ssmode == 2) with (oLogScreenControl) active = 0;
|
|
if (global.ssmode == 1) with (oSubscreenMenu) active = 0;
|
|
if (global.ssmode == 0) with (oMapCursor) active = 0;
|
|
instance_create(x, y, oSubScrChange);
|
|
}
|
|
if(os_type == os_android && os_is_paused()) alarm[1] = 1;
|
|
if (!surface_exists(s_map)) {
|
|
surface_free(s_map);
|
|
s_map = surface_create(2048, 1024);
|
|
surface_set_target(s_map);
|
|
draw_surface_map();
|
|
surface_reset_target();
|
|
}
|
|
</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>if (global.ssmode == 0) {
|
|
instance_create(0, 0, oDrawMap2);
|
|
instance_create(0, 0, oMapCursor);
|
|
}
|
|
if (global.ssmode == 1) {
|
|
instance_create(0, 0, oSubscreenMenu);
|
|
instance_create(56 - floor(oControl.widescreen_space/3), 56, oSubScreenSuit);
|
|
instance_create(56 - floor(oControl.widescreen_space/3), 184, oSubScreenBeam);
|
|
instance_create(264 + floor(oControl.widescreen_space/3), 56, oSubScreenMisc);
|
|
instance_create(264 + floor(oControl.widescreen_space/3), 184, oSubScreenBoots);
|
|
instance_create(160, 52, oSubScrPlayer);
|
|
}
|
|
if (global.ssmode == 2) instance_create(0, 0, oLogScreenControl);
|
|
if (global.ssmode == 3) instance_create(50, 92, oPauseMenuOptions);
|
|
</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>with (oDrawMap2) instance_destroy();
|
|
with (oMapCursor) instance_destroy();
|
|
with (oSubscreenMenu) instance_destroy();
|
|
with (oSubScreenSuit) instance_destroy();
|
|
with (oSubScreenBeam) instance_destroy();
|
|
with (oSubScreenMisc) instance_destroy();
|
|
with (oSubScreenBoots) instance_destroy();
|
|
with (oSubScrPlayer) instance_destroy();
|
|
with (oLogScreenControl) instance_destroy();
|
|
with (oPauseMenuOptions) instance_destroy();
|
|
with (oOptionsMain) instance_destroy();
|
|
with (oOptionsDisplay) instance_destroy();
|
|
with (oOptionsSound) instance_destroy();
|
|
with (oOptionsControl) instance_destroy();
|
|
with (oOptionsKeyboard) instance_destroy();
|
|
with (oOptionsJoypad) instance_destroy();
|
|
with (oOptionsQuit) instance_destroy();
|
|
with (oOptionsReload) instance_destroy();
|
|
with (oOptionsExtras) instance_destroy();
|
|
</string>
|
|
</argument>
|
|
</arguments>
|
|
</action>
|
|
</event>
|
|
<event eventtype="7" enumb="5">
|
|
<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>surface_free(s_map);
|
|
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(instance_exists(oOptionsExtras)) {
|
|
if(global.gamemode == 3 || global.gamemode == 4 || global.gamemode == 5) {
|
|
draw_cool_text(50, 60, get_text("Misc", "ExtrasMode") + ": " + modeindex, c_black, c_gray, c_dkgray, 1)
|
|
draw_cool_text(50, 73, get_text("Misc", "ExtrasSeed") + ": " + string(oControl.seed), c_black, c_gray, c_dkgray, 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>0</PhysicsObjectKinematic>
|
|
<PhysicsShapePoints/>
|
|
</object>
|