ProjectAsinus
Member
I have a variable called myScore, but I can't seem to figure out how to make it so that every time a monster is destroyed, it adds to the score. Looking at my player hurt script, I saw something like
So I assumed for the score I could do something similar in the monster hurt script, like
But that doesn't seem to do anything. I'm sure I'm on the right track, but I must be missing something.
Code:
DEC myLives
LDA myLives
Code:
INC myScore
LDA myScore