summaryrefslogtreecommitdiff
path: root/constants/text_constants.asm
blob: a3ef201207e847811931d60e7a78356c0a72eb83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
NAME_LENGTH EQU 11
ITEM_NAME_LENGTH EQU 13

; special text IDs
TEXT_MON_FAINTED      EQU $d0
TEXT_BLACKED_OUT      EQU $d1
TEXT_REPEL_WORE_OFF   EQU $d2
TEXT_SAFARI_GAME_OVER EQU $d3

; PrintNumber
BIT_MONEY_SIGN     EQU 5
BIT_LEFT_ALIGN     EQU 6
BIT_LEADING_ZEROES EQU 7

MONEY_SIGN EQU     (1 << BIT_MONEY_SIGN)
LEFT_ALIGN EQU     (1 << BIT_LEFT_ALIGN)
LEADING_ZEROES EQU (1 << BIT_LEADING_ZEROES)