Skip to content

Instantly share code, notes, and snippets.

@ryonagana
Last active June 25, 2018 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryonagana/d6a1e2b504889fe8086f6577bc89bce0 to your computer and use it in GitHub Desktop.
Save ryonagana/d6a1e2b504889fe8086f6577bc89bce0 to your computer and use it in GitHub Desktop.
counter
if(invincible_on ){
invincible_count += 100;
if(*ingame_timer_count >= invincible_timer){
invincible_on = FALSE;
invincible_count = 0;
selected->flags.invincible |= 0;
printf("%d", invincible_count);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment