mirror of
				https://github.com/Klagarge/PokeHES.git
				synced 2025-10-30 19:29:17 +00:00 
			
		
		
		
	bug fix done
This commit is contained in:
		| @@ -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); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user