2017-12-27 03:36:01 +00:00
|
|
|
; name lengths
|
2021-03-16 21:53:42 +00:00
|
|
|
NAME_LENGTH EQU 11
|
|
|
|
PLAYER_NAME_LENGTH EQU 8
|
|
|
|
BOX_NAME_LENGTH EQU 9
|
|
|
|
MON_NAME_LENGTH EQU 11
|
|
|
|
MOVE_NAME_LENGTH EQU 13
|
|
|
|
ITEM_NAME_LENGTH EQU 13
|
2017-12-27 03:36:01 +00:00
|
|
|
TRAINER_CLASS_NAME_LENGTH EQU 13
|
|
|
|
NAME_LENGTH_JAPANESE EQU 6
|
|
|
|
|
|
|
|
; GetName types (see home/names.asm)
|
2018-01-31 16:38:45 +00:00
|
|
|
const_def 1
|
2018-01-20 17:25:55 +00:00
|
|
|
const MON_NAME ; 1
|
2018-01-19 05:42:31 +00:00
|
|
|
const MOVE_NAME ; 2
|
|
|
|
const DUMMY_NAME ; 3
|
|
|
|
const ITEM_NAME ; 4
|
|
|
|
const PARTY_OT_NAME ; 5
|
|
|
|
const ENEMY_OT_NAME ; 6
|
|
|
|
const TRAINER_NAME ; 7
|
|
|
|
const MOVE_DESC_NAME_BROKEN ; 8
|
2017-12-27 03:36:01 +00:00
|
|
|
|
|
|
|
; 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
|
|
|
|
|
2021-03-16 21:53:42 +00:00
|
|
|
; see gfx/frames/*.png
|
|
|
|
TEXTBOX_FRAME_TILES EQU 6
|
|
|
|
|
2017-12-27 03:36:01 +00:00
|
|
|
; PrintNum bit flags
|
2018-01-31 16:38:45 +00:00
|
|
|
const_def 5
|
2017-12-27 03:36:01 +00:00
|
|
|
const PRINTNUM_MONEY_F ; 5
|
2019-11-04 01:17:04 +00:00
|
|
|
const PRINTNUM_LEFTALIGN_F ; 6
|
2017-12-27 03:36:01 +00:00
|
|
|
const PRINTNUM_LEADINGZEROS_F ; 7
|
|
|
|
|
2018-04-04 21:44:24 +00:00
|
|
|
; PrintNum arguments (see engine/math/print_num.asm)
|
2021-03-16 21:53:42 +00:00
|
|
|
PRINTNUM_MONEY EQU 1 << PRINTNUM_MONEY_F
|
|
|
|
PRINTNUM_LEFTALIGN EQU 1 << PRINTNUM_LEFTALIGN_F
|
|
|
|
PRINTNUM_LEADINGZEROS EQU 1 << PRINTNUM_LEADINGZEROS_F
|
2018-01-18 23:34:20 +00:00
|
|
|
|
|
|
|
; character sets (see charmap.asm)
|
|
|
|
FIRST_REGULAR_TEXT_CHAR EQU $60
|
|
|
|
FIRST_HIRAGANA_DAKUTEN_CHAR EQU $20
|
2020-05-06 14:34:51 +00:00
|
|
|
|
|
|
|
; gfx/font/unown_font.png
|
|
|
|
FIRST_UNOWN_CHAR EQU $40
|