mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
Group MoveDescriptions with PrintMoveDesc and rename that to PrintMoveDescription (like ItemDescriptions with PrintItemDescription)
This commit is contained in:
parent
159cef004f
commit
60f7ca4006
@ -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
|
||||
|
@ -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"
|
||||
|
1
main.asm
1
main.asm
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user