diff options
author | YamaArashi <shadow962@live.com> | 2015-07-19 17:52:26 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-07-19 17:52:26 -0700 |
commit | 1d86932cc9c38815434409f07d14c2bfe4e7a836 (patch) | |
tree | 43d021ef4340e90c591e490f2a20b5005b23d7d5 /constants | |
parent | e607199397cb36565f61703a58d99efdc21891c5 (diff) |
naming
Diffstat (limited to 'constants')
-rw-r--r-- | constants/misc_constants.asm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm index c06e7a65..cb167da6 100644 --- a/constants/misc_constants.asm +++ b/constants/misc_constants.asm @@ -121,6 +121,18 @@ BOX_DATA EQU 2 DAYCARE_DATA EQU 3 BATTLE_MON_DATA EQU 4 +; player direction constants + +PLAYER_DIR_BIT_RIGHT EQU 0 +PLAYER_DIR_BIT_LEFT EQU 1 +PLAYER_DIR_BIT_DOWN EQU 2 +PLAYER_DIR_BIT_UP EQU 3 + +PLAYER_DIR_RIGHT EQU (1 << PLAYER_DIR_BIT_RIGHT) +PLAYER_DIR_LEFT EQU (1 << PLAYER_DIR_BIT_LEFT) +PLAYER_DIR_DOWN EQU (1 << PLAYER_DIR_BIT_DOWN) +PLAYER_DIR_UP EQU (1 << PLAYER_DIR_BIT_UP) + ; serial ESTABLISH_CONNECTION_WITH_INTERNAL_CLOCK EQU $01 |