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

xp modification

This commit is contained in:
Fastium
2022-06-14 12:51:47 +02:00
parent c1ed41fdbe
commit 26a8b0280b
4 changed files with 44 additions and 5 deletions

View File

@ -73,6 +73,12 @@ public class PokeMudry extends PortableApplication {
if(onBattleScreen) sp.sb.manage(controller, sp.b);
//manage battle
if(!sp.b.getScreenBattleOn()){
sp.b.setPvEnemy(sp.e.getPv());
sp.b.setXpPlayer(sp.p.getXp());
}
if(!sp.b.getScreenBattleOn() && onBattleScreen){
sp.p.onEnemy = false;