1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2025-07-07 00:41:10 +00:00
This commit is contained in:
Fastium
2022-06-15 08:20:28 +02:00
parent 26a8b0280b
commit 997f303567
3 changed files with 50 additions and 4 deletions

View File

@ -75,16 +75,17 @@ public class PokeMudry extends PortableApplication {
//manage battle
if(!sp.b.getScreenBattleOn()){
sp.p.addXp(sp.b.getNewXp());
sp.e.removedPv(sp.b.getNewXp());
sp.b.setPvEnemy(sp.e.getPv());
sp.b.setXpPlayer(sp.p.getXp());
}
if(!sp.b.getScreenBattleOn() && onBattleScreen){
sp.p.onEnemy = false;
sp.sm = sp.screenManager.getScreenMap();
sp.p.addXp(sp.b.getNewXp());
sp.e.removedPv(sp.b.getNewXp());
}
// Graphics render