mirror of
				https://github.com/thornAvery/jep-hack.git
				synced 2025-11-04 21:01:01 +13:00 
			
		
		
		
	Fix attribute map applications and soldier colors
This commit is contained in:
		
							parent
							
								
									ced3fb276d
								
							
						
					
					
						commit
						79b2a11f85
					
				| 
						 | 
				
			
			@ -1011,6 +1011,9 @@ INCLUDE "gfx/trainer_card/badges.pal"
 | 
			
		|||
	call LoadHLOBPaletteIntoDE
 | 
			
		||||
	dec b
 | 
			
		||||
	jr nz, .ob_loop
 | 
			
		||||
	; Fix Attribute map
 | 
			
		||||
	call WipeAttrmap
 | 
			
		||||
	call ApplyAttrmap
 | 
			
		||||
	ret
 | 
			
		||||
 | 
			
		||||
_CGB_TrainerCardKanto:
 | 
			
		||||
| 
						 | 
				
			
			@ -1170,6 +1173,9 @@ INCLUDE "gfx/trainer_card/kanto_badges.pal"
 | 
			
		|||
	call LoadHLOBPaletteIntoDE
 | 
			
		||||
	dec b
 | 
			
		||||
	jr nz, .ob_loop
 | 
			
		||||
	; Fix Attribute map
 | 
			
		||||
	call WipeAttrmap
 | 
			
		||||
	call ApplyAttrmap
 | 
			
		||||
	ret
 | 
			
		||||
 | 
			
		||||
_CGB_MoveList:
 | 
			
		||||
| 
						 | 
				
			
			@ -1303,6 +1309,9 @@ INCLUDE "gfx/pack/pack_nb.pal"
 | 
			
		|||
	call LoadHLOBPaletteIntoDE
 | 
			
		||||
	dec b
 | 
			
		||||
	jr nz, .ob_loop
 | 
			
		||||
	; Fix Attribute map
 | 
			
		||||
	call WipeAttrmap
 | 
			
		||||
	call ApplyAttrmap
 | 
			
		||||
	ret
 | 
			
		||||
 | 
			
		||||
_CGB_Pokepic:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 622 B  | 
		Loading…
	
		Reference in a new issue