mirror of
				https://github.com/thornAvery/kep-hack.git
				synced 2025-11-04 20:51:02 +13:00 
			
		
		
		
	blah
This commit is contained in:
		
							parent
							
								
									2b68600401
								
							
						
					
					
						commit
						2c28d50304
					
				
							
								
								
									
										1
									
								
								.direnv/flake-inputs/kvz5368wsc21943p8038p3n90vzb1mbh-source
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								.direnv/flake-inputs/kvz5368wsc21943p8038p3n90vzb1mbh-source
									
									
									
									
									
										Symbolic link
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
/nix/store/kvz5368wsc21943p8038p3n90vzb1mbh-source
 | 
			
		||||
							
								
								
									
										1
									
								
								.direnv/flake-inputs/p58d2j0ac7zvja5jl14xzbc19fakjxh2-source
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								.direnv/flake-inputs/p58d2j0ac7zvja5jl14xzbc19fakjxh2-source
									
									
									
									
									
										Symbolic link
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
/nix/store/p58d2j0ac7zvja5jl14xzbc19fakjxh2-source
 | 
			
		||||
							
								
								
									
										1
									
								
								.direnv/flake-inputs/xmyd2lyqdjsn4hcgwsl8z5587y8jvqkh-source
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								.direnv/flake-inputs/xmyd2lyqdjsn4hcgwsl8z5587y8jvqkh-source
									
									
									
									
									
										Symbolic link
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
/nix/store/xmyd2lyqdjsn4hcgwsl8z5587y8jvqkh-source
 | 
			
		||||
							
								
								
									
										1
									
								
								.direnv/flake-inputs/yj1wxm9hh8610iyzqnz75kvs6xl8j3my-source
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								.direnv/flake-inputs/yj1wxm9hh8610iyzqnz75kvs6xl8j3my-source
									
									
									
									
									
										Symbolic link
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
/nix/store/yj1wxm9hh8610iyzqnz75kvs6xl8j3my-source
 | 
			
		||||
							
								
								
									
										1
									
								
								.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa
									
									
									
									
									
										Symbolic link
									
								
							
							
						
						
									
										1
									
								
								.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa
									
									
									
									
									
										Symbolic link
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
/nix/store/ayfhlk9k47y780zqh1yidwm3ikkbf6p3-nix-shell-env
 | 
			
		||||
							
								
								
									
										1879
									
								
								.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1879
									
								
								.direnv/flake-profile-a5d5b61aa8a61b7d9d765e1daf971a9a578f1cfa.rc
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							| 
						 | 
				
			
			@ -844,7 +844,7 @@ FaintEnemyPokemon:
 | 
			
		|||
	; This checks if the opponent is Meltan, the Jar isn't full, and it's in the bag.
 | 
			
		||||
	; If so, it increments the amount of candies in the jar. Once full, it stops counting.
 | 
			
		||||
	ld a, [wEnemyMonSpecies] ; Load species.
 | 
			
		||||
	cp $E4 ; Is it Meltan?
 | 
			
		||||
	cp $E6 ; Is it Meltan?
 | 
			
		||||
	jr nz, .skip ; Continue as normal if not.
 | 
			
		||||
	
 | 
			
		||||
	ld b, CANDY_JAR ; Ok, we have a Meltan on our hands. Is the Jar in the bag?
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -64,8 +64,7 @@ JamesText:
 | 
			
		|||
	call RestoreScreenTilesAndReloadTilePatterns
 | 
			
		||||
	call LoadGBPal
 | 
			
		||||
	pop af
 | 
			
		||||
	ld hl, JamesDone
 | 
			
		||||
	call PrintText
 | 
			
		||||
	jr c, .refused
 | 
			
		||||
	
 | 
			
		||||
	; DV increasing process.
 | 
			
		||||
	; Thanks to Vimescarrot for giving me pointers on this!
 | 
			
		||||
| 
						 | 
				
			
			@ -74,13 +73,26 @@ JamesText:
 | 
			
		|||
	
 | 
			
		||||
	ld bc, wPartyMon2 - wPartyMon1 ; This gets to the right slot for DVs
 | 
			
		||||
	call AddNTimes ; Gets us there
 | 
			
		||||
	; check if already maxed
 | 
			
		||||
	ld b, h
 | 
			
		||||
	ld c, l
 | 
			
		||||
	ld a, [hli]
 | 
			
		||||
	cp a, %11111111
 | 
			
		||||
	jr nz, .train
 | 
			
		||||
	ld a, [hl]
 | 
			
		||||
	cp a, %11111111
 | 
			
		||||
	jr z, .alreadyTrained
 | 
			
		||||
.train
 | 
			
		||||
	; Set the DVS
 | 
			
		||||
	ld h, b
 | 
			
		||||
	ld l, c
 | 
			
		||||
	ld a, %11111111 ; Load FFFF FFFF, perfect 15s
 | 
			
		||||
	ld [hli], a ; Attack + Defence
 | 
			
		||||
	ld [hl], a ; Speed + Special
 | 
			
		||||
	; And we're done!
 | 
			
		||||
	
 | 
			
		||||
	; Currently this doesn't automatically change the stats because it's fucking insane
 | 
			
		||||
	
 | 
			
		||||
	ld hl, JamesDone
 | 
			
		||||
	call PrintText
 | 
			
		||||
	; Bottle Cap removal service
 | 
			
		||||
	ld hl, BottleCapList
 | 
			
		||||
.loop
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -168,10 +168,10 @@ ResetLegendaryPokemon:
 | 
			
		|||
	ResetEvent EVENT_BEAT_MEWTWO
 | 
			
		||||
	ld a, HS_MEWTWO
 | 
			
		||||
	call ShowThis
 | 
			
		||||
	ResetEvent EVENT_FIGHT_ROUTE12_SNORLAX
 | 
			
		||||
	ResetEvent EVENT_BEAT_ROUTE12_SNORLAX
 | 
			
		||||
	ld a, HS_ROUTE_12_SNORLAX
 | 
			
		||||
	call ShowThis
 | 
			
		||||
	ResetEvent EVENT_FIGHT_ROUTE16_SNORLAX
 | 
			
		||||
	ResetEvent EVENT_BEAT_ROUTE16_SNORLAX
 | 
			
		||||
	ld a, HS_ROUTE_16_SNORLAX
 | 
			
		||||
	call ShowThis
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue