You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Naming screen constants
This commit is contained in:
@@ -747,7 +747,7 @@ NamePlayer:
|
||||
ret
|
||||
|
||||
.NewName:
|
||||
ld b, 1
|
||||
ld b, NAME_PLAYER
|
||||
ld de, wPlayerName
|
||||
farcall NamingScreen
|
||||
|
||||
|
@@ -61,7 +61,7 @@ NamingScreen:
|
||||
|
||||
.GetNamingScreenSetup:
|
||||
ld a, [wNamingScreenType]
|
||||
and 7
|
||||
maskbits NUM_NAME_TYPES
|
||||
ld e, a
|
||||
ld d, 0
|
||||
ld hl, .Jumptable
|
||||
@@ -73,6 +73,7 @@ NamingScreen:
|
||||
jp hl
|
||||
|
||||
.Jumptable:
|
||||
; entries correspond to NAME_* constants
|
||||
dw .Pokemon
|
||||
dw .Player
|
||||
dw .Rival
|
||||
|
Reference in New Issue
Block a user