aboutsummaryrefslogtreecommitdiffstats
path: root/constants/oam_constants.asm
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2013-12-15 16:18:14 -0600
committerMarcus Huderle <huderlem@gmail.com>2013-12-15 16:18:14 -0600
commit549fe35420c2cd114cafa5997633297fa3ff9290 (patch)
tree454f88103f1a3616612afd73bc532adbdf036459 /constants/oam_constants.asm
parentNicknaming screen loads the 'ED' symbol separately. (diff)
parentincbin killing part 2 (diff)
downloadpokeyellow-549fe35420c2cd114cafa5997633297fa3ff9290.tar.gz
pokeyellow-549fe35420c2cd114cafa5997633297fa3ff9290.tar.xz
pokeyellow-549fe35420c2cd114cafa5997633297fa3ff9290.zip
Merged and fixed incbin conflicts with Danny.
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