ref: daa071451d998e7cf460468870ca82498a5eb4af
parent: 14a244ad3a2e66de9690c11e6e1b5c488408427a
author: Remy Oukaour <[email protected]>
date: Fri Dec 22 18:08:55 EST 2017
More comments for constant<->table correspondences
--- a/constants/misc_constants.asm
+++ b/constants/misc_constants.asm
@@ -27,7 +27,7 @@
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 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 @@
const STEP_WALK_IN_PLACE ; 7
+; hMenuReturn
HMENURETURN_SCRIPT EQU %10000000
HMENURETURN_ASM EQU %11111111
--- a/home/names.asm
+++ b/home/names.asm
@@ -1,4 +1,5 @@
NamesPointers:: ; 33ab
+; entries correspond to GetName constants (see constants/misc_constants.asm)
dba PokemonNames
dba MoveNames
dbw 0, 0