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

fix bug !!! (hallelujah)

This commit is contained in:
2022-06-13 19:26:52 +02:00
parent 6d71baa535
commit e71d23dd81
3 changed files with 14 additions and 10 deletions

View File

@ -62,7 +62,7 @@ public class PokeMudry extends PortableApplication {
if(onMapScreen) sp.p.manageEntity(sp.sm, controller);
// Switch screen
if (sp.p.frontOfEnemy && onMapScreen){
if (sp.p.onEnemy && onMapScreen){
sp.e = sp.p.lastEnemy;
sp.sb = sp.screenManager.getScreenBattle();
sp.b = new Battle(sp.e);