mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
More comments for constant<->table correspondences
This commit is contained in:
parent
14a244ad3a
commit
daa071451d
@ -27,7 +27,7 @@ ITEM_NAME_LENGTH EQU 13
|
|||||||
TRAINER_CLASS_NAME_LENGTH EQU 13
|
TRAINER_CLASS_NAME_LENGTH EQU 13
|
||||||
NAME_LENGTH_JAPANESE EQU 6
|
NAME_LENGTH_JAPANESE EQU 6
|
||||||
|
|
||||||
; GetName types (see home.asm)
|
; GetName types (see home/names.asm)
|
||||||
PKMN_NAME EQU 1
|
PKMN_NAME EQU 1
|
||||||
MOVE_NAME EQU 2
|
MOVE_NAME EQU 2
|
||||||
; dummied out EQU 3
|
; dummied out EQU 3
|
||||||
@ -44,12 +44,13 @@ const_value set 5
|
|||||||
const PRINTNUM_RIGHTALIGN_F ; 6
|
const PRINTNUM_RIGHTALIGN_F ; 6
|
||||||
const PRINTNUM_LEADINGZEROS_F ; 7
|
const PRINTNUM_LEADINGZEROS_F ; 7
|
||||||
|
|
||||||
|
; PrintNum arguments (see engine/printnum.asm)
|
||||||
PRINTNUM_MONEY EQU 1 << PRINTNUM_MONEY_F
|
PRINTNUM_MONEY EQU 1 << PRINTNUM_MONEY_F
|
||||||
PRINTNUM_RIGHTALIGN EQU 1 << PRINTNUM_RIGHTALIGN_F
|
PRINTNUM_RIGHTALIGN EQU 1 << PRINTNUM_RIGHTALIGN_F
|
||||||
PRINTNUM_LEADINGZEROS EQU 1 << PRINTNUM_LEADINGZEROS_F
|
PRINTNUM_LEADINGZEROS EQU 1 << PRINTNUM_LEADINGZEROS_F
|
||||||
|
|
||||||
|
|
||||||
; movement
|
; DoPlayerMovement.DoStep arguments (see engine/player_movement.asm)
|
||||||
const_def
|
const_def
|
||||||
const STEP_SLOW ; 0
|
const STEP_SLOW ; 0
|
||||||
const STEP_WALK ; 1
|
const STEP_WALK ; 1
|
||||||
@ -61,6 +62,7 @@ PRINTNUM_LEADINGZEROS EQU 1 << PRINTNUM_LEADINGZEROS_F
|
|||||||
const STEP_WALK_IN_PLACE ; 7
|
const STEP_WALK_IN_PLACE ; 7
|
||||||
|
|
||||||
|
|
||||||
|
; hMenuReturn
|
||||||
HMENURETURN_SCRIPT EQU %10000000
|
HMENURETURN_SCRIPT EQU %10000000
|
||||||
HMENURETURN_ASM EQU %11111111
|
HMENURETURN_ASM EQU %11111111
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
NamesPointers:: ; 33ab
|
NamesPointers:: ; 33ab
|
||||||
|
; entries correspond to GetName constants (see constants/misc_constants.asm)
|
||||||
dba PokemonNames
|
dba PokemonNames
|
||||||
dba MoveNames
|
dba MoveNames
|
||||||
dbw 0, 0
|
dbw 0, 0
|
||||||
|
Loading…
Reference in New Issue
Block a user