mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-20 06:08:57 +13:00
fix strength cry
This commit is contained in:
parent
62ce1723dc
commit
875adc18fd
2 changed files with 23 additions and 0 deletions
|
|
@ -177,6 +177,18 @@ StartMenu_Pokemon::
|
|||
.strength
|
||||
bit BIT_RAINBOWBADGE, a
|
||||
jp z, .newBadgeRequired
|
||||
ld a, [wWhichPokemon]
|
||||
ld hl, wPartySpecies
|
||||
; bumping hl by a, need to make sure carry happens
|
||||
ld c, a
|
||||
ld a, l
|
||||
add a, c
|
||||
ld l, a
|
||||
jr nc, .strengthNoCarry
|
||||
inc h
|
||||
.strengthNoCarry
|
||||
ld a, [hl]
|
||||
ld [wcf91], a
|
||||
predef PrintStrengthTxt
|
||||
call GBPalWhiteOutWithDelay3
|
||||
jp .goBackToMap
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue