moved initspeedmods to central CPU master queef
authorJayce Newton <accounts@divinelegy.com>
Mon, 2 Dec 2013 12:58:47 +0000 (20:58 +0800)
committerJayce Newton <accounts@divinelegy.com>
Mon, 2 Dec 2013 12:58:47 +0000 (20:58 +0800)
Themes/GrooveNights/BGAnimations/ScreenTitleMenu in.xml
Themes/GrooveNights/Scripts/Other.lua
Themes/GrooveNights/Scripts/gnSystem.lua

index d195a7d..0f6ae06 100644 (file)
@@ -1,8 +1,5 @@
 <BGAnimation
     Sound="_logo.ogg"
-    OnCommand="%function(self)
-                    InitSpeedMods()
-                end"
 >
        <children>
                <Layer Type="Quad" Command="diffuse,#FFFFFF;stretchto,SCREEN_LEFT,SCREEN_TOP,SCREEN_RIGHT,SCREEN_BOTTOM;diffusealpha,0.3;linear,0.3;diffusealpha,0" />
index 0e9918f..e4f8c04 100644 (file)
@@ -590,7 +590,7 @@ function InitSpeedMods()
 
     if GetSpeedModType() == "pro" then
         baseSpeed = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16" }
-        extraSpeed = { "0", "+.25", "+.5", "+.75", "+.1", "+.2", "+.3", "+.4", "+.6", "+.7", "+.8", "+.9" }
+        extraSpeed = { "0", "+0.25", "+0.5", "+0.75", "+0.1", "+0.2", "+0.3", "+0.4", "+0.6", "+0.7", "+0.8", "+0.9" }
     end
         
     if GetSpeedModType() == "advanced" then
index 30f08f5..405b5b3 100644 (file)
@@ -96,6 +96,9 @@ if GAMESTATE:GetEnv('Konami') == 'Turn' then
        SCREENMAN:SystemMessage('Konami Code Activated');
        GAMESTATE:SetEnv('Konami','On');
        end
+       
+InitSpeedMods()
+
 end