mirror of https://github.com/pret/pokecrystal.git
42 lines
1.1 KiB
NASM
42 lines
1.1 KiB
NASM
; name lengths
|
|
NAME_LENGTH EQU 11
|
|
PLAYER_NAME_LENGTH EQU 8
|
|
BOX_NAME_LENGTH EQU 9
|
|
PKMN_NAME_LENGTH EQU 11
|
|
MOVE_NAME_LENGTH EQU 13
|
|
ITEM_NAME_LENGTH EQU 13
|
|
TRAINER_CLASS_NAME_LENGTH EQU 13
|
|
NAME_LENGTH_JAPANESE EQU 6
|
|
|
|
; GetName types (see home/names.asm)
|
|
PKMN_NAME EQU 1
|
|
MOVE_NAME EQU 2
|
|
; dummied out EQU 3
|
|
ITEM_NAME EQU 4
|
|
PARTY_OT_NAME EQU 5
|
|
ENEMY_OT_NAME EQU 6
|
|
TRAINER_NAME EQU 7
|
|
; broken ptr EQU 8
|
|
|
|
; see home/text.asm
|
|
BORDER_WIDTH EQU 2
|
|
TEXTBOX_WIDTH EQU SCREEN_WIDTH
|
|
TEXTBOX_INNERW EQU TEXTBOX_WIDTH - BORDER_WIDTH
|
|
TEXTBOX_HEIGHT EQU 6
|
|
TEXTBOX_INNERH EQU TEXTBOX_HEIGHT - BORDER_WIDTH
|
|
TEXTBOX_X EQU 0
|
|
TEXTBOX_INNERX EQU TEXTBOX_X + 1
|
|
TEXTBOX_Y EQU SCREEN_HEIGHT - TEXTBOX_HEIGHT
|
|
TEXTBOX_INNERY EQU TEXTBOX_Y + 2
|
|
|
|
; PrintNum bit flags
|
|
const_value set 5
|
|
const PRINTNUM_MONEY_F ; 5
|
|
const PRINTNUM_RIGHTALIGN_F ; 6
|
|
const PRINTNUM_LEADINGZEROS_F ; 7
|
|
|
|
; PrintNum arguments (see engine/printnum.asm)
|
|
PRINTNUM_MONEY EQU 1 << PRINTNUM_MONEY_F
|
|
PRINTNUM_RIGHTALIGN EQU 1 << PRINTNUM_RIGHTALIGN_F
|
|
PRINTNUM_LEADINGZEROS EQU 1 << PRINTNUM_LEADINGZEROS_F
|