mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-07 08:35:23 +13:00
WIP Sunglow City (missing some shit, remind me to get to it later)
This commit is contained in:
parent
844aa6d766
commit
f98a639b52
36 changed files with 182 additions and 18 deletions
|
|
@ -16,6 +16,8 @@ LoadSpecialMapPalette:
|
|||
jr z, .snowy
|
||||
cp TILESET_LAVENDER_CRYPT
|
||||
jr z, .crypt
|
||||
cp TILESET_NIHON_BIRDON
|
||||
jr z, .desert
|
||||
jr .do_nothing
|
||||
|
||||
.pokecom_2f
|
||||
|
|
@ -62,6 +64,15 @@ LoadSpecialMapPalette:
|
|||
scf
|
||||
ret
|
||||
|
||||
.desert
|
||||
ld a, [wTimeOfDay]
|
||||
and $7
|
||||
cp NITE_F
|
||||
jr z, .do_nothing
|
||||
call LoadDesertPalette
|
||||
scf
|
||||
ret
|
||||
|
||||
.do_nothing
|
||||
and a
|
||||
ret
|
||||
|
|
@ -191,3 +202,24 @@ LoadCryptPalette:
|
|||
|
||||
CryptPalette:
|
||||
INCLUDE "gfx/tilesets/lavendercrypt.pal"
|
||||
|
||||
LoadDesertPalette:
|
||||
cp DAY_F
|
||||
jr z, .day
|
||||
scf
|
||||
;morn
|
||||
ld a, BANK(wBGPals1)
|
||||
ld de, wBGPals1
|
||||
ld hl, DesertMornPalette
|
||||
ld bc, 8 palettes
|
||||
jp FarCopyWRAM
|
||||
ret
|
||||
.day
|
||||
ld a, BANK(wBGPals1)
|
||||
ld de, wBGPals1
|
||||
ld hl, DesertDayPalette
|
||||
ld bc, 8 palettes
|
||||
jp FarCopyWRAM
|
||||
ret
|
||||
|
||||
INCLUDE "gfx/tilesets/desert.pal"
|
||||
Loading…
Add table
Add a link
Reference in a new issue