mob
verb
Sing()
for(var/mob/M in world)
if(usr.Jigglypuff ==1)
set category = "Battle"
M.movable=0
usr.movable=1
usr.icon = 'blasts.dmi'
usr.icon_state = "jigglypuff1"
usr << "You have started to sing!"
sleep(40)
usr.icon = 'characters.dmi'
usr.icon_state = "jigglypuff"
usr << "You have stopped singing!"
sleep(100)
M.movable=1
usr.movable=1
return
mob
player
movable = 1
mob
Move() // the movement proc
if(movable==0)
return // stops the proc also means disallows them from movement
else
..() // meaning continue the movement
mob
var
movable = 1
Problem description:
M.movable is undefined... help plz