mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
comment PrintMonTypes
This commit is contained in:
parent
3b119687f3
commit
e13f03ae44
15
main.asm
15
main.asm
@ -59141,26 +59141,33 @@ Function508d5: ; 508d5
|
|||||||
|
|
||||||
|
|
||||||
PrintMonTypes: ; 5090d
|
PrintMonTypes: ; 5090d
|
||||||
|
; Print both types of CurSpecies on the stats screen at hl.
|
||||||
|
|
||||||
push hl
|
push hl
|
||||||
call GetBaseData
|
call GetBaseData
|
||||||
pop hl
|
pop hl
|
||||||
|
|
||||||
push hl
|
push hl
|
||||||
ld a, [BaseType1]
|
ld a, [BaseType1]
|
||||||
call .asm_50928
|
call .PrintType
|
||||||
|
|
||||||
ld a, [BaseType1]
|
ld a, [BaseType1]
|
||||||
ld b, a
|
ld b, a
|
||||||
ld a, [BaseType2]
|
ld a, [BaseType2]
|
||||||
cp b
|
cp b
|
||||||
pop hl
|
pop hl
|
||||||
jr z, .asm_5092b
|
jr z, .HideSecondType
|
||||||
|
|
||||||
|
; Next row
|
||||||
ld bc, 20
|
ld bc, 20
|
||||||
add hl, bc
|
add hl, bc
|
||||||
|
|
||||||
.asm_50928
|
.PrintType
|
||||||
ld b, a
|
ld b, a
|
||||||
jr PrintType
|
jr PrintType
|
||||||
|
|
||||||
.asm_5092b
|
.HideSecondType
|
||||||
|
; This doesn't actually do anything.
|
||||||
ld a, " "
|
ld a, " "
|
||||||
ld bc, 20 - 3
|
ld bc, 20 - 3
|
||||||
add hl, bc
|
add hl, bc
|
||||||
|
Loading…
Reference in New Issue
Block a user