blob: 88a42bbe3b75b664602bdb97509fa9eec3b6e7c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
DEF PLAYER_NAME_LENGTH EQU 8
DEF NAME_LENGTH EQU 11
DEF ITEM_NAME_LENGTH EQU 13
DEF MOVE_NAME_LENGTH EQU 14
DEF NAME_BUFFER_LENGTH EQU 20
DEF GYM_CITY_LENGTH EQU 17
; PrintNumber, PrintBCDNumber
const_def 5
const BIT_MONEY_SIGN ; 5
const BIT_LEFT_ALIGN ; 6
const BIT_LEADING_ZEROES ; 7
DEF MONEY_SIGN EQU 1 << BIT_MONEY_SIGN
DEF LEFT_ALIGN EQU 1 << BIT_LEFT_ALIGN
DEF LEADING_ZEROES EQU 1 << BIT_LEADING_ZEROES
; special text IDs (see home/text_script.asm)
const_def $d0
const TEXT_MON_FAINTED ; $d0
const TEXT_BLACKED_OUT ; $d1
const TEXT_REPEL_WORE_OFF ; $d2
const TEXT_SAFARI_GAME_OVER ; $d3
DEF TEXT_START_MENU EQU $00
|