pokecrystal/ram/hram.asm

179 lines
2.4 KiB
NASM
Raw Normal View History

SECTION "HRAM", HRAM
2020-06-21 03:03:40 +00:00
hROMBankBackup:: db
2020-04-06 16:52:46 +00:00
hFarByte::
2020-06-21 03:03:40 +00:00
hTempBank:: db
hSRAMBank:: db
2020-06-21 03:03:40 +00:00
hRTCDayHi:: db
hRTCDayLo:: db
hRTCHours:: db
hRTCMinutes:: db
hRTCSeconds:: db
ds 2
2020-06-21 03:03:40 +00:00
hHours:: db
ds 1
2020-06-21 03:03:40 +00:00
hMinutes:: db
ds 1
2020-06-21 03:03:40 +00:00
hSeconds:: db
ds 1
ds 1
2020-06-21 03:03:40 +00:00
hVBlankCounter:: db
ds 1
2020-06-21 03:03:40 +00:00
hROMBank:: db
hVBlank:: db
hMapEntryMethod:: db
2020-06-22 20:30:13 +00:00
hMenuReturn:: db
hUnusedByte:: db
2020-06-21 03:03:40 +00:00
hJoypadReleased:: db
hJoypadPressed:: db
hJoypadDown:: db
hJoypadSum:: db
hJoyReleased:: db
hJoyPressed:: db
hJoyDown:: db
hJoyLast:: db
2020-06-21 03:03:40 +00:00
hInMenu:: db
ds 1
2020-06-21 03:03:40 +00:00
hPrinter:: db
hGraphicStartTile:: db
hMoveMon:: db
2020-06-21 03:03:40 +00:00
UNION
hMapObjectIndex:: db
hObjectStructIndex:: db
2020-06-21 03:03:40 +00:00
NEXTU
hConnectionStripLength:: db
hConnectedMapWidth:: db
ENDU
2020-06-21 03:03:40 +00:00
hEnemyMonSpeed:: dw
2020-06-21 03:03:40 +00:00
UNION
; math-related values
2020-06-21 03:03:40 +00:00
UNION
; inputs to Multiply
ds 1
2020-06-21 03:03:40 +00:00
hMultiplicand:: ds 3
hMultiplier:: db
NEXTU
; result of Multiply
2020-06-21 03:03:40 +00:00
hProduct:: ds 4
NEXTU
; inputs to Divide
2020-06-21 03:03:40 +00:00
hDividend:: ds 4
hDivisor:: db
NEXTU
; results of Divide
2020-06-21 03:03:40 +00:00
hQuotient:: ds 4
hRemainder:: db
ENDU
2018-08-25 19:09:57 +00:00
2020-06-21 03:03:40 +00:00
hMathBuffer:: ds 5
2020-06-21 03:03:40 +00:00
NEXTU
; PrintNum scratch space
2020-06-21 03:03:40 +00:00
hPrintNumBuffer:: ds 10
2020-06-21 03:03:40 +00:00
NEXTU
; Mystery Gift
hMGExchangedByte:: db
hMGExchangedWord:: dw
hMGNumBits:: db
hMGChecksum:: dw
ds 1
hMGUnusedMsgLength:: db
hMGRole:: db
2020-06-21 03:03:40 +00:00
hMGStatusFlags:: db
ENDU
UNION
hUsedSpriteIndex:: db
hUsedSpriteTile:: db
NEXTU
hCurSpriteXCoord:: db
hCurSpriteYCoord:: db
hCurSpriteXPixel:: db
hCurSpriteYPixel:: db
hCurSpriteTile:: db
hCurSpriteOAMFlags:: db
ENDU
UNION
2020-06-21 03:03:40 +00:00
hMoneyTemp:: ds 3
NEXTU
2020-06-21 03:03:40 +00:00
hMGJoypadPressed:: db
hMGJoypadReleased:: db
hMGPrevTIMA:: db
ENDU
2020-06-21 03:03:40 +00:00
hLCDCPointer:: db
hLYOverrideStart:: db
hLYOverrideEnd:: db
hMobileReceive:: db
hSerialReceivedNewData:: db
hSerialConnectionStatus:: db
hSerialIgnoringInitialData:: db
hSerialSend:: db
hSerialReceive:: db
hSCX:: db
hSCY:: db
hWX:: db
hWY:: db
hTilesPerCycle:: db
hBGMapMode:: db
hBGMapThird:: db
hBGMapAddress:: dw
hOAMUpdate:: db
hSPBuffer:: dw
hBGMapUpdate:: db
hBGMapTileCount:: db
ds 1
2020-06-21 03:03:40 +00:00
hMapAnims:: db
hTileAnimFrame:: db
2020-06-21 03:03:40 +00:00
hLastTalked:: db
2020-06-21 03:03:40 +00:00
hRandomAdd:: db
hRandomSub:: db
2020-06-21 03:03:40 +00:00
hUnusedBackup:: db
2020-06-21 03:03:40 +00:00
hBattleTurn::
; Which trainer's turn is it? 0: player, 1: opponent trainer
db
2020-06-21 03:03:40 +00:00
hCGBPalUpdate:: db
hCGB:: db
hSGB:: db
hDMATransfer:: db
hMobile:: db
hSystemBooted:: db
if DEF(_DEBUG)
hDebugRoomMenuPage::
endc
2020-06-21 03:03:40 +00:00
hClockResetTrigger:: db
2020-06-21 03:03:40 +00:00
ds 19