mirror of
				https://github.com/thornAvery/jep-hack.git
				synced 2025-11-04 21:01:01 +13:00 
			
		
		
		
	This shit needs debug NOW
This makes the ROM build with the Debug Room available. It requires a save file to be available to you. I also removed the stupid jutsu button combo required to access it while selecting.
This commit is contained in:
		
							parent
							
								
									5e9e9b4b65
								
							
						
					
					
						commit
						55f4427fc1
					
				
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -91,7 +91,7 @@ ifeq ($(DEBUG),1)
 | 
			
		|||
RGBASMFLAGS += -E
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
$(pokecrystal_obj):         RGBASMFLAGS +=
 | 
			
		||||
$(pokecrystal_obj):         RGBASMFLAGS += -D _DEBUG
 | 
			
		||||
$(pokecrystal_vc_obj):      RGBASMFLAGS += -D _CRYSTAL_VC
 | 
			
		||||
 | 
			
		||||
%.patch: vc/%.constants.sym %_vc.gbc %.gbc vc/%.patch.template
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -30,10 +30,11 @@ DEF DEBUGROOMMENU_NUM_PAGES EQU const_value
 | 
			
		|||
	const DEBUGROOMMENUITEM_BT_BUG_POKE  ; 14
 | 
			
		||||
 | 
			
		||||
_DebugRoom:
 | 
			
		||||
	ldh a, [hJoyDown]
 | 
			
		||||
	and SELECT | START
 | 
			
		||||
	cp SELECT | START
 | 
			
		||||
	ret nz
 | 
			
		||||
	; This makes it less fussy to access - PvK
 | 
			
		||||
	;ldh a, [hJoyDown]
 | 
			
		||||
	;and SELECT | START
 | 
			
		||||
	;cp SELECT | START
 | 
			
		||||
	;ret nz
 | 
			
		||||
	ldh a, [hDebugRoomMenuPage]
 | 
			
		||||
	push af
 | 
			
		||||
	xor a
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue