You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Overworld HUD implementation (#15)
This commit is contained in:
@@ -148,7 +148,7 @@ if DEF(_DEBUG)
|
||||
hDebugRoomMenuPage:: db
|
||||
endc
|
||||
|
||||
hWindowHUD::
|
||||
hWindowHUDLY::
|
||||
; Window HUD is enabled when non-0.
|
||||
; Its value indicates the last scanline that the window spans from the top.
|
||||
db
|
||||
|
17
ram/wram.asm
17
ram/wram.asm
@@ -697,12 +697,11 @@ wPuzzlePieces:: ds 6 * 6
|
||||
ENDU
|
||||
|
||||
|
||||
SECTION "Unused Map Buffer", WRAM0
|
||||
SECTION "Overworld HUD", WRAM0
|
||||
|
||||
; This was a buffer for map-related pointers in the 1997 G/S prototype.
|
||||
; See wMapBuffer in pokegold-spaceworld's wram.asm.
|
||||
wUnusedMapBuffer:: ds 24
|
||||
wUnusedMapBufferEnd::
|
||||
wOverworldHUDTiles:: ds SCREEN_WIDTH
|
||||
wOverworldHUDTilesEnd::
|
||||
ds 4
|
||||
|
||||
|
||||
SECTION UNION "Overworld Map", WRAM0
|
||||
@@ -933,8 +932,8 @@ SECTION "Video", WRAM0
|
||||
|
||||
UNION
|
||||
; bg map
|
||||
wBGMapBuffer:: ds 40
|
||||
wBGMapPalBuffer:: ds 40
|
||||
wBGMapBuffer:: ds 2 * SCREEN_WIDTH
|
||||
wBGMapPalBuffer:: ds 2 * SCREEN_WIDTH
|
||||
wBGMapBufferPointers:: ds 20 * 2
|
||||
wBGMapBufferEnd::
|
||||
|
||||
@@ -1276,6 +1275,10 @@ wMinutesSince:: db
|
||||
wHoursSince:: db
|
||||
wDaysSince:: db
|
||||
|
||||
wWhichHUD::
|
||||
; index to LoadHUD
|
||||
db
|
||||
|
||||
|
||||
SECTION "WRAM 1", WRAMX
|
||||
|
||||
|
Reference in New Issue
Block a user