<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
  <spriteName>&lt;undefined&gt;</spriteName>
  <solid>0</solid>
  <visible>-1</visible>
  <depth>-1</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>alpha = 0
alarm[0] = 1
font = font_add_sprite(sprMenuFont,ord('!'),true,2)


menuSelected = 1;
menuPage = 0;

menuText[0,0] = 3;
menuText[0,1] = "Start Game"
menuText[0,2] = "Controls Setup"
menuText[0,3] = "Quit"

ok = 0
</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>if ok = 2 { ok = 0 }
else if ok = 0 { ok = 1 }
</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>if alpha !=1
{
    alpha += 0.05
    
    alarm[0] = 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>///Keyboard controls
if ok != 2 {
    if keyboard_check_pressed(vk_down) {
        menuSelected +=1;
        if (menuSelected &gt; menuText[menuPage,0]) { menuSelected = 1; }
        audio_play_sound(sndselect2,0,0)
    } else if keyboard_check_pressed(vk_up) {
        menuSelected -=1;
        if (menuSelected &lt; 1) { menuSelected = menuText[menuPage,0]; }
        audio_play_sound(sndselect2,0,0)
    } else if keyboard_check_pressed(global.kb_choose) {
        audio_play_sound(sndchoose,0,0)
        if (menuSelected = 1) {  
            global.theroom = rmNewGame
            with instance_create(0,0,objFadeOut) {
                effect_leave = tr_pixel;       
                effect_enter = tr_pixel;
                fadespd = 1/25
            }
            ok = 2
        } else if (menuSelected = 2) {   
            global.theroom = rmControls
            instance_create(0,0,objFadeOut)
            ok = 2
        } else if (menuSelected = 3) {  
            game_end() 
        }
    } 
}
</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_set_color(c_white)
draw_set_halign(fa_center);
draw_set_alpha(alpha);
draw_set_font(global.thenfont)
draw_window(173,150,10,9)

for (var i = 1; i &lt;= menuText[0,0]; i+=1) {
    if (menuSelected = i) { 
        draw_set_color(c_white); 
    } else { 
        draw_set_color(c_gray); 
    }
    draw_text(213,140+(i*16)-20*menuPage,menuText[menuPage,i]);
}
draw_set_color(c_gray); 
draw_set_font(global.thenfont2)
draw_set_halign(fa_left);
draw_text(2,240-27,"#(C) Cidoku");
draw_set_halign(fa_right);
draw_text(426-2,240-27,"#Ver. " + GM_version + "-[");
</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>
