summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-09-07 23:22:17 -0400
committeryenatch <yenatch@gmail.com>2013-09-07 23:22:17 -0400
commite13f03ae4447b741a7af9b4c28b7c36f38311c0d (patch)
treeffd00e23d4b04baf490a3eb0d072eab594cdb19b
parent3b119687f3bba17bf289271d4d2af695a2e8dd0b (diff)
comment PrintMonTypes
-rw-r--r--main.asm15
1 files changed, 11 insertions, 4 deletions
diff --git a/main.asm b/main.asm
index c589b5e29..65a9c2ba3 100644
--- a/main.asm
+++ b/main.asm
@@ -59141,26 +59141,33 @@ Function508d5: ; 508d5
PrintMonTypes: ; 5090d
+; Print both types of CurSpecies on the stats screen at hl.
+
push hl
call GetBaseData
pop hl
+
push hl
ld a, [BaseType1]
- call .asm_50928
+ call .PrintType
+
ld a, [BaseType1]
ld b, a
ld a, [BaseType2]
cp b
pop hl
- jr z, .asm_5092b
+ jr z, .HideSecondType
+
+; Next row
ld bc, 20
add hl, bc
-.asm_50928
+.PrintType
ld b, a
jr PrintType
-.asm_5092b
+.HideSecondType
+; This doesn't actually do anything.
ld a, " "
ld bc, 20 - 3
add hl, bc