Improve some innacurate function names, labels, and comments (#1078)
[https://github.com/pret/pokecrystal/issues/1078#issue-1869550979 and https://github.com/pret/pokecrystal/issues/1078#issuecomment-1696394371]
This commit is contained in:
@@ -103,7 +103,7 @@ PokeGear:
|
||||
call InitPokegearTilemap
|
||||
ld b, SCGB_POKEGEAR_PALS
|
||||
call GetSGBLayout
|
||||
call SetPalettes
|
||||
call SetDefaultBGPAndOBP
|
||||
ldh a, [hCGB]
|
||||
and a
|
||||
ret z
|
||||
@@ -1796,7 +1796,7 @@ _TownMap:
|
||||
ld [wTownMapCursorObjectPointer + 1], a
|
||||
ld b, SCGB_POKEGEAR_PALS
|
||||
call GetSGBLayout
|
||||
call SetPalettes
|
||||
call SetDefaultBGPAndOBP
|
||||
ldh a, [hCGB]
|
||||
and a
|
||||
jr z, .dmg
|
||||
@@ -2042,7 +2042,7 @@ _FlyMap:
|
||||
call Pokegear_DummyFunction
|
||||
ld b, SCGB_POKEGEAR_PALS
|
||||
call GetSGBLayout
|
||||
call SetPalettes
|
||||
call SetDefaultBGPAndOBP
|
||||
.loop
|
||||
call JoyTextDelay
|
||||
ld hl, hJoyPressed
|
||||
@@ -2363,7 +2363,7 @@ Pokedex_GetArea:
|
||||
call TownMapBGUpdate
|
||||
ld b, SCGB_POKEGEAR_PALS
|
||||
call GetSGBLayout
|
||||
call SetPalettes
|
||||
call SetDefaultBGPAndOBP
|
||||
xor a
|
||||
ldh [hBGMapMode], a
|
||||
xor a ; JOHTO_REGION
|
||||
@@ -2827,7 +2827,7 @@ EntireFlyMap: ; unreferenced
|
||||
ld [wTownMapCursorCoordinates + 1], a
|
||||
ld b, SCGB_POKEGEAR_PALS
|
||||
call GetSGBLayout
|
||||
call SetPalettes
|
||||
call SetDefaultBGPAndOBP
|
||||
.loop
|
||||
call JoyTextDelay
|
||||
ld hl, hJoyPressed
|
||||
|
Reference in New Issue
Block a user