ID:149483
 
I have my code set up so it when you go SSj and then do fly you will fly in the SSj form and land in the SSj form, or if you you fly first then go SSj, you won't land to have go SSj but when I go to test it it don't work, even though ther are no errors, could you try to fix it, or give an example, it doesn't matter? here is the code


mob
var
flying = 0
SSj = 0
SSjf = 0

verb
fly()
if(usr.SSj == 1)
icon_state = "SSjGokuflying"
usr.flying = 1
if(usr.flying == 1)
usr << "Your already flying!"
else
icon_state = "Gokuflying"
usr << "You take off!"
usr.flying = 1

land()
if(usr.SSj == 1)
icon_state = "Gokuflying"
usr.flying = 0
if(usr.flying == 0)
usr << "Your not flying!"
else
icon_state = "Goku"
usr << "you land on the ground"
usr.flying = 0

SSj()
if(usr.flying == 1)
icon_state = "SSjGokuflying"
usr.flying = 1
usr.SSj = 1
if(usr.SSj == 1)
usr << "You are already in this super form!"
else
icon_state = "SSjGoku"
world << "[usr] transforms into the legendary warrior of the Saiyan race, The Super Saiyan"
usr.SSj = 1

THANKS: eViL gOtEnKs