diff options
Diffstat (limited to 'hram.asm')
-rw-r--r-- | hram.asm | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -14,6 +14,12 @@ hSoftReset EQU $FF8A H_DOWNARROWBLINKCNT1 EQU $FF8B H_DOWNARROWBLINKCNT2 EQU $FF8C +H_SPRITEDATAOFFSET EQU $FF8B +H_SPRITEINDEX EQU $FF8C + +; DisplayTextID's argument +hSpriteIndexOrTextID EQU $FF8C + ; Multiplcation and division variables are meant ; to overlap for back-to-back usage. Big endian. @@ -32,6 +38,11 @@ H_NUMTOPRINT EQU $FF96 ; 3 bytes H_POWEROFTEN EQU $FF99 ; 3 bytes H_SAVEDNUMTOPRINT EQU $FF9C ; 3 bytes +; these values are copied to SCX, SCY, and WY during V-blank +hVBlankSCX EQU $FFAE +hVBlankSCY EQU $FFAF +hVBlankWY EQU $FFB0 + hJoyHeldLast EQU $FFB1 hJoyReleased EQU $FFB2 hJoyPressed EQU $FFB3 @@ -115,6 +126,12 @@ H_FRAMECOUNTER EQU $FFD5 ; decremented every V-blank (used for delays) ; you can detect that the V-blank handler has run since then. H_VBLANKOCCURRED EQU $FFD6 +; 00 = indoor +; 01 = cave +; 02 = outdoor +; this is often set to 00 in order to turn off water and flower BG tile animations +hTilesetType EQU $FFD7 + H_CURRENTSPRITEOFFSET EQU $FFDA ; multiple of $10 H_WHOSETURN EQU $FFF3 ; 0 on player’s turn, 1 on enemy’s turn |