mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Replace hardcoded name lengths with NAME_LENGTH
This commit is contained in:
parent
1df1e9181e
commit
4aedff0217
22 changed files with 86 additions and 84 deletions
|
|
@ -10,11 +10,11 @@ NameRaterScript_1da15: ; 1da15 (7:5a15)
|
|||
|
||||
NameRaterScript_1da20: ; 1da20 (7:5a20)
|
||||
ld hl, wPartyMonOT
|
||||
ld bc, 11
|
||||
ld bc, NAME_LENGTH
|
||||
ld a, [wWhichPokemon]
|
||||
call AddNTimes
|
||||
ld de, wPlayerName
|
||||
ld c, 11
|
||||
ld c, NAME_LENGTH
|
||||
call .asm_1da47
|
||||
jr c, .asm_1da52
|
||||
ld hl, wPartyMon1OTID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue