mirror of
https://github.com/Klagarge/PokeHES.git
synced 2024-11-23 01:43:28 +00:00
ok
This commit is contained in:
parent
ab3292314d
commit
aac7ba69f6
@ -77,7 +77,7 @@ public class PokeMudry extends PortableApplication {
|
||||
}
|
||||
|
||||
//end of the game
|
||||
if(sp.p.getPv() <= 0 && !onEndScreen) {
|
||||
if((sp.p.getPv() <= 0 || sp.p.getXp() >= sp.p.getXpMax() ) && !onEndScreen ) {
|
||||
g.zoom(1);
|
||||
g.resetCamera();
|
||||
sp.se = sp.screenManager.getScreenEnd();
|
||||
|
Loading…
Reference in New Issue
Block a user