diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-06-26 21:45:44 -0700 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-06-26 21:45:44 -0700 |
commit | 34c8cb8077335048ada7df6a5aa5934ce30c7575 (patch) | |
tree | ff437f628973a21d9723c058137a6346210fefd3 /constants.asm | |
parent | ff11134023e1a3df28edbf5c8f1638ec369d919a (diff) | |
parent | b9dfd607bbac6ef0145ca2421145159d05a89bb3 (diff) |
Merge pull request #154 from yenatch/movement
Movement.
Diffstat (limited to 'constants.asm')
-rw-r--r-- | constants.asm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/constants.asm b/constants.asm index 9c7348e9b..4d9b0cb62 100644 --- a/constants.asm +++ b/constants.asm @@ -283,6 +283,30 @@ D_UP EQU %01000000 D_DOWN EQU %10000000 +; movement +STANDING EQU -1 +DOWN EQU 0 +UP EQU 1 +LEFT EQU 2 +RIGHT EQU 3 + +STEP_SLOW EQU 0 +STEP_WALK EQU 1 +STEP_BIKE EQU 2 +STEP_LEDGE EQU 3 +STEP_ICE EQU 4 +STEP_TURN EQU 5 +STEP_BACK_LEDGE EQU 6 +STEP_WALK_IN_PLACE EQU 7 + +; facing +FACE_CURRENT EQU 0 +FACE_DOWN EQU 8 +FACE_UP EQU 4 +FACE_LEFT EQU 2 +FACE_RIGHT EQU 1 + + ; Provisional wram bank 5 labels: ; 8 4-color palettes |