pokecrystal/hram.asm

98 lines
2.3 KiB
NASM
Raw Normal View History

2013-03-21 02:55:09 +00:00
hPushOAM EQU $ff80
2015-01-20 05:31:29 +00:00
hROMBankBackup EQU $ff8a
2013-03-21 02:55:09 +00:00
hBuffer EQU $ff8b
hRTCDayHi EQU $ff8d
hRTCDayLo EQU $ff8e
hRTCHours EQU $ff8f
hRTCMinutes EQU $ff90
hRTCSeconds EQU $ff91
hHours EQU $ff94
hMinutes EQU $ff96
hSeconds EQU $ff98
2015-10-16 17:35:43 +00:00
hVBlankCounter EQU $ff9b
2013-03-21 02:55:09 +00:00
hROMBank EQU $ff9d
2015-01-20 05:31:29 +00:00
hVBlank EQU $ff9e
hMapEntryMethod EQU $ff9f
2015-10-24 14:34:19 +00:00
hMenuReturn EQU $ffa0
2013-03-21 02:55:09 +00:00
hJoypadReleased EQU $ffa2
hJoypadPressed EQU $ffa3
hJoypadDown EQU $ffa4
hJoypadSum EQU $ffa5
hJoyReleased EQU $ffa6
hJoyPressed EQU $ffa7
hJoyDown EQU $ffa8
2015-10-10 03:09:03 +00:00
hJoyLast EQU $ffa9
2015-10-16 17:35:43 +00:00
hInMenu EQU $ffaa
2013-03-21 02:55:09 +00:00
hMapObjectIndexBuffer1 EQU $ffaf
hMapObjectIndexBuffer2 EQU $ffb0
2013-05-13 22:43:34 +00:00
2013-03-21 02:55:09 +00:00
hPastLeadingZeroes EQU $ffb3
hStringCmpString1 EQU $ffb1
hStringCmpString2 EQU $ffb5
2013-03-30 05:58:22 +00:00
hDividend EQU $ffb3 ; length in b register, before 'call Divide' (max 4 bytes)
hDivisor EQU $ffb7 ; 1 byte long
hQuotient EQU $ffb4 ; result (3 bytes long)
hMultiplicand EQU $ffb4 ; 3 bytes long
hMultiplier EQU $ffb7 ; 1 byte long
hProduct EQU $ffb3 ; result (4 bytes long)
2013-03-30 05:58:22 +00:00
2015-10-16 17:35:43 +00:00
hMathBuffer EQU $ffb8
hPrintNum1 EQU $ffb3
hPrintNum2 EQU $ffb4
hPrintNum3 EQU $ffb5
hPrintNum4 EQU $ffb6
hPrintNum5 EQU $ffb7
hPrintNum6 EQU $ffb8
hPrintNum7 EQU $ffb9
2013-03-30 05:58:22 +00:00
hUsedSpriteIndex EQU $ffbd
hUsedSpriteTile EQU $ffbe
hMoneyTemp EQU $ffc3
2013-03-21 02:55:09 +00:00
hLCDStatCustom EQU $ffc6
2013-08-28 08:28:45 +00:00
hSerialSend EQU $ffcd
hSerialReceive EQU $ffce
2013-08-19 22:44:57 +00:00
hSCX EQU $ffcf
hSCY EQU $ffd0
2013-08-19 22:42:01 +00:00
hWX EQU $ffd1
hWY EQU $ffd2
2013-03-21 02:55:09 +00:00
hBGMapMode EQU $ffd4
hBGMapThird EQU $ffd5
hBGMapAddress EQU $ffd6
hOAMUpdate EQU $ffd8
hSPBuffer EQU $ffd9
hBGMapUpdate EQU $ffdb
hTileAnimFrame EQU $ffdf
hLastTalked EQU $ffe0
2014-07-18 12:28:30 +00:00
hRandom EQU $ffe1
2013-03-21 02:55:09 +00:00
hRandomAdd EQU $ffe1
hRandomSub EQU $ffe2
2015-10-16 17:35:43 +00:00
hSecondsBackup EQU $ffe3
2015-09-09 23:27:07 +00:00
hBattleTurn EQU $ffe4 ; Which trainers turn is it? 0: Player, 1: Opponent Trainer
2013-03-21 02:55:09 +00:00
hCGBPalUpdate EQU $ffe5
hCGB EQU $ffe6
hSGB EQU $ffe7
hDMATransfer EQU $ffe8
2015-10-24 14:34:19 +00:00
hMobile EQU $ffe9