mirror of https://github.com/pret/pokecrystal.git
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
|
||||
NAME_LENGTH_JAPANESE EQU 6
|
||||
|
||||
; GetName types (see home.asm)
|
||||
; GetName types (see home/names.asm)
|
||||
PKMN_NAME EQU 1
|
||||
MOVE_NAME EQU 2
|
||||
; dummied out EQU 3
|
||||
|
@ -44,12 +44,13 @@ const_value set 5
|
|||
const PRINTNUM_RIGHTALIGN_F ; 6
|
||||
const PRINTNUM_LEADINGZEROS_F ; 7
|
||||
|
||||
; PrintNum arguments (see engine/printnum.asm)
|
||||
PRINTNUM_MONEY EQU 1 << PRINTNUM_MONEY_F
|
||||
PRINTNUM_RIGHTALIGN EQU 1 << PRINTNUM_RIGHTALIGN_F
|
||||
PRINTNUM_LEADINGZEROS EQU 1 << PRINTNUM_LEADINGZEROS_F
|
||||
|
||||
|
||||
; movement
|
||||
; DoPlayerMovement.DoStep arguments (see engine/player_movement.asm)
|
||||
const_def
|
||||
const STEP_SLOW ; 0
|
||||
const STEP_WALK ; 1
|
||||
|
@ -61,6 +62,7 @@ PRINTNUM_LEADINGZEROS EQU 1 << PRINTNUM_LEADINGZEROS_F
|
|||
const STEP_WALK_IN_PLACE ; 7
|
||||
|
||||
|
||||
; hMenuReturn
|
||||
HMENURETURN_SCRIPT EQU %10000000
|
||||
HMENURETURN_ASM EQU %11111111
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
NamesPointers:: ; 33ab
|
||||
; entries correspond to GetName constants (see constants/misc_constants.asm)
|
||||
dba PokemonNames
|
||||
dba MoveNames
|
||||
dbw 0, 0
|
||||
|
|
Loading…
Reference in New Issue