mob/proc/NewChar()
var/mob/creation
creation = src
var/newname = null
if(!src.NameChosen)
newname = input("<center>What will your name be?", "Name") as text
if(alert("Do you wish to be named [newname]?", "Name","Yes","No")=="Yes")
src.name = newname
src.NameChosen = 1
src.CharacterClickable=1
for(var/turf/Blue_Block/BB)
set background = 1
var/image/B = image('Black.dmi', src)
B.loc = BB
src<<B
for(var/turf/White_Block/GB)
set background = 1
var/image/B = image('Black.dmi', src)
B.loc = GB
src<<B
for(var/turf/New/N)
set background = 1
var/image/B = image('Black.dmi', src)
B.loc = N
src<<B
for(var/turf/Load/L)
set background = 1
var/image/B = image('Black.dmi', src)
B.loc = L
src<<B
for(var/turf/Delete/D)
set background = 1
var/image/B = image('Black.dmi', src)
B.loc = D
src<<B
for(var/turf/Cyborg/C)
set background = 1
var/image/B = image('Black.dmi', src)
B.loc = C
src<<B
var/image/I = image('Cyborg.dmi',src)
I.loc = locate(4,6,2)
src << I
Problem description:Alright, this might be a bit noobish of me to write this code like this, but at least I'm practicing lol. Anyways, my problem is pretty simple, the image appearance lags a tad bit whenever this code is executed. On rare occasions, the transition from seeing the title screen to seeing all black is instantaneous, but most of the times, everything turns black, except for like 4 random turfs. Half a second later (sometimes a bit less), the remaining turfs turn black. And the Cyborg icon towards the end of the code appears until the title screen turns black. Is there a way to make it so that everything happens instantaneous?
P.S. I am doing this to see if I can accomplish this without making different map areas for a title screen. If there is a better way of doing this, please let me know.