1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2025-10-30 11:19:17 +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

@@ -101,8 +101,14 @@ public class ScreenBattle extends RenderingScreen{
if( battle.getAttackOn() == false){
if (c.keyStatus.get(Input.Keys.SPACE)){
System.out.println("in");
battle.readNextLine();
if(battle.getLineSpeech() <= 5){
battle.screenBattleOn = battle.finish();
}
else{
System.out.println("in");
battle.readNextLine();
}
}
if (c.keyStatus.get(Input.Keys.ENTER)){
battle.screenBattleOn = battle.finish();