mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
Identify constant in NamingScreen_IsTargetBox
This commit is contained in:
parent
8cc79c0891
commit
0de7808ded
@ -246,10 +246,11 @@ NamingScreen:
|
||||
ret
|
||||
|
||||
NamingScreen_IsTargetBox:
|
||||
; Return z if [wNamingScreenType] == NAME_BOX.
|
||||
push bc
|
||||
push af
|
||||
ld a, [wNamingScreenType]
|
||||
sub $3
|
||||
sub NAME_BOX - 1
|
||||
ld b, a
|
||||
pop af
|
||||
dec b
|
||||
|
Loading…
Reference in New Issue
Block a user