You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Status strings
This commit is contained in:
@@ -4945,7 +4945,7 @@ PrintPlayerHUD: ; 3dfbf
|
|||||||
push af
|
push af
|
||||||
push hl
|
push hl
|
||||||
ld de, BattleMonStatus
|
ld de, BattleMonStatus
|
||||||
predef Function50d2e
|
predef PlaceNonFaintStatus
|
||||||
pop hl
|
pop hl
|
||||||
pop bc
|
pop bc
|
||||||
ret nz
|
ret nz
|
||||||
@@ -5024,7 +5024,7 @@ DrawEnemyHUD: ; 3e043
|
|||||||
push af
|
push af
|
||||||
push hl
|
push hl
|
||||||
ld de, EnemyMonStatus
|
ld de, EnemyMonStatus
|
||||||
predef Function50d2e
|
predef PlaceNonFaintStatus
|
||||||
pop hl
|
pop hl
|
||||||
pop bc
|
pop bc
|
||||||
jr nz, .asm_3e0be
|
jr nz, .asm_3e0be
|
||||||
|
@@ -63,7 +63,7 @@ PredefPointers:: ; 856b
|
|||||||
add_predef Function28f24
|
add_predef Function28f24
|
||||||
add_predef CopyPkmnToTempMon
|
add_predef CopyPkmnToTempMon
|
||||||
add_predef ListMoves ; $20
|
add_predef ListMoves ; $20
|
||||||
add_predef Function50d2e
|
add_predef PlaceNonFaintStatus
|
||||||
add_predef Function50cdb
|
add_predef Function50cdb
|
||||||
add_predef Function50c50
|
add_predef Function50c50
|
||||||
add_predef GetGender
|
add_predef GetGender
|
||||||
@@ -99,7 +99,7 @@ PredefPointers:: ; 856b
|
|||||||
add_predef ConvertMon_1to2
|
add_predef ConvertMon_1to2
|
||||||
add_predef Functionfb877
|
add_predef Functionfb877
|
||||||
add_predef Functiond0000
|
add_predef Functiond0000
|
||||||
add_predef Function50d0a
|
add_predef PlaceStatusString
|
||||||
add_predef Functiond00a3
|
add_predef Functiond00a3
|
||||||
add_predef Functiond008e
|
add_predef Functiond008e
|
||||||
add_predef Functiond0669 ; $48
|
add_predef Functiond0669 ; $48
|
||||||
|
30
main.asm
30
main.asm
@@ -44486,7 +44486,7 @@ Function4e013: ; 4e013 (13:6013)
|
|||||||
hlcoord 6, 13
|
hlcoord 6, 13
|
||||||
push hl
|
push hl
|
||||||
ld de, TempMonStatus
|
ld de, TempMonStatus
|
||||||
predef Function50d0a
|
predef PlaceStatusString
|
||||||
pop hl
|
pop hl
|
||||||
jr nz, .asm_4e066
|
jr nz, .asm_4e066
|
||||||
jr .asm_4e060
|
jr .asm_4e060
|
||||||
@@ -46219,7 +46219,7 @@ Function501b2: ; 501b2
|
|||||||
ld e, l
|
ld e, l
|
||||||
ld d, h
|
ld d, h
|
||||||
pop hl
|
pop hl
|
||||||
call Function50d0a
|
call PlaceStatusString
|
||||||
|
|
||||||
.asm_501d5
|
.asm_501d5
|
||||||
pop hl
|
pop hl
|
||||||
@@ -47916,7 +47916,7 @@ Function50cdb: ; 50cdb
|
|||||||
; 50d0a
|
; 50d0a
|
||||||
|
|
||||||
|
|
||||||
Function50d0a: ; 50d0a
|
PlaceStatusString: ; 50d0a
|
||||||
push de
|
push de
|
||||||
rept 2
|
rept 2
|
||||||
inc de
|
inc de
|
||||||
@@ -47927,10 +47927,10 @@ endr
|
|||||||
ld a, [de]
|
ld a, [de]
|
||||||
or b
|
or b
|
||||||
pop de
|
pop de
|
||||||
jr nz, Function50d2e
|
jr nz, PlaceNonFaintStatus
|
||||||
push de
|
push de
|
||||||
ld de, FntString
|
ld de, FntString
|
||||||
call Function50d25
|
call CopyStatusString
|
||||||
pop de
|
pop de
|
||||||
ld a, $1
|
ld a, $1
|
||||||
and a
|
and a
|
||||||
@@ -47941,7 +47941,7 @@ FntString: ; 50d22
|
|||||||
db "FNT@"
|
db "FNT@"
|
||||||
; 50d25
|
; 50d25
|
||||||
|
|
||||||
Function50d25: ; 50d25
|
CopyStatusString: ; 50d25
|
||||||
ld a, [de]
|
ld a, [de]
|
||||||
inc de
|
inc de
|
||||||
ld [hli], a
|
ld [hli], a
|
||||||
@@ -47953,31 +47953,31 @@ Function50d25: ; 50d25
|
|||||||
ret
|
ret
|
||||||
; 50d2e
|
; 50d2e
|
||||||
|
|
||||||
Function50d2e: ; 50d2e
|
PlaceNonFaintStatus: ; 50d2e
|
||||||
push de
|
push de
|
||||||
ld a, [de]
|
ld a, [de]
|
||||||
ld de, PsnString
|
ld de, PsnString
|
||||||
bit PSN, a
|
bit PSN, a
|
||||||
jr nz, .asm_50d53
|
jr nz, .place
|
||||||
ld de, BrnString
|
ld de, BrnString
|
||||||
bit BRN, a
|
bit BRN, a
|
||||||
jr nz, .asm_50d53
|
jr nz, .place
|
||||||
ld de, FrzString
|
ld de, FrzString
|
||||||
bit FRZ, a
|
bit FRZ, a
|
||||||
jr nz, .asm_50d53
|
jr nz, .place
|
||||||
ld de, ParString
|
ld de, ParString
|
||||||
bit PAR, a
|
bit PAR, a
|
||||||
jr nz, .asm_50d53
|
jr nz, .place
|
||||||
ld de, SlpString
|
ld de, SlpString
|
||||||
and SLP
|
and SLP
|
||||||
jr z, .asm_50d59
|
jr z, .no_status
|
||||||
|
|
||||||
.asm_50d53
|
.place
|
||||||
call Function50d25
|
call CopyStatusString
|
||||||
ld a, $1
|
ld a, $1
|
||||||
and a
|
and a
|
||||||
|
|
||||||
.asm_50d59
|
.no_status
|
||||||
pop de
|
pop de
|
||||||
ret
|
ret
|
||||||
; 50d5b
|
; 50d5b
|
||||||
|
Reference in New Issue
Block a user