pokecrystal-board/ram/hram.asm

161 lines
2.4 KiB
NASM
Raw Normal View History

SECTION "HRAM", HRAM
2020-06-20 20:03:40 -07:00
hROMBankBackup:: db
2020-04-06 09:52:46 -07:00
hFarByte::
2020-06-20 20:03:40 -07:00
hTempBank:: db
hSRAMBank:: db
2020-06-20 20:03:40 -07:00
hVBlankCounter:: db
2023-09-30 10:12:57 -07:00
hOverworldDelay:: db
hTextDelayFrames:: db
hVBlankOccurred:: db
2020-06-20 20:03:40 -07:00
hROMBank:: db
hVBlank:: db
hMapEntryMethod:: db
2020-06-20 20:03:40 -07:00
hJoypadReleased:: db
hJoypadPressed:: db
hJoypadDown:: db
hJoypadSum:: db
hJoyReleased:: db
hJoyPressed:: db
hJoyDown:: db
hJoyLast:: db
2020-06-20 20:03:40 -07:00
hInMenu:: db
2020-06-20 20:03:40 -07:00
hPrinter:: db
hGraphicStartTile::
hTilesetVariableSpaces:: db
2020-06-20 20:03:40 -07:00
hMoveMon:: db
2020-06-20 20:03:40 -07:00
UNION
hMapObjectIndex:: db
hObjectStructIndex:: db
2020-06-20 20:03:40 -07:00
NEXTU
hConnectionStripLength:: db
hConnectedMapWidth:: db
ENDU
2020-06-20 20:03:40 -07:00
hEnemyMonSpeed:: dw
2020-06-20 20:03:40 -07:00
UNION
; math-related values
2020-06-20 20:03:40 -07:00
UNION
; inputs to Multiply
ds 1
2020-06-20 20:03:40 -07:00
hMultiplicand:: ds 3
hMultiplier:: db
NEXTU
; result of Multiply
2020-06-20 20:03:40 -07:00
hProduct:: ds 4
NEXTU
; inputs to Divide
2020-06-20 20:03:40 -07:00
hDividend:: ds 4
hDivisor:: db
NEXTU
; results of Divide
2020-06-20 20:03:40 -07:00
hQuotient:: ds 4
hRemainder:: db
ENDU
2018-08-25 12:09:57 -07:00
2020-06-20 20:03:40 -07:00
hMathBuffer:: ds 5
2020-06-20 20:03:40 -07:00
NEXTU
; PrintNum scratch space
2020-06-20 20:03:40 -07:00
hPrintNumBuffer:: ds 10
2023-08-25 14:09:42 -07:00
NEXTU
; engine/gfx/rgb_fade.asm
hRGBFadeSourceChannels::
hRGBFadeSourceRChannel:: db
hRGBFadeSourceGChannel:: db
hRGBFadeSourceBChannel:: db
hRGBFadeCapChannels::
hRGBFadeCapRChannel:: db
hRGBFadeCapGChannel:: db
hRGBFadeCapBChannel:: db
2020-06-20 20:03:40 -07:00
ENDU
UNION
hUsedSpriteIndex:: db
hUsedSpriteTile:: db
NEXTU
hCurSpriteXCoord:: db
hCurSpriteYCoord:: db
hCurSpriteXPixel:: db
hCurSpriteYPixel:: db
hCurSpriteTile:: db
hCurSpriteOAMFlags:: db
ENDU
UNION
hCoinsTemp:: ds 3
NEXTU
2020-06-20 20:03:40 -07:00
hMGJoypadPressed:: db
hMGJoypadReleased:: db
hMGPrevTIMA:: db
ENDU
2020-06-20 20:03:40 -07:00
hLCDCPointer:: db
hLYOverrideStart:: db
hLYOverrideEnd:: 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
2020-06-20 20:03:40 -07:00
hMapAnims:: db
hTileAnimFrame:: db
2023-09-30 10:12:57 -07:00
hScriptVar:: db
2020-06-20 20:03:40 -07:00
hLastTalked:: db
2020-06-20 20:03:40 -07:00
hRandomAdd:: db
hRandomSub:: db
2020-06-20 20:03:40 -07:00
hBattleTurn::
; Which trainer's turn is it? 0: player, 1: opponent trainer
db
2020-06-20 20:03:40 -07:00
hCGBPalUpdate:: db
hCGB:: db
hSGB:: db
hDMATransfer:: db
hSystemBooted:: db
if DEF(_DEBUG)
hDebugRoomMenuPage:: db
endc
2023-08-29 09:33:20 -07:00
hWindowHUDLY::
; Window HUD is enabled when non-0.
; Its value indicates the last scanline that the window spans from the top.
db
hCurBoardEvent:: db