You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Level selection menu: GFX for ToD symbols (#12)
This commit is contained in:
@@ -583,10 +583,19 @@ _CGB_LevelSelectionMenu:
|
||||
ld a, BANK(wOBPals1)
|
||||
call FarCopyWRAM
|
||||
; load stage trophy pals (pal2 to pal5)
|
||||
ld hl, LevelSelectionMenuStageTrophyPals
|
||||
ld hl, LevelSelectionMenuStageTrophiesPals
|
||||
ld bc, 4 palettes
|
||||
ld a, BANK(wOBPals1)
|
||||
call FarCopyWRAM
|
||||
; load daytime-based ToD symbol pals (pal 6)
|
||||
ld a, [wTimeOfDay]
|
||||
maskbits NUM_DAYTIMES
|
||||
ld bc, 1 palettes
|
||||
ld hl, LevelSelectionMenuTimeOfDaySymbolsPals
|
||||
call AddNTimes
|
||||
ld bc, 1 palettes
|
||||
ld a, BANK(wOBPals1)
|
||||
call FarCopyWRAM
|
||||
|
||||
; load daytime and gender-based background pals
|
||||
ld a, [wPlayerGender]
|
||||
|
||||
@@ -880,7 +880,10 @@ LevelSelectionMenuFemalePals:
|
||||
INCLUDE "gfx/level_selection_menu/background_female.pal"
|
||||
assert_table_length NUM_DAYTIMES
|
||||
|
||||
LevelSelectionMenuStageTrophyPals:
|
||||
LevelSelectionMenuStageTrophiesPals:
|
||||
INCLUDE "gfx/level_selection_menu/stage_trophies.pal"
|
||||
|
||||
LevelSelectionMenuTimeOfDaySymbolsPals:
|
||||
INCLUDE "gfx/level_selection_menu/time_of_day_symbols.pal"
|
||||
|
||||
INCLUDE "engine/gfx/rgb_fade.asm"
|
||||
|
||||
Reference in New Issue
Block a user