Clean up changes in 3c6c80f
This commit is contained in:
@@ -1073,7 +1073,7 @@ SGBBorder_PushBGPals:
|
||||
ld bc, $100 tiles
|
||||
call CopyData
|
||||
call DrawDefaultTiles
|
||||
ld a, rLCDC_DEFAULT
|
||||
ld a, LCDC_DEFAULT
|
||||
ld [rLCDC], a
|
||||
ld hl, PalPacket_9d06
|
||||
call PushSGBPals
|
||||
@@ -1107,7 +1107,7 @@ SGBBorder_MorePalPushing:
|
||||
ld bc, 16 palettes
|
||||
call CopyData
|
||||
call DrawDefaultTiles
|
||||
ld a, rLCDC_DEFAULT
|
||||
ld a, LCDC_DEFAULT
|
||||
ld [rLCDC], a
|
||||
ld hl, PalPacket_9d46
|
||||
call PushSGBPals
|
||||
@@ -1131,7 +1131,7 @@ SGBBorder_YetMorePalPushing:
|
||||
dec b
|
||||
jr nz, .loop
|
||||
call DrawDefaultTiles
|
||||
ld a, rLCDC_DEFAULT
|
||||
ld a, LCDC_DEFAULT
|
||||
ld [rLCDC], a
|
||||
ld hl, PalPacket_9d36
|
||||
call PushSGBPals
|
||||
|
@@ -34,7 +34,7 @@ _DummyGame: ; e1e5b (38:5e5b)
|
||||
ld [wJumptableIndex], a
|
||||
ld a, $1
|
||||
ld [hBGMapMode], a
|
||||
ld a, rLCDC_DEFAULT
|
||||
ld a, LCDC_DEFAULT
|
||||
ld [rLCDC], a
|
||||
ld a, $e4
|
||||
call DmgToCgbBGPals
|
||||
|
@@ -116,7 +116,7 @@ DoMysteryGift: ; 1048ba (41:48ba)
|
||||
|
||||
.PrintTextAndExit: ; 1049c5 (41:49c5)
|
||||
call PrintText
|
||||
ld a, rLCDC_DEFAULT
|
||||
ld a, LCDC_DEFAULT
|
||||
ld [rLCDC], a
|
||||
ret
|
||||
; 1049cd (41:49cd)
|
||||
@@ -1497,7 +1497,7 @@ Function10571a: ; 10571a (41:571a)
|
||||
|
||||
asm_105726: ; 105726 (41:5726)
|
||||
call PrintText
|
||||
ld a, rLCDC_DEFAULT
|
||||
ld a, LCDC_DEFAULT
|
||||
ld [rLCDC], a
|
||||
ret
|
||||
; 10572e (41:572e)
|
||||
|
@@ -48,7 +48,7 @@ NamingScreen: ; 116c1
|
||||
call DisableLCD
|
||||
call LoadNamingScreenGFX
|
||||
call NamingScreen_InitText
|
||||
ld a, rLCDC_DEFAULT
|
||||
ld a, LCDC_DEFAULT
|
||||
ld [rLCDC], a
|
||||
call .GetNamingScreenSetup
|
||||
call WaitBGMap
|
||||
@@ -1017,7 +1017,7 @@ _ComposeMailMessage: ; 11e75 (mail?)
|
||||
add hl, bc
|
||||
ld [hl], $0
|
||||
call .InitCharset
|
||||
ld a, rLCDC_DEFAULT
|
||||
ld a, LCDC_DEFAULT
|
||||
ld [rLCDC], a
|
||||
call .initwNamingScreenMaxNameLength
|
||||
ld b, SCGB_DIPLOMA
|
||||
|
@@ -59,7 +59,7 @@ PokeGear: ; 90b8d (24:4b8d)
|
||||
call InitPokegearModeIndicatorArrow
|
||||
ld a, 8
|
||||
call SkipMusic
|
||||
ld a, rLCDC_DEFAULT
|
||||
ld a, LCDC_DEFAULT
|
||||
ld [rLCDC], a
|
||||
call TownMap_InitCursorAndPlayerIconPositions
|
||||
xor a
|
||||
@@ -1851,7 +1851,7 @@ _TownMap: ; 9191c
|
||||
farcall ClearSpriteAnims
|
||||
ld a, 8
|
||||
call SkipMusic
|
||||
ld a, rLCDC_DEFAULT
|
||||
ld a, LCDC_DEFAULT
|
||||
ld [rLCDC], a
|
||||
call TownMap_GetCurrentLandmark
|
||||
ld [wTownMapPlayerIconLandmark], a
|
||||
|
@@ -85,7 +85,7 @@ UnownPuzzle: ; e1190
|
||||
call ClearBGPalettes
|
||||
call ClearTileMap
|
||||
call ClearSprites
|
||||
ld a, rLCDC_DEFAULT
|
||||
ld a, LCDC_DEFAULT
|
||||
ld [rLCDC], a
|
||||
ret
|
||||
; e124e
|
||||
|
@@ -55,7 +55,7 @@ UnusedTitleScreen: ; 10c000
|
||||
|
||||
call EnableLCD
|
||||
ld a, [rLCDC]
|
||||
set rLCDC_SPRITE_ENABLE, a
|
||||
set rLCDC_SPRITES_ENABLE, a
|
||||
set rLCDC_SPRITE_SIZE, a
|
||||
ld [rLCDC], a
|
||||
|
||||
|
Reference in New Issue
Block a user