You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
More constants and data tables
This commit is contained in:
@@ -75,20 +75,20 @@ GetRemainingSpaceInPhoneList: ; 90040
|
||||
cp -1
|
||||
jr z, .done
|
||||
cp c
|
||||
jr z, .elm_or_mom
|
||||
jr z, .continue
|
||||
|
||||
push bc
|
||||
push hl
|
||||
ld c, a
|
||||
call _CheckCellNum
|
||||
jr c, .elm_or_mom_in_list
|
||||
jr c, .permanent
|
||||
ld hl, Buffer1
|
||||
inc [hl]
|
||||
|
||||
.elm_or_mom_in_list
|
||||
.permanent
|
||||
pop hl
|
||||
pop bc
|
||||
|
||||
.elm_or_mom
|
||||
.continue
|
||||
jr .loop
|
||||
|
||||
.done
|
||||
@@ -98,9 +98,7 @@ GetRemainingSpaceInPhoneList: ; 90040
|
||||
ret
|
||||
; 90066
|
||||
|
||||
PermanentNumbers: ; 90066
|
||||
db PHONECONTACT_MOM, PHONECONTACT_ELM, -1
|
||||
; 90069
|
||||
INCLUDE "data/phone/permanent_numbers.asm"
|
||||
|
||||
|
||||
FarPlaceString: ; 90069
|
||||
|
Reference in New Issue
Block a user