mirror of
				https://github.com/thornAvery/kep-hack.git
				synced 2025-10-28 09:39:20 +13:00 
			
		
		
		
	 8bd3b8a703
			
		
	
	
		8bd3b8a703
		
	
	
	
	
		
			
			I forgot to put a `ret` at the end of `ShowThis`, causing the sequence to break. It also fixes a bug that would trap you in your house if you cleared the game at all - LAST_MAP is set to the player's room due to how we changed the starting position. The post-game Legendary respawns are NOT fixed with this, for reasons I don't yet know. It's most likely the faulty dex as a whole. The post-game setup itself now works, though - Route 1 Oak appears, Crater Guard disappears, Bill's Garden becomes accessible, etc. Cerulean Cave is made accessible through the post-game setup until the gauntlet is officially done.
		
			
				
	
	
		
			16 lines
		
	
	
		
			416 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			416 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
| RedsHouse1F_Object:
 | |
| 	db $a ; border block
 | |
| 
 | |
| 	def_warp_events
 | |
| 	warp_event  2,  7, PALLET_TOWN, 1 ; So we can't use LastMap here, due to changing where the player starts upon clearing the game.
 | |
| 	warp_event  3,  7, PALLET_TOWN, 1
 | |
| 	warp_event  7,  1, REDS_HOUSE_2F, 1
 | |
| 
 | |
| 	def_bg_events
 | |
| 	bg_event  3,  1, 2 ; RedsHouse1FTVText
 | |
| 
 | |
| 	def_object_events
 | |
| 	object_event  5,  4, SPRITE_MOM, STAY, LEFT, 1
 | |
| 
 | |
| 	def_warps_to REDS_HOUSE_1F
 |