mirror of
https://github.com/Klagarge/PokeHES.git
synced 2025-01-31 05:02:45 +00:00
bug fix done
This commit is contained in:
parent
b13b19c3fb
commit
66cb496cf7
@ -75,7 +75,9 @@ public class ScreenBattle extends RenderingScreen{
|
|||||||
g.drawFilledRectangle(Settings.SIDE/2, HEIGHT_DIALOG/2 + EDGE, WIDTH_DIALOG, HEIGHT_DIALOG, 0);
|
g.drawFilledRectangle(Settings.SIDE/2, HEIGHT_DIALOG/2 + EDGE, WIDTH_DIALOG, HEIGHT_DIALOG, 0);
|
||||||
|
|
||||||
//dialog
|
//dialog
|
||||||
if(b != null) g.drawString(15, 245 ,b.getLine() , optimus40);
|
if(b == null) return;
|
||||||
|
if(b.getLine() == null) return;
|
||||||
|
g.drawString(15, 245 ,b.getLine() , optimus40);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ public class ScreenPlayer {
|
|||||||
|
|
||||||
if(sb != null){
|
if(sb != null){
|
||||||
sb.setBattle(b);
|
sb.setBattle(b);
|
||||||
|
b.setEnemy(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
screenManager.render(g);
|
screenManager.render(g);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user