Apply most of pokecrystal PR 1105

This commit is contained in:
xCrystal
2024-02-11 00:16:00 +01:00
parent 971c4aa2c7
commit 5c4d982702
74 changed files with 276 additions and 276 deletions

View File

@@ -102,7 +102,7 @@ PokeGear:
call InitPokegearTilemap
ld b, CGB_POKEGEAR_PALS
call GetCGBLayout
call SetPalettes
call SetDefaultBGPAndOBP
ld a, %11100100
call DmgToCgbObjPal0
ret
@@ -1621,7 +1621,7 @@ _TownMap:
ld [wTownMapCursorObjectPointer + 1], a
ld b, CGB_POKEGEAR_PALS
call GetCGBLayout
call SetPalettes
call SetDefaultBGPAndOBP
ld a, %11100100
call DmgToCgbObjPal0
call DelayFrame
@@ -1840,7 +1840,7 @@ _FlyMap:
call Pokegear_DummyFunction
ld b, CGB_POKEGEAR_PALS
call GetCGBLayout
call SetPalettes
call SetDefaultBGPAndOBP
.loop
call JoyTextDelay
ld hl, hJoyPressed
@@ -2110,7 +2110,7 @@ Pokedex_GetArea:
call TownMapBGUpdate
ld b, CGB_POKEGEAR_PALS
call GetCGBLayout
call SetPalettes
call SetDefaultBGPAndOBP
xor a
ldh [hBGMapMode], a
xor a ; JOHTO_REGION
@@ -2537,7 +2537,7 @@ EntireFlyMap: ; unreferenced
ld [wTownMapCursorCoordinates + 1], a
ld b, CGB_POKEGEAR_PALS
call GetCGBLayout
call SetPalettes
call SetDefaultBGPAndOBP
.loop
call JoyTextDelay
ld hl, hJoyPressed

View File

@@ -129,7 +129,7 @@ PrintRadioLine:
cp 2
jr nz, .print
bccoord 1, 16
call PrintHLTextAtBC
call PrintTextboxTextAt
jr .skip
.print
call PrintTextboxText