function varrange()
	local a = player.current()
	
	if mll.GetMugenVersion() == 1 then
		local loc1 = 0x004569F3
		local loc2 = 0x00427B09
		local loc3 = 0x004030E3
		local loc4 = 0x00427B39
		
		mll.WriteByte(loc1+0,0xE9)
		mll.WriteByte(loc1+1,0x11)
		mll.WriteByte(loc1+2,0x11)
		mll.WriteByte(loc1+3,0xFD)
		mll.WriteByte(loc1+4,0xFF)
		
		mll.WriteByte(loc2+0,0x3D)
		mll.WriteByte(loc2+1,0x22)
		mll.WriteByte(loc2+2,0x09)
		mll.WriteByte(loc2+3,0x00)
		mll.WriteByte(loc2+4,0x00)
		mll.WriteByte(loc2+5,0x7F)
		mll.WriteByte(loc2+6,0x0C)
		mll.WriteByte(loc2+7,0x3D)
		mll.WriteByte(loc2+8,0x39)
		mll.WriteByte(loc2+9,0xFC)
		mll.WriteByte(loc2+10,0xFF)
		mll.WriteByte(loc2+11,0xFF)
		mll.WriteByte(loc2+12,0x7C)
		mll.WriteByte(loc2+13,0x05)
		mll.WriteByte(loc2+14,0xE9)
		mll.WriteByte(loc2+15,0xCB)
		mll.WriteByte(loc2+16,0xEE)
		mll.WriteByte(loc2+17,0x02)
		mll.WriteByte(loc2+18,0x00)
		mll.WriteByte(loc2+19,0x8B)
		mll.WriteByte(loc2+20,0x28)
		mll.WriteByte(loc2+21,0xE9)
		mll.WriteByte(loc2+22,0xBF)
		mll.WriteByte(loc2+23,0x01)
		mll.WriteByte(loc2+24,0x03)
		mll.WriteByte(loc2+25,0x00)
		
		
		mll.WriteByte(loc3+0,0xE9)
		mll.WriteByte(loc3+1,0x51)
		mll.WriteByte(loc3+2,0x4A)
		mll.WriteByte(loc3+3,0x02)
		mll.WriteByte(loc3+4,0x00)
		
		mll.WriteByte(loc4+0,0x3D)
		mll.WriteByte(loc4+1,0x22)
		mll.WriteByte(loc4+2,0x09)
		mll.WriteByte(loc4+3,0x00)
		mll.WriteByte(loc4+4,0x00)
		mll.WriteByte(loc4+5,0x7F)
		mll.WriteByte(loc4+6,0x0C)
		mll.WriteByte(loc4+7,0x3D)
		mll.WriteByte(loc4+8,0x39)
		mll.WriteByte(loc4+9,0xFC)
		mll.WriteByte(loc4+10,0xFF)
		mll.WriteByte(loc4+11,0xFF)
		mll.WriteByte(loc4+12,0x7C)
		mll.WriteByte(loc4+13,0x05)
		mll.WriteByte(loc4+14,0xE9)
		mll.WriteByte(loc4+15,0x8B)
		mll.WriteByte(loc4+16,0xB5)
		mll.WriteByte(loc4+17,0xFD)
		mll.WriteByte(loc4+18,0xFF)
		mll.WriteByte(loc4+19,0x89)
		mll.WriteByte(loc4+20,0x30)
		mll.WriteByte(loc4+21,0xE9)
		mll.WriteByte(loc4+22,0x8B)
		mll.WriteByte(loc4+23,0xB5)
		mll.WriteByte(loc4+24,0xFD)
		mll.WriteByte(loc4+25,0xFF)
	end
	if mll.GetMugenVersion() == 2 then
		local loc1 = 0x00456F53
		local loc2 = 0x00427FEC
		local loc3 = 0x00402E73
		local loc4 = 0x0042800C
		
		mll.WriteByte(loc1+0,0xE9)
		mll.WriteByte(loc1+1,0x94)
		mll.WriteByte(loc1+2,0x10)
		mll.WriteByte(loc1+3,0xFD)
		mll.WriteByte(loc1+4,0xFF)
		
		mll.WriteByte(loc2+0,0x3D)
		mll.WriteByte(loc2+1,0x22)
		mll.WriteByte(loc2+2,0x09)
		mll.WriteByte(loc2+3,0x00)
		mll.WriteByte(loc2+4,0x00)
		mll.WriteByte(loc2+5,0x7F)
		mll.WriteByte(loc2+6,0x0C)
		mll.WriteByte(loc2+7,0x3D)
		mll.WriteByte(loc2+8,0x39)
		mll.WriteByte(loc2+9,0xFC)
		mll.WriteByte(loc2+10,0xFF)
		mll.WriteByte(loc2+11,0xFF)
		mll.WriteByte(loc2+12,0x7C)
		mll.WriteByte(loc2+13,0x05)
		mll.WriteByte(loc2+14,0xE9)
		mll.WriteByte(loc2+15,0x48)
		mll.WriteByte(loc2+16,0xEF)
		mll.WriteByte(loc2+17,0x02)
		mll.WriteByte(loc2+18,0x00)
		mll.WriteByte(loc2+19,0x8B)
		mll.WriteByte(loc2+20,0x28)
		mll.WriteByte(loc2+21,0xE9)
		mll.WriteByte(loc2+22,0x3C)
		mll.WriteByte(loc2+23,0x02)
		mll.WriteByte(loc2+24,0x03)
		mll.WriteByte(loc2+25,0x00)
		
		
		mll.WriteByte(loc3+0,0xE9)
		mll.WriteByte(loc3+1,0x94)
		mll.WriteByte(loc3+2,0x51)
		mll.WriteByte(loc3+3,0x02)
		mll.WriteByte(loc3+4,0x00)
		
		mll.WriteByte(loc4+0,0x3D)
		mll.WriteByte(loc4+1,0x22)
		mll.WriteByte(loc4+2,0x09)
		mll.WriteByte(loc4+3,0x00)
		mll.WriteByte(loc4+4,0x00)
		mll.WriteByte(loc4+5,0x7F)
		mll.WriteByte(loc4+6,0x0C)
		mll.WriteByte(loc4+7,0x3D)
		mll.WriteByte(loc4+8,0x39)
		mll.WriteByte(loc4+9,0xFC)
		mll.WriteByte(loc4+10,0xFF)
		mll.WriteByte(loc4+11,0xFF)
		mll.WriteByte(loc4+12,0x7C)
		mll.WriteByte(loc4+13,0x05)
		mll.WriteByte(loc4+14,0xE9)
		mll.WriteByte(loc4+15,0x48)
		mll.WriteByte(loc4+16,0xAE)
		mll.WriteByte(loc4+17,0xFD)
		mll.WriteByte(loc4+18,0xFF)
		mll.WriteByte(loc4+19,0x89)
		mll.WriteByte(loc4+20,0x30)
		mll.WriteByte(loc4+21,0xE9)
		mll.WriteByte(loc4+22,0x48)
		mll.WriteByte(loc4+23,0xAE)
		mll.WriteByte(loc4+24,0xFD)
		mll.WriteByte(loc4+25,0xFF)
	end
end

local status, err = pcall(varrange)
if not status then
	mugen.log("Failed to run user script: " .. err .. "\n")
end