diff options
| author | dannye <corrnondacqb@yahoo.com> | 2015-08-10 23:51:20 -0500 |
|---|---|---|
| committer | dannye <corrnondacqb@yahoo.com> | 2015-08-10 23:51:20 -0500 |
| commit | 4aedff021786dd5c0b81d3a35f505b7aa42adddc (patch) | |
| tree | 60955f4e561a16bf75d6d964dcf93a7be839b278 /engine/learn_move.asm | |
| parent | Use better wram labels in sram (diff) | |
| download | pokeyellow-4aedff021786dd5c0b81d3a35f505b7aa42adddc.tar.gz pokeyellow-4aedff021786dd5c0b81d3a35f505b7aa42adddc.tar.xz pokeyellow-4aedff021786dd5c0b81d3a35f505b7aa42adddc.zip | |
Replace hardcoded name lengths with NAME_LENGTH
Diffstat (limited to 'engine/learn_move.asm')
| -rwxr-xr-x | engine/learn_move.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/learn_move.asm b/engine/learn_move.asm index 02459b20..aeb7d23d 100755 --- a/engine/learn_move.asm +++ b/engine/learn_move.asm @@ -5,7 +5,7 @@ LearnMove: ; 6e43 (1:6e43) call GetPartyMonName ld hl, wcd6d ld de, wd036 - ld bc, 11 + ld bc, NAME_LENGTH call CopyData DontAbandonLearning: ; 6e5b (1:6e5b) |
