diff options
Diffstat (limited to 'engine')
| -rwxr-xr-x | engine/battle/core.asm | 2 | ||||
| -rw-r--r-- | engine/math/bcd.asm | 4 | ||||
| -rw-r--r-- | engine/pokemon/add_mon.asm | 2 | 
3 files changed, 4 insertions, 4 deletions
| diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 96e7f360..b9985b6b 100755 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -4485,7 +4485,7 @@ CalculateDamage:  	ld b, 4  	call Divide -; Update wCurDamage.  +; Update wCurDamage.  ; Capped at MAX_NEUTRAL_DAMAGE - MIN_NEUTRAL_DAMAGE: 999 - 2 = 997.  	ld hl, wDamage  	ld b, [hl] diff --git a/engine/math/bcd.asm b/engine/math/bcd.asm index 92bf6f17..5747a684 100644 --- a/engine/math/bcd.asm +++ b/engine/math/bcd.asm @@ -13,7 +13,7 @@ DivideBCD::  	ldh [hDivideBCDBuffer+1], a  	ldh [hDivideBCDBuffer+2], a  	ld d, $1 -.mulBy10Loop  +.mulBy10Loop  ; multiply the divisor by 10 until the leading digit is nonzero  ; to set up the standard long division algorithm  	ldh a, [hDivideBCDDivisor] @@ -108,7 +108,7 @@ DivideBCD::  	ldh a, [hDivideBCDBuffer+2]  	ldh [hDivideBCDQuotient+2], a  	pop de -	ld a, $6  +	ld a, $6  	sub d  	and a  	ret z diff --git a/engine/pokemon/add_mon.asm b/engine/pokemon/add_mon.asm index d7e7eab1..c49a0a77 100644 --- a/engine/pokemon/add_mon.asm +++ b/engine/pokemon/add_mon.asm @@ -430,7 +430,7 @@ _MoveMon::  	cp PARTY_TO_DAYCARE  	ld de, wDayCareMonOT  	jr z, .findOTsrc -	dec a  +	dec a  	ld hl, wPartyMonOT  	ld a, [wPartyCount]  	jr nz, .addOToffset | 
