summaryrefslogtreecommitdiff
path: root/engine/items/updateitemdescription.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/items/updateitemdescription.asm')
-rw-r--r--engine/items/updateitemdescription.asm13
1 files changed, 13 insertions, 0 deletions
diff --git a/engine/items/updateitemdescription.asm b/engine/items/updateitemdescription.asm
new file mode 100644
index 000000000..fdb1e864d
--- /dev/null
+++ b/engine/items/updateitemdescription.asm
@@ -0,0 +1,13 @@
+UpdateItemDescription: ; 0x244c3
+ ld a, [wMenuSelection]
+ ld [wCurSpecies], a
+ hlcoord 0, 12
+ ld b, 4
+ ld c, SCREEN_WIDTH - 2
+ call TextBox
+ ld a, [wMenuSelection]
+ cp -1
+ ret z
+ decoord 1, 14
+ farcall PrintItemDescription
+ ret