Use STRING_BUFFER_LENGTH for the wStringBuffers

This commit is contained in:
Rangi
2020-11-24 20:11:17 -05:00
parent 4ca9f45db7
commit 4613bcfadf
6 changed files with 14 additions and 11 deletions

View File

@@ -1750,7 +1750,7 @@ The exact cause of this bug is unknown.
ld de, wStringBuffer1
ld a, BANK("Evolutions and Attacks")
- ld bc, 10
+ ld bc, wStringBuffer2 - wStringBuffer1
+ ld bc, STRING_BUFFER_LENGTH
call FarCopyBytes
```