From d1b954ae91cb524cf7d4153670a005722b973397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Heredero?= Date: Fri, 17 Jun 2022 14:26:50 +0200 Subject: [PATCH] comments --- src/Main/PokeHES.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Main/PokeHES.java b/src/Main/PokeHES.java index 9d0c7f7..df9ce32 100644 --- a/src/Main/PokeHES.java +++ b/src/Main/PokeHES.java @@ -108,10 +108,9 @@ public class PokeHES extends PortableApplication { // switch to Map if(!sp.b.getScreenBattleOn() && onBattleScreen){ - //addXp for the player - sp.p.addXp(sp.b.getNewXp()); - //remove pv of the enemy - sp.e.removedPv(sp.b.getNewXp()); + + sp.p.addXp(sp.b.getNewXp()); //add Xp for the player + sp.e.removedPv(sp.b.getNewXp()); //remove pv of the enemy sp.p.onEnemy = false; sp.sm = sp.screenManager.getScreenMap();