Group MoveDescriptions with PrintMoveDesc and rename that to PrintMoveDescription (like ItemDescriptions with PrintItemDescription)
This commit is contained in:
@@ -11,7 +11,7 @@ PrintItemDescription:
|
||||
pop hl
|
||||
ld a, [wTempTMHM]
|
||||
ld [wCurSpecies], a
|
||||
predef PrintMoveDesc
|
||||
predef PrintMoveDescription
|
||||
ret
|
||||
|
||||
.not_a_tm
|
||||
|
@@ -252,7 +252,7 @@ TMHM_ShowTMMoveDescription:
|
||||
ld a, [wTempTMHM]
|
||||
ld [wCurSpecies], a
|
||||
hlcoord 1, 14
|
||||
call PrintMoveDesc
|
||||
call PrintMoveDescription
|
||||
jp TMHM_JoypadLoop
|
||||
|
||||
TMHM_ChooseTMorHM:
|
||||
|
@@ -1214,7 +1214,7 @@ PlaceMoveData:
|
||||
|
||||
.description
|
||||
hlcoord 1, 14
|
||||
predef PrintMoveDesc
|
||||
predef PrintMoveDescription
|
||||
ld a, $1
|
||||
ldh [hBGMapMode], a
|
||||
ret
|
||||
|
@@ -1,4 +1,4 @@
|
||||
PrintMoveDesc:
|
||||
PrintMoveDescription:
|
||||
push hl
|
||||
ld hl, MoveDescriptions
|
||||
ld a, [wCurSpecies]
|
||||
@@ -12,3 +12,5 @@ PrintMoveDesc:
|
||||
ld d, [hl]
|
||||
pop hl
|
||||
jp PlaceString
|
||||
|
||||
INCLUDE "data/moves/descriptions.asm"
|
||||
|
Reference in New Issue
Block a user