mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Replace unnecessary tabs with spaces
This commit is contained in:
parent
5207a14af3
commit
52bb07ca18
13 changed files with 157 additions and 157 deletions
|
|
@ -4502,10 +4502,10 @@ GetEnemyMonStat:
|
|||
|
||||
CalculateDamage:
|
||||
; input:
|
||||
; b: attack
|
||||
; c: opponent defense
|
||||
; d: base power
|
||||
; e: level
|
||||
; b: attack
|
||||
; c: opponent defense
|
||||
; d: base power
|
||||
; e: level
|
||||
|
||||
ld a, [H_WHOSETURN] ; whose turn?
|
||||
and a
|
||||
|
|
@ -7512,7 +7512,7 @@ FrozenText:
|
|||
|
||||
CheckDefrost:
|
||||
; any fire-type move that has a chance inflict burn (all but Fire Spin) will defrost a frozen target
|
||||
and a, 1 << FRZ ; are they frozen?
|
||||
and a, 1 << FRZ ; are they frozen?
|
||||
ret z ; return if so
|
||||
ld a, [H_WHOSETURN]
|
||||
and a
|
||||
|
|
@ -7521,7 +7521,7 @@ CheckDefrost:
|
|||
ld a, [wPlayerMoveType]
|
||||
sub a, FIRE
|
||||
ret nz ; return if type of move used isn't fire
|
||||
ld [wEnemyMonStatus], a ; set opponent status to 00 ["defrost" a frozen monster]
|
||||
ld [wEnemyMonStatus], a ; set opponent status to 00 ["defrost" a frozen monster]
|
||||
ld hl, wEnemyMon1Status
|
||||
ld a, [wEnemyMonPartyPos]
|
||||
ld bc, wEnemyMon2 - wEnemyMon1
|
||||
|
|
@ -7531,7 +7531,7 @@ CheckDefrost:
|
|||
ld hl, FireDefrostedText
|
||||
jr .common
|
||||
.opponent
|
||||
ld a, [wEnemyMoveType] ; same as above with addresses swapped
|
||||
ld a, [wEnemyMoveType] ; same as above with addresses swapped
|
||||
sub a, FIRE
|
||||
ret nz
|
||||
ld [wBattleMonStatus], a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue