summaryrefslogtreecommitdiff
path: root/constants/oam_constants.asm
diff options
context:
space:
mode:
authorU-Fish-PC\Daniel <corrnondacqb@yahoo.com>2013-12-11 10:34:29 -0500
committerU-Fish-PC\Daniel <corrnondacqb@yahoo.com>2013-12-11 10:37:17 -0500
commit23c7161bbcd0e3412fc30a59c68cf4296fdd7dca (patch)
treefd3ec9ed3996c465bea9189a0119fb711e99e1b9 /constants/oam_constants.asm
parentd4d4481df061dc250e2f85ea17103b873df8b49a (diff)
Clean up constants
Diffstat (limited to 'constants/oam_constants.asm')
-rwxr-xr-xconstants/oam_constants.asm9
1 files changed, 9 insertions, 0 deletions
diff --git a/constants/oam_constants.asm b/constants/oam_constants.asm
new file mode 100755
index 00000000..a707e16d
--- /dev/null
+++ b/constants/oam_constants.asm
@@ -0,0 +1,9 @@
+; OAM flags used by this game
+OAMFLAG_ENDOFDATA EQU %00000001 ; pseudo OAM flag, only used by game logic
+OAMFLAG_CANBEMASKED EQU %00000010 ; pseudo OAM flag, only used by game logic
+OAMFLAG_VFLIPPED EQU %00100000 ; OAM flag flips the sprite vertically.
+; Used for making left facing sprites face right and to alternate between left and right foot animation when walking up or down
+
+; OAM attribute flags
+OAM_HFLIP EQU %00100000 ; horizontal flip
+OAM_VFLIP EQU %01000000 ; vertical flip \ No newline at end of file