Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pret
GitHub Repository: pret/pokered
Path: blob/master/constants/text_constants.asm
1270 views
1
DEF NAME_LENGTH EQU 11
2
DEF ITEM_NAME_LENGTH EQU 13
3
DEF NAME_BUFFER_LENGTH EQU 20
4
5
; PrintNumber, PrintBCDNumber
6
const_def 5
7
const BIT_MONEY_SIGN ; 5
8
const BIT_LEFT_ALIGN ; 6
9
const BIT_LEADING_ZEROES ; 7
10
11
DEF MONEY_SIGN EQU 1 << BIT_MONEY_SIGN
12
DEF LEFT_ALIGN EQU 1 << BIT_LEFT_ALIGN
13
DEF LEADING_ZEROES EQU 1 << BIT_LEADING_ZEROES
14
15
; special text IDs (see home/text_script.asm)
16
const_def $d0
17
const TEXT_MON_FAINTED ; $d0
18
const TEXT_BLACKED_OUT ; $d1
19
const TEXT_REPEL_WORE_OFF ; $d2
20
const TEXT_SAFARI_GAME_OVER ; $d3
21
22
DEF TEXT_START_MENU EQU $00
23
24