You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
This commit is contained in:
@@ -160,8 +160,6 @@ Init::
|
||||
|
||||
call DelayFrame
|
||||
|
||||
predef InitSGBBorder
|
||||
|
||||
call InitSound
|
||||
xor a
|
||||
ld [wMapMusic], a
|
||||
|
@@ -1910,8 +1910,8 @@ ExitAllMenus::
|
||||
call UpdateSprites
|
||||
call GSReloadPalettes
|
||||
FinishExitMenu::
|
||||
ld b, SCGB_MAPPALS
|
||||
call GetSGBLayout
|
||||
ld b, CGB_MAPPALS
|
||||
call GetCGBLayout
|
||||
farcall LoadOW_BGPal7
|
||||
call WaitBGMap2
|
||||
farcall FadeInPalettes
|
||||
@@ -1932,8 +1932,8 @@ ReturnToMapWithSpeechTextbox::
|
||||
set 0, [hl]
|
||||
call UpdateSprites
|
||||
call WaitBGMap2
|
||||
ld b, SCGB_MAPPALS
|
||||
call GetSGBLayout
|
||||
ld b, CGB_MAPPALS
|
||||
call GetCGBLayout
|
||||
farcall LoadOW_BGPal7
|
||||
call UpdateTimePals
|
||||
call DelayFrame
|
||||
|
@@ -178,21 +178,10 @@ ClearPalettes::
|
||||
ldh [hCGBPalUpdate], a
|
||||
ret
|
||||
|
||||
GetMemSGBLayout::
|
||||
ld b, SCGB_DEFAULT
|
||||
GetSGBLayout::
|
||||
; load sgb packets unless dmg
|
||||
|
||||
ldh a, [hCGB]
|
||||
and a
|
||||
jr nz, .sgb
|
||||
|
||||
ldh a, [hSGB]
|
||||
and a
|
||||
ret z
|
||||
|
||||
.sgb
|
||||
predef_jump LoadSGBLayout
|
||||
GetMemCGBLayout::
|
||||
ld b, CGB_DEFAULT
|
||||
GetCGBLayout::
|
||||
predef_jump LoadCGBLayout
|
||||
|
||||
SetHPPal::
|
||||
; Set palette for hp bar pixel length e at hl.
|
||||
|
Reference in New Issue
Block a user