1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2024-11-26 19:13:27 +00:00

Merge pull request #38 from Klagarge:add-prof

first step
This commit is contained in:
Rémi Heredero 2022-06-16 16:03:43 +02:00 committed by GitHub
commit 2d6e572583
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -67,7 +67,7 @@ public class PokeMudry extends PortableApplication {
boolean onMapScreen = sp.screenManager.getActiveScreen().getClass().equals(ScreenMap.class); boolean onMapScreen = sp.screenManager.getActiveScreen().getClass().equals(ScreenMap.class);
boolean onBattleScreen = sp.screenManager.getActiveScreen().getClass().equals(ScreenBattle.class); boolean onBattleScreen = sp.screenManager.getActiveScreen().getClass().equals(ScreenBattle.class);
long timeNow = System.currentTimeMillis(); long timeNow = System.currentTimeMillis();a
if((timeNow-lastMesure) >= 1000){ if((timeNow-lastMesure) >= 1000){
lastMesure = timeNow; lastMesure = timeNow;
for (Enemy enemy : enemies) { enemy.recoveredTime++; } for (Enemy enemy : enemies) { enemy.recoveredTime++; }