mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Fix bug: wStatusFlags.STATUSFLAGS_FLASH_F should not persist forever (#34)
This commit is contained in:
parent
f796199bab
commit
bb0240e279
@ -308,28 +308,6 @@ _CGB_BillsPC:
|
|||||||
ldh [hCGBPalUpdate], a
|
ldh [hCGBPalUpdate], a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
_CGB_Unknown: ; unreferenced
|
|
||||||
ld hl, BillsPCOrangePalette
|
|
||||||
call LoadHLPaletteIntoDE
|
|
||||||
jr .GotPalette
|
|
||||||
|
|
||||||
.GetMonPalette: ; unreferenced
|
|
||||||
ld bc, wTempMonDVs
|
|
||||||
call GetPlayerOrMonPalettePointer
|
|
||||||
call LoadPalette_White_Col1_Col2_Black
|
|
||||||
.GotPalette:
|
|
||||||
call WipeAttrmap
|
|
||||||
hlcoord 1, 1, wAttrmap
|
|
||||||
lb bc, 7, 7
|
|
||||||
ld a, $1 ; mon palette
|
|
||||||
call FillBoxCGB
|
|
||||||
call InitPartyMenuOBPals
|
|
||||||
call ApplyAttrmap
|
|
||||||
call ApplyPals
|
|
||||||
ld a, TRUE
|
|
||||||
ldh [hCGBPalUpdate], a
|
|
||||||
ret
|
|
||||||
|
|
||||||
BillsPCOrangePalette:
|
BillsPCOrangePalette:
|
||||||
INCLUDE "gfx/pc/orange.pal"
|
INCLUDE "gfx/pc/orange.pal"
|
||||||
|
|
||||||
|
@ -1,14 +1,3 @@
|
|||||||
BetaLoadPlayerTrainerClass: ; unreferenced
|
|
||||||
ld c, CAL
|
|
||||||
ld a, [wPlayerGender]
|
|
||||||
bit PLAYERGENDER_FEMALE_F, a
|
|
||||||
jr z, .got_class
|
|
||||||
ld c, KAREN ; not KRIS?
|
|
||||||
.got_class
|
|
||||||
ld a, c
|
|
||||||
ld [wTrainerClass], a
|
|
||||||
ret
|
|
||||||
|
|
||||||
MovePlayerPicRight:
|
MovePlayerPicRight:
|
||||||
hlcoord 6, 4
|
hlcoord 6, 4
|
||||||
ld de, 1
|
ld de, 1
|
||||||
|
@ -175,6 +175,8 @@ StartMap:
|
|||||||
ld [hl], a ; wPrevMapNumber
|
ld [hl], a ; wPrevMapNumber
|
||||||
ld [wPlayerState], a ; PLAYER_NORMAL
|
ld [wPlayerState], a ; PLAYER_NORMAL
|
||||||
ld [wCurOverworldMiscPal], a ; OW_MISC_BOARD_MENU_ITEMS | BOARDMENUITEM_DIE
|
ld [wCurOverworldMiscPal], a ; OW_MISC_BOARD_MENU_ITEMS | BOARDMENUITEM_DIE
|
||||||
|
ld hl, wStatusFlags
|
||||||
|
res STATUSFLAGS_FLASH_F, [hl]
|
||||||
|
|
||||||
ld a, BANK(wDisabledSpacesBackups)
|
ld a, BANK(wDisabledSpacesBackups)
|
||||||
ld [rSVBK], a
|
ld [rSVBK], a
|
||||||
|
Loading…
Reference in New Issue
Block a user