You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Add new map setup script MAPSETUP_ENTERLEVEL (#4), and integrate overworld HUD setup in the corresponding setup scripts (#15)
This commit is contained in:
@@ -117,3 +117,10 @@ endr
|
||||
pop af
|
||||
ld [rVBK], a
|
||||
ret
|
||||
|
||||
ConstructAndEnableOverworldHUD::
|
||||
; map setup command used by MAPSETUP_ENTERLEVEL and MAPSETUP_CONTINUE
|
||||
ld hl, wTextboxFlags
|
||||
set TEXT_2BPP_F, [hl]
|
||||
call ConstructOverworldHUDTilemap
|
||||
jp EnableOverworldHUD
|
||||
|
@@ -67,6 +67,7 @@ OpenText1bpp::
|
||||
ld a, BANK(ReanchorBGMap_NoOAMUpdate) ; aka BANK(LoadFont_NoOAMUpdate)
|
||||
rst Bankswitch
|
||||
|
||||
; note: 1bpp text is NOT compatible with the overworld HUD enabled because it uses 2bpp font tiles.
|
||||
ld hl, wTextboxFlags
|
||||
res TEXT_2BPP_F, [hl]
|
||||
|
||||
|
Reference in New Issue
Block a user