mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 18:30:50 +12:00
Remove trailing whitespace
This commit is contained in:
parent
2db54ecb9b
commit
2a4b8b5a24
|
@ -48,11 +48,11 @@ FirstMapSpec:
|
||||||
special_warp_spec REDS_HOUSE_2F, 3, 6, REDS_HOUSE_2
|
special_warp_spec REDS_HOUSE_2F, 3, 6, REDS_HOUSE_2
|
||||||
TradeCenterSpec1:
|
TradeCenterSpec1:
|
||||||
special_warp_spec TRADE_CENTER, 3, 4, CLUB
|
special_warp_spec TRADE_CENTER, 3, 4, CLUB
|
||||||
TradeCenterSpec2:
|
TradeCenterSpec2:
|
||||||
special_warp_spec TRADE_CENTER, 6, 4, CLUB
|
special_warp_spec TRADE_CENTER, 6, 4, CLUB
|
||||||
ColosseumSpec1:
|
ColosseumSpec1:
|
||||||
special_warp_spec COLOSSEUM, 3, 4, CLUB
|
special_warp_spec COLOSSEUM, 3, 4, CLUB
|
||||||
ColosseumSpec2:
|
ColosseumSpec2:
|
||||||
special_warp_spec COLOSSEUM, 6, 4, CLUB
|
special_warp_spec COLOSSEUM, 6, 4, CLUB
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
; unique moves for gym leaders
|
; unique moves for gym leaders
|
||||||
; this is not automatic! you have to write the index you want to [wLoneAttackNo]
|
; this is not automatic! you have to write the index you want to [wLoneAttackNo]
|
||||||
; first. e.g., erika's script writes 4 to [wLoneAttackNo] to get mega drain,
|
; first. e.g., erika's script writes 4 to [wLoneAttackNo] to get mega drain,
|
||||||
; the fourth entry in the list.
|
; the fourth entry in the list.
|
||||||
LoneMoves:
|
LoneMoves:
|
||||||
; pokemon index, move to give nth pokemon
|
; pokemon index, move to give nth pokemon
|
||||||
|
|
|
@ -4485,7 +4485,7 @@ CalculateDamage:
|
||||||
ld b, 4
|
ld b, 4
|
||||||
call Divide
|
call Divide
|
||||||
|
|
||||||
; Update wCurDamage.
|
; Update wCurDamage.
|
||||||
; Capped at MAX_NEUTRAL_DAMAGE - MIN_NEUTRAL_DAMAGE: 999 - 2 = 997.
|
; Capped at MAX_NEUTRAL_DAMAGE - MIN_NEUTRAL_DAMAGE: 999 - 2 = 997.
|
||||||
ld hl, wDamage
|
ld hl, wDamage
|
||||||
ld b, [hl]
|
ld b, [hl]
|
||||||
|
|
|
@ -13,7 +13,7 @@ DivideBCD::
|
||||||
ldh [hDivideBCDBuffer+1], a
|
ldh [hDivideBCDBuffer+1], a
|
||||||
ldh [hDivideBCDBuffer+2], a
|
ldh [hDivideBCDBuffer+2], a
|
||||||
ld d, $1
|
ld d, $1
|
||||||
.mulBy10Loop
|
.mulBy10Loop
|
||||||
; multiply the divisor by 10 until the leading digit is nonzero
|
; multiply the divisor by 10 until the leading digit is nonzero
|
||||||
; to set up the standard long division algorithm
|
; to set up the standard long division algorithm
|
||||||
ldh a, [hDivideBCDDivisor]
|
ldh a, [hDivideBCDDivisor]
|
||||||
|
@ -108,7 +108,7 @@ DivideBCD::
|
||||||
ldh a, [hDivideBCDBuffer+2]
|
ldh a, [hDivideBCDBuffer+2]
|
||||||
ldh [hDivideBCDQuotient+2], a
|
ldh [hDivideBCDQuotient+2], a
|
||||||
pop de
|
pop de
|
||||||
ld a, $6
|
ld a, $6
|
||||||
sub d
|
sub d
|
||||||
and a
|
and a
|
||||||
ret z
|
ret z
|
||||||
|
|
|
@ -430,7 +430,7 @@ _MoveMon::
|
||||||
cp PARTY_TO_DAYCARE
|
cp PARTY_TO_DAYCARE
|
||||||
ld de, wDayCareMonOT
|
ld de, wDayCareMonOT
|
||||||
jr z, .findOTsrc
|
jr z, .findOTsrc
|
||||||
dec a
|
dec a
|
||||||
ld hl, wPartyMonOT
|
ld hl, wPartyMonOT
|
||||||
ld a, [wPartyCount]
|
ld a, [wPartyCount]
|
||||||
jr nz, .addOToffset
|
jr nz, .addOToffset
|
||||||
|
|
Loading…
Reference in a new issue