mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
Comment PrintTempMonStats.
This commit is contained in:
parent
3735185ec2
commit
6c492cb86d
@ -7630,7 +7630,7 @@ Function3ee3b: ; 3ee3b
|
|||||||
call TextBox
|
call TextBox
|
||||||
hlcoord 11, 1
|
hlcoord 11, 1
|
||||||
ld bc, $0004
|
ld bc, $0004
|
||||||
predef Function50b7b
|
predef PrintTempMonStats
|
||||||
ld c, $1e
|
ld c, $1e
|
||||||
call DelayFrames
|
call DelayFrames
|
||||||
call Functiona80
|
call Functiona80
|
||||||
|
@ -1431,7 +1431,7 @@ RareCandy: ; ef14
|
|||||||
|
|
||||||
hlcoord 11, 1
|
hlcoord 11, 1
|
||||||
ld bc, $0004
|
ld bc, $0004
|
||||||
predef Function50b7b
|
predef PrintTempMonStats
|
||||||
|
|
||||||
call Functiona80
|
call Functiona80
|
||||||
|
|
||||||
|
26
main.asm
26
main.asm
@ -7801,7 +7801,7 @@ PredefPointers:: ; 856b
|
|||||||
add_predef StatsScreenInit
|
add_predef StatsScreenInit
|
||||||
add_predef DrawPlayerHP
|
add_predef DrawPlayerHP
|
||||||
add_predef DrawEnemyHP
|
add_predef DrawEnemyHP
|
||||||
add_predef Function50b7b ; $28
|
add_predef PrintTempMonStats ; $28
|
||||||
add_predef GetTypeName
|
add_predef GetTypeName
|
||||||
add_predef PrintMoveType
|
add_predef PrintMoveType
|
||||||
add_predef PrintType
|
add_predef PrintType
|
||||||
@ -56517,7 +56517,7 @@ Function4e1ae: ; 4e1ae (13:61ae)
|
|||||||
jr nz, .asm_4e1bb
|
jr nz, .asm_4e1bb
|
||||||
hlcoord 11, 8
|
hlcoord 11, 8
|
||||||
ld bc, $6
|
ld bc, $6
|
||||||
predef Function50b7b
|
predef PrintTempMonStats
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Function4e1cc: ; 4e1cc (13:61cc)
|
Function4e1cc: ; 4e1cc (13:61cc)
|
||||||
@ -59438,40 +59438,40 @@ DrawHP: ; 50b10
|
|||||||
; 50b7b
|
; 50b7b
|
||||||
|
|
||||||
|
|
||||||
Function50b7b: ; 50b7b
|
PrintTempMonStats: ; 50b7b
|
||||||
; Print a monster's stats on level up.
|
; Print TempMon's stats at hl, with spacing bc.
|
||||||
push bc
|
push bc
|
||||||
push hl
|
push hl
|
||||||
ld de, String_50bb5
|
ld de, .StatNames
|
||||||
call PlaceString
|
call PlaceString
|
||||||
pop hl
|
pop hl
|
||||||
pop bc
|
pop bc
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld bc, $0014
|
ld bc, SCREEN_WIDTH
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld de, TempMonAttack
|
ld de, TempMonAttack
|
||||||
ld bc, $0203
|
ld bc, $0203
|
||||||
call Function50bab
|
call .PrintStat
|
||||||
ld de, TempMonDefense
|
ld de, TempMonDefense
|
||||||
call Function50bab
|
call .PrintStat
|
||||||
ld de, TempMonSpclAtk
|
ld de, TempMonSpclAtk
|
||||||
call Function50bab
|
call .PrintStat
|
||||||
ld de, TempMonSpclDef
|
ld de, TempMonSpclDef
|
||||||
call Function50bab
|
call .PrintStat
|
||||||
ld de, TempMonSpeed
|
ld de, TempMonSpeed
|
||||||
jp PrintNum
|
jp PrintNum
|
||||||
; 50bab
|
; 50bab
|
||||||
|
|
||||||
Function50bab: ; 50bab
|
.PrintStat: ; 50bab
|
||||||
push hl
|
push hl
|
||||||
call PrintNum
|
call PrintNum
|
||||||
pop hl
|
pop hl
|
||||||
ld de, $0028
|
ld de, SCREEN_WIDTH * 2
|
||||||
add hl, de
|
add hl, de
|
||||||
ret
|
ret
|
||||||
; 50bb5
|
; 50bb5
|
||||||
|
|
||||||
String_50bb5: ; 50bb5
|
.StatNames: ; 50bb5
|
||||||
db "ATTACK"
|
db "ATTACK"
|
||||||
next "DEFENSE"
|
next "DEFENSE"
|
||||||
next "SPCL.ATK"
|
next "SPCL.ATK"
|
||||||
|
Loading…
Reference in New Issue
Block a user