mirror of
https://github.com/pret/pokecrystal.git
synced 2026-04-25 07:24:02 -05:00
Apply suggestions from code review
This commit is contained in:
parent
84fca3ad14
commit
5625f9d735
|
|
@ -34,7 +34,7 @@
|
|||
charmap "<TM>", $5c ; "TM"
|
||||
charmap "<TRAINER>", $5d ; "TRAINER"
|
||||
charmap "<ROCKET>", $5e ; "ROCKET"
|
||||
charmap "<DEXEND>", $5f ; unused
|
||||
charmap "<DEXEND>", $5f ; "." to end a Gen 1 Pokédex entry
|
||||
|
||||
; Actual characters (from gfx/font/font_extra.png)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
DEF NAMINGSCREEN_CURSOR EQU "┘" ; $7e
|
||||
DEF NAMINGSCREEN_CURSOR EQU '┘' ; $7e
|
||||
|
||||
DEF NAMINGSCREEN_BORDER EQU '■' ; $60
|
||||
DEF NAMINGSCREEN_MIDDLELINE EQU '→' ; $eb
|
||||
|
|
|
|||
|
|
@ -60,19 +60,8 @@ CorrectNickErrors::
|
|||
pop bc
|
||||
ret
|
||||
|
||||
; Valid character ranges:
|
||||
; $05 - $13, $19 - $1c, $26 - $34, $3a - $3e, $40 - $48, $5d, $7f - $ff
|
||||
|
||||
; Similar to CheckStringForErrors (mobile/mobile_5f.asm),
|
||||
; but there are some differences in which characters are considered valid.
|
||||
; In this list:
|
||||
; • $00 ('<NULL>') is treated as invalid
|
||||
; • $4e ('<NEXT>') is treated as invalid
|
||||
; • $5d ('<TRAINER>') is treated as valid (since it appears in OT names)
|
||||
; • $60 - $7e are treated as invalid
|
||||
|
||||
.textcommands
|
||||
; table defining which characters are not valid characters in names
|
||||
; table defining which characters are not valid in nicknames
|
||||
|
||||
; format:
|
||||
; ≥ <
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user