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:
xCrystal
2024-01-07 12:38:00 +01:00
parent dbf6044650
commit bd6ceec193
107 changed files with 340 additions and 337 deletions

View File

@@ -2085,7 +2085,7 @@ LoadTradeScreenBorderGFX:
SetTradeRoomBGPals:
farcall LoadTradeRoomBGPals ; just a nested farcall; so wasteful
call SetPalettes
call SetDefaultBGPAndOBP
ret
PlaceTradeScreenTextbox: ; unreferenced

View File

@@ -27,7 +27,7 @@ TestMobileTradeBorderTilemap: ; unreferenced
farcall LoadMobileTradeBorderTilemap ; useless to farcall
ld b, SCGB_DIPLOMA
call GetSGBLayout
call SetPalettes
call SetDefaultBGPAndOBP
call WaitBGMap
call JoyWaitAorB
call Call_ExitMenu

View File

@@ -66,7 +66,7 @@ endc
call WaitBGMap
ld b, SCGB_DIPLOMA
call GetSGBLayout
call SetPalettes
call SetDefaultBGPAndOBP
pop de
hlcoord 2, 8
@@ -1554,7 +1554,7 @@ InitMysteryGiftLayout:
call WaitBGMap
ld b, SCGB_MYSTERY_GIFT
call GetSGBLayout
call SetPalettes
call SetDefaultBGPAndOBP
ret
.Load5GFX:
@@ -1726,7 +1726,7 @@ endr
call WaitBGMap
ld b, SCGB_DIPLOMA
call GetSGBLayout
call SetPalettes
call SetDefaultBGPAndOBP
ret
StageDataForNameCard:
@@ -1851,7 +1851,7 @@ InitNameCardLayout:
call WaitBGMap
ld b, CRYSTAL_CGB_NAME_CARD
farcall GetCrystalCGBLayout
jp SetPalettes
jp SetDefaultBGPAndOBP
.Load6Row:
ld b, 6