(05-19-2024, 10:01 AM)BloodyHash Wrote: Okay guys i finally learnt variable i need help just a small help y'all pros xD
ima just show some demo here
HP=100
SP=100
PRINT "A MONSTER HAS APPEAR"
PRINT "What would you do"
PRINT "1.KICK"
INPUT X
What i want is IF X = 1 i want to clear both of those variable to 0 HP and SP
IF X = 1 THEN
HP = 0: PRINT HP
SP = 0: PRINT SP
ELSE
PRINT HP, SP
END IF
HI FROM BEAUTIFUL GREECE.
(05-19-2024, 11:22 AM)RhoSigma Wrote: IF X = 1 THEN HP = 0: SP = 0You caught me RhoSigma