You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Identify constant in NamingScreen_IsTargetBox
This commit is contained in:
@ -246,10 +246,11 @@ NamingScreen:
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
NamingScreen_IsTargetBox:
|
NamingScreen_IsTargetBox:
|
||||||
|
; Return z if [wNamingScreenType] == NAME_BOX.
|
||||||
push bc
|
push bc
|
||||||
push af
|
push af
|
||||||
ld a, [wNamingScreenType]
|
ld a, [wNamingScreenType]
|
||||||
sub $3
|
sub NAME_BOX - 1
|
||||||
ld b, a
|
ld b, a
|
||||||
pop af
|
pop af
|
||||||
dec b
|
dec b
|
||||||
|
Reference in New Issue
Block a user