shithub: pokecrystal

Download patch

ref: 07e8efee7ea19a5ae09ccceb193e1f7e8dec64b1
parent: 7cac5b787bda37b5ed1fc5ea39e6a96c046cca9d
author: Rangi <[email protected]>
date: Sat Aug 6 20:38:08 EDT 2022

Fix some whitespace

--- a/engine/battle/ai/scoring.asm
+++ b/engine/battle/ai/scoring.asm
@@ -904,7 +904,7 @@
 	ret
 
 ; Discourage this move if neither:
-; Any of enemy's stat levels is	lower than -2.
+; Any of enemy's stat levels is lower than -2.
 ; Any of player's stat levels is higher than +2.
 .discourage
 	pop hl
@@ -2321,7 +2321,7 @@
 	cp EFFECTIVE
 	jr c, .bad
 
-; Discourage Hidden Power if its base power	is lower than 50.
+; Discourage Hidden Power if its base power is lower than 50.
 	ld a, d
 	cp 50
 	jr c, .bad
--- a/engine/battle/battle_transition.asm
+++ b/engine/battle/battle_transition.asm
@@ -767,7 +767,7 @@
 	calc_sine_wave
 
 StartTrainerBattle_ZoomToBlack:
-	vc_hook	Stop_reducing_battle_transition_flashing_ZoomToBlack
+	vc_hook Stop_reducing_battle_transition_flashing_ZoomToBlack
 	farcall RespawnPlayerAndOpponent
 	ld de, .boxes
 
--- a/engine/battle/effect_commands.asm
+++ b/engine/battle/effect_commands.asm
@@ -1401,7 +1401,7 @@
 	and a
 	jr z, CheckTypeMatchup
 	ld hl, wBattleMonType1
- 	; fallthrough
+	; fallthrough
 CheckTypeMatchup:
 ; BUG: AI makes a false assumption about CheckTypeMatchup (see docs/bugs_and_glitches.md)
 	push hl
--- a/engine/events/overworld.asm
+++ b/engine/events/overworld.asm
@@ -552,9 +552,9 @@
 	ret
 
 .Jumptable:
- 	dw .TryFly
- 	dw .DoFly
- 	dw .FailFly
+	dw .TryFly
+	dw .DoFly
+	dw .FailFly
 
 .TryFly:
 	ld de, ENGINE_STORMBADGE
--- a/mobile/mobile_40.asm
+++ b/mobile/mobile_40.asm
@@ -3644,17 +3644,20 @@
 Unknown_10186f:
 	db .end - @
 	db $19, $73, $09, $13, "trade_crystal"
-.end	db 0
+.end
+	db 0
 
 Unknown_101882:
 	db .end - @
 	db $19, $67, $10, $01, "free__crystal"
-.end	db 0
+.end
+	db 0
 
 Unknown_101895:
 	db .end - @
 	db $19, $67, $10, $01, "limit_crystal"
-.end	db 0
+.end
+	db 0
 
 popc
 
--- a/mobile/mobile_41.asm
+++ b/mobile/mobile_41.asm
@@ -697,14 +697,22 @@
 	pop bc
 	ret
 
-._9	dd 1000000000
-._8	dd 100000000
-._7	dd 10000000
-._6	dd 1000000
-._5	dd 100000
-._4	dd 10000
-._3	dd 1000
-._2	dd 100
+._9
+	dd 1000000000
+._8
+	dd 100000000
+._7
+	dd 10000000
+._6
+	dd 1000000
+._5
+	dd 100000
+._4
+	dd 10000
+._3
+	dd 1000
+._2
+	dd 100
 
 .Function1062b2:
 	ld c, $0