1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2025-07-18 05:41:10 +00:00

comments done

This commit is contained in:
2022-06-17 09:21:07 +02:00
parent 769adeeeca
commit bae3543a0b
4 changed files with 20 additions and 5 deletions

View File

@ -69,7 +69,7 @@ public class PokeMudry extends PortableApplication {
boolean onEndScreen = sp.screenManager.getActiveScreen().getClass().equals(ScreenEnd.class);
long timeNow = System.currentTimeMillis();
if((timeNow-lastMesure) >= 1000 && !onEndScreen){ // one second
if((timeNow-lastMesure) >= 1000 && !onEndScreen){ // one second during the game
lastMesure = timeNow;
sp.p.removedPv(1);
for (Enemy enemy : enemies) { enemy.recoveredTime++; }