2018-08-25 18:28:22 +00:00
|
|
|
SECTION "HRAM", HRAM
|
|
|
|
|
2020-06-21 03:03:40 +00:00
|
|
|
hTransferVirtualOAM:: ds 10
|
2018-08-25 18:28:22 +00:00
|
|
|
|
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
|
2018-08-25 18:28:22 +00:00
|
|
|
|
2020-06-21 03:03:40 +00:00
|
|
|
hRTCDayHi:: db
|
|
|
|
hRTCDayLo:: db
|
|
|
|
hRTCHours:: db
|
|
|
|
hRTCMinutes:: db
|
|
|
|
hRTCSeconds:: db
|
2018-08-25 18:28:22 +00:00
|
|
|
|
|
|
|
ds 2
|
|
|
|
|
2020-06-21 03:03:40 +00:00
|
|
|
hHours:: db
|
2018-08-25 18:28:22 +00:00
|
|
|
ds 1
|
2020-06-21 03:03:40 +00:00
|
|
|
hMinutes:: db
|
2018-08-25 18:28:22 +00:00
|
|
|
ds 1
|
2020-06-21 03:03:40 +00:00
|
|
|
hSeconds:: db
|
2018-08-25 18:28:22 +00:00
|
|
|
ds 1
|
|
|
|
|
|
|
|
ds 1
|
|
|
|
|
2020-06-21 03:03:40 +00:00
|
|
|
hVBlankCounter:: db
|
2018-08-25 18:28:22 +00:00
|
|
|
|
|
|
|
ds 1
|
|
|
|
|
2020-06-21 03:03:40 +00:00
|
|
|
hROMBank:: db
|
|
|
|
hVBlank:: db
|
|
|
|
hMapEntryMethod:: db
|
2018-08-25 18:28:22 +00:00
|
|
|
|
2020-06-22 20:30:13 +00:00
|
|
|
hMenuReturn:: db
|
2020-06-21 03:03:40 +00:00
|
|
|
hUnusedFFA1:: db
|
2018-08-25 18:28:22 +00:00
|
|
|
|
2020-06-21 03:03:40 +00:00
|
|
|
hJoypadReleased:: db
|
|
|
|
hJoypadPressed:: db
|
|
|
|
hJoypadDown:: db
|
|
|
|
hJoypadSum:: db
|
|
|
|
hJoyReleased:: db
|
|
|
|
hJoyPressed:: db
|
|
|
|
hJoyDown:: db
|
|
|
|
hJoyLast:: db
|
2018-08-25 18:28:22 +00:00
|
|
|
|
2020-06-21 03:03:40 +00:00
|
|
|
hInMenu:: db
|
2018-08-25 18:28:22 +00:00
|
|
|
|
|
|
|
ds 1
|
|
|
|
|
2020-06-21 03:03:40 +00:00
|
|
|
hPrinter:: db
|
|
|
|
hGraphicStartTile:: db
|
|
|
|
hMoveMon:: db
|
2018-08-25 18:28:22 +00:00
|
|
|
|
2020-06-21 03:03:40 +00:00
|
|
|
UNION
|
|
|
|
hMapObjectIndexBuffer:: db
|
|
|
|
hObjectStructIndexBuffer:: db
|
|
|
|
NEXTU
|
|
|
|
hConnectionStripLength:: db
|
|
|
|
hConnectedMapWidth:: db
|
|
|
|
ENDU
|
2018-08-25 18:28:22 +00:00
|
|
|
|
2020-06-21 03:03:40 +00:00
|
|
|
hEnemyMonSpeed:: dw
|
2018-08-25 18:28:22 +00:00
|
|
|
|
2020-06-21 03:03:40 +00:00
|
|
|
UNION
|
2018-08-26 18:37:42 +00:00
|
|
|
; math-related values
|
2018-08-25 18:28:22 +00:00
|
|
|
|
2020-06-21 03:03:40 +00:00
|
|
|
UNION
|
2018-08-26 01:49:26 +00:00
|
|
|
; inputs to Multiply
|
2018-08-26 20:15:43 +00:00
|
|
|
ds 1
|
2020-06-21 03:03:40 +00:00
|
|
|
hMultiplicand:: ds 3
|
|
|
|
hMultiplier:: db
|
|
|
|
NEXTU
|
2018-08-26 01:49:26 +00:00
|
|
|
; result of Multiply
|
2020-06-21 03:03:40 +00:00
|
|
|
hProduct:: ds 4
|
|
|
|
NEXTU
|
2018-08-26 01:49:26 +00:00
|
|
|
; inputs to Divide
|
2020-06-21 03:03:40 +00:00
|
|
|
hDividend:: ds 4
|
|
|
|
hDivisor:: db
|
|
|
|
NEXTU
|
2018-08-26 01:49:26 +00:00
|
|
|
; 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
|
2018-08-25 18:28:22 +00:00
|
|
|
|
2020-06-21 03:03:40 +00:00
|
|
|
NEXTU
|
2018-08-26 01:49:26 +00:00
|
|
|
; PrintNum scratch space
|
2020-06-21 03:03:40 +00:00
|
|
|
hPrintNumBuffer:: ds 10
|
2018-08-26 18:37:42 +00:00
|
|
|
|
2020-06-21 03:03:40 +00:00
|
|
|
NEXTU
|
2018-08-26 18:37:42 +00:00
|
|
|
; miscellaneous
|
|
|
|
ds 9
|
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
|
2018-08-25 18:28:22 +00:00
|
|
|
|
2020-04-18 21:31:51 +00:00
|
|
|
UNION
|
2020-06-21 03:03:40 +00:00
|
|
|
hMoneyTemp:: ds 3
|
2020-04-18 21:31:51 +00:00
|
|
|
NEXTU
|
2020-06-21 03:03:40 +00:00
|
|
|
hMGJoypadPressed:: db
|
|
|
|
hMGJoypadReleased:: db
|
|
|
|
hMGPrevTIMA:: db
|
2020-04-18 21:31:51 +00:00
|
|
|
ENDU
|
2018-08-25 18:28:22 +00:00
|
|
|
|
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
|
2018-08-25 18:28:22 +00:00
|
|
|
|
|
|
|
ds 1
|
|
|
|
|
2020-06-21 03:03:40 +00:00
|
|
|
hMapAnims:: db
|
|
|
|
hTileAnimFrame:: db
|
2018-08-25 18:28:22 +00:00
|
|
|
|
2020-06-21 03:03:40 +00:00
|
|
|
hLastTalked:: db
|
2018-08-25 18:28:22 +00:00
|
|
|
|
2020-06-21 03:03:40 +00:00
|
|
|
hRandomAdd:: db
|
|
|
|
hRandomSub:: db
|
2018-08-25 18:28:22 +00:00
|
|
|
|
2020-06-21 03:03:40 +00:00
|
|
|
hUnusedBackup:: db
|
2018-08-25 18:28:22 +00:00
|
|
|
|
2020-06-21 03:03:40 +00:00
|
|
|
hBattleTurn::
|
2018-08-25 18:28:22 +00:00
|
|
|
; 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
|
2020-07-13 17:05:05 +00:00
|
|
|
|
|
|
|
if DEF(_DEBUG)
|
|
|
|
hDebugRoomMenuPage::
|
|
|
|
endc
|
2020-06-21 03:03:40 +00:00
|
|
|
hClockResetTrigger:: db
|
2018-08-25 18:28:22 +00:00
|
|
|
|
2020-06-21 03:03:40 +00:00
|
|
|
ds 19
|