Fix some whitespace

This commit is contained in:
Rangi 2022-08-07 00:38:08 -04:00
parent 7cac5b787b
commit 07e8efee7e
6 changed files with 29 additions and 18 deletions

View File

@ -904,7 +904,7 @@ AI_Smart_ResetStats:
ret ret
; Discourage this move if neither: ; 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. ; Any of player's stat levels is higher than +2.
.discourage .discourage
pop hl pop hl
@ -2321,7 +2321,7 @@ AI_Smart_HiddenPower:
cp EFFECTIVE cp EFFECTIVE
jr c, .bad 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 ld a, d
cp 50 cp 50
jr c, .bad jr c, .bad

View File

@ -767,7 +767,7 @@ StartTrainerBattle_DrawSineWave:
calc_sine_wave calc_sine_wave
StartTrainerBattle_ZoomToBlack: StartTrainerBattle_ZoomToBlack:
vc_hook Stop_reducing_battle_transition_flashing_ZoomToBlack vc_hook Stop_reducing_battle_transition_flashing_ZoomToBlack
farcall RespawnPlayerAndOpponent farcall RespawnPlayerAndOpponent
ld de, .boxes ld de, .boxes

View File

@ -1401,7 +1401,7 @@ BattleCheckTypeMatchup:
and a and a
jr z, CheckTypeMatchup jr z, CheckTypeMatchup
ld hl, wBattleMonType1 ld hl, wBattleMonType1
; fallthrough ; fallthrough
CheckTypeMatchup: CheckTypeMatchup:
; BUG: AI makes a false assumption about CheckTypeMatchup (see docs/bugs_and_glitches.md) ; BUG: AI makes a false assumption about CheckTypeMatchup (see docs/bugs_and_glitches.md)
push hl push hl

View File

@ -552,9 +552,9 @@ FlyFunction:
ret ret
.Jumptable: .Jumptable:
dw .TryFly dw .TryFly
dw .DoFly dw .DoFly
dw .FailFly dw .FailFly
.TryFly: .TryFly:
ld de, ENGINE_STORMBADGE ld de, ENGINE_STORMBADGE

View File

@ -3644,17 +3644,20 @@ setcharmap ascii
Unknown_10186f: Unknown_10186f:
db .end - @ db .end - @
db $19, $73, $09, $13, "trade_crystal" db $19, $73, $09, $13, "trade_crystal"
.end db 0 .end
db 0
Unknown_101882: Unknown_101882:
db .end - @ db .end - @
db $19, $67, $10, $01, "free__crystal" db $19, $67, $10, $01, "free__crystal"
.end db 0 .end
db 0
Unknown_101895: Unknown_101895:
db .end - @ db .end - @
db $19, $67, $10, $01, "limit_crystal" db $19, $67, $10, $01, "limit_crystal"
.end db 0 .end
db 0
popc popc

View File

@ -697,14 +697,22 @@ endr
pop bc pop bc
ret ret
._9 dd 1000000000 ._9
._8 dd 100000000 dd 1000000000
._7 dd 10000000 ._8
._6 dd 1000000 dd 100000000
._5 dd 100000 ._7
._4 dd 10000 dd 10000000
._3 dd 1000 ._6
._2 dd 100 dd 1000000
._5
dd 100000
._4
dd 10000
._3
dd 1000
._2
dd 100
.Function1062b2: .Function1062b2:
ld c, $0 ld c, $0