Group MoveDescriptions with PrintMoveDesc and rename that to PrintMoveDescription (like ItemDescriptions with PrintItemDescription)

This commit is contained in:
Rangi 2020-05-25 03:54:42 -04:00
parent 159cef004f
commit 60f7ca4006
6 changed files with 7 additions and 6 deletions

View File

@ -24,7 +24,7 @@ PredefPointers::
add_predef CanLearnTMHMMove
add_predef GetTMHMMove
add_predef LinkTextboxAtHL ; $ 10
add_predef PrintMoveDesc
add_predef PrintMoveDescription
add_predef UpdatePlayerHUD
add_predef PlaceGraphic
add_predef CheckPlayerPartyForFitMon

View File

@ -11,7 +11,7 @@ PrintItemDescription:
pop hl
ld a, [wTempTMHM]
ld [wCurSpecies], a
predef PrintMoveDesc
predef PrintMoveDescription
ret
.not_a_tm

View File

@ -252,7 +252,7 @@ TMHM_ShowTMMoveDescription:
ld a, [wTempTMHM]
ld [wCurSpecies], a
hlcoord 1, 14
call PrintMoveDesc
call PrintMoveDescription
jp TMHM_JoypadLoop
TMHM_ChooseTMorHM:

View File

@ -1214,7 +1214,7 @@ PlaceMoveData:
.description
hlcoord 1, 14
predef PrintMoveDesc
predef PrintMoveDescription
ld a, $1
ldh [hBGMapMode], a
ret

View File

@ -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"

View File

@ -146,7 +146,6 @@ INCLUDE "engine/events/move_deleter.asm"
INCLUDE "engine/link/mystery_gift_2.asm"
INCLUDE "engine/items/tmhm.asm"
INCLUDE "engine/pokemon/print_move_description.asm"
INCLUDE "data/moves/descriptions.asm"
INCLUDE "engine/events/pokerus/pokerus.asm"
INCLUDE "engine/battle/start_battle.asm"
INCLUDE "engine/gfx/place_graphic.asm"