You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Use STRING_BUFFER_LENGTH for the wStringBuffers
This commit is contained in:
@@ -73,7 +73,7 @@ AskTeachTMHM:
|
||||
ChooseMonToLearnTMHM:
|
||||
ld hl, wStringBuffer2
|
||||
ld de, wTMHMMoveNameBackup
|
||||
ld bc, 12
|
||||
ld bc, MOVE_NAME_LENGTH - 1
|
||||
call CopyBytes
|
||||
call ClearBGPalettes
|
||||
ChooseMonToLearnTMHM_NoRefresh:
|
||||
@@ -97,7 +97,7 @@ ChooseMonToLearnTMHM_NoRefresh:
|
||||
push bc
|
||||
ld hl, wTMHMMoveNameBackup
|
||||
ld de, wStringBuffer2
|
||||
ld bc, 12
|
||||
ld bc, MOVE_NAME_LENGTH - 1
|
||||
call CopyBytes
|
||||
pop af ; now contains the original contents of af
|
||||
ret
|
||||
|
Reference in New Issue
Block a user