mirror of
https://github.com/pret/pokecrystal.git
synced 2024-11-23 05:19:59 +00:00
Fix some whitespace
This commit is contained in:
parent
7cac5b787b
commit
07e8efee7e
@ -904,7 +904,7 @@ AI_Smart_ResetStats:
|
||||
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 @@ AI_Smart_HiddenPower:
|
||||
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
|
||||
|
@ -767,7 +767,7 @@ StartTrainerBattle_DrawSineWave:
|
||||
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
|
||||
|
||||
|
@ -1401,7 +1401,7 @@ BattleCheckTypeMatchup:
|
||||
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
|
||||
|
@ -552,9 +552,9 @@ FlyFunction:
|
||||
ret
|
||||
|
||||
.Jumptable:
|
||||
dw .TryFly
|
||||
dw .DoFly
|
||||
dw .FailFly
|
||||
dw .TryFly
|
||||
dw .DoFly
|
||||
dw .FailFly
|
||||
|
||||
.TryFly:
|
||||
ld de, ENGINE_STORMBADGE
|
||||
|
@ -3644,17 +3644,20 @@ setcharmap ascii
|
||||
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
|
||||
|
||||
|
@ -697,14 +697,22 @@ endr
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user