below is the part of the code that my compiler finds the problem with. i have indicated what line it is.
when i run the whole program, it will only run if i put an int infront of girl boss. but, i hae already done that at the top of the program, i put:
int girlboss = 200;
but, when it reaches the girl boss part, after you hit her, it comes up with girl boss health is now 205558214585 and not 190, which is what it should say. do i have to delcare girlboss as a long int at the top of my code to stop this happening, as before this, i have put somthing like
int zombie = 20; and when you attack it, it;s health goes down correctly. i must be doing somthing wrong with the int girl boss, but i dont know what!!!!
girlboss=girlboss-10; // PROBLEM LINE PARSE ERROR???