1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2024-11-23 01:43:28 +00:00
This commit is contained in:
Rémi Heredero 2022-06-17 14:26:50 +02:00
parent c7c6274be1
commit d1b954ae91

View File

@ -108,10 +108,9 @@ public class PokeHES extends PortableApplication {
// switch to Map // switch to Map
if(!sp.b.getScreenBattleOn() && onBattleScreen){ if(!sp.b.getScreenBattleOn() && onBattleScreen){
//addXp for the player
sp.p.addXp(sp.b.getNewXp()); sp.p.addXp(sp.b.getNewXp()); //add Xp for the player
//remove pv of the enemy sp.e.removedPv(sp.b.getNewXp()); //remove pv of the enemy
sp.e.removedPv(sp.b.getNewXp());
sp.p.onEnemy = false; sp.p.onEnemy = false;
sp.sm = sp.screenManager.getScreenMap(); sp.sm = sp.screenManager.getScreenMap();