mirror of
https://github.com/Klagarge/PokeHES.git
synced 2025-07-07 17:01:10 +00:00
add xp and pv on display
This commit is contained in:
@ -66,6 +66,8 @@ public class PokeMudry extends PortableApplication {
|
||||
|
||||
if(onMapScreen) sp.p.manageEntity(sp.sm, controller);
|
||||
|
||||
|
||||
|
||||
// Switch screen
|
||||
if (sp.p.onEnemy && onMapScreen){
|
||||
sp.e = sp.p.lastEnemy;
|
||||
@ -73,8 +75,9 @@ public class PokeMudry extends PortableApplication {
|
||||
int pv = sp.e.getPv();
|
||||
|
||||
if (pv>0) {
|
||||
sp.sb = sp.screenManager.getScreenBattle();
|
||||
|
||||
sp.b = new Battle(sp.e);
|
||||
sp.sb = sp.screenManager.getScreenBattle();
|
||||
|
||||
//set pv and xp to display
|
||||
sp.b.setXpPlayer(sp.p.getXp());
|
||||
|
Reference in New Issue
Block a user