summaryrefslogtreecommitdiff
path: root/engine/pokemon/print_move_description.asm
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2018-08-06 17:20:05 +0200
committermid-kid <esteve.varela@gmail.com>2018-08-07 09:46:21 +0200
commit86c1b05fbc74711d03e4a2122342c55e58d99995 (patch)
treecb9b23ba13414b87c18572457e690b65aed8eb77 /engine/pokemon/print_move_description.asm
parent98e670f3637b5f845a91423ee2d624d2f1e331a6 (diff)
Split print_move_description and mon_menu
Diffstat (limited to 'engine/pokemon/print_move_description.asm')
-rw-r--r--engine/pokemon/print_move_description.asm14
1 files changed, 14 insertions, 0 deletions
diff --git a/engine/pokemon/print_move_description.asm b/engine/pokemon/print_move_description.asm
new file mode 100644
index 000000000..c461f2f3d
--- /dev/null
+++ b/engine/pokemon/print_move_description.asm
@@ -0,0 +1,14 @@
+PrintMoveDesc:
+ push hl
+ ld hl, MoveDescriptions
+ ld a, [wCurSpecies]
+ dec a
+ ld c, a
+ ld b, 0
+ add hl, bc
+ add hl, bc
+ ld a, [hli]
+ ld e, a
+ ld d, [hl]
+ pop hl
+ jp PlaceString