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

@@ -72,7 +72,7 @@ Credits::
ldh [hLCDCPointer], a
call GetCreditsPalette
call SetPalettes
call SetDefaultBGPAndOBP
; BUG: Credits sequence changes move selection menu behavior (see docs/bugs_and_glitches.md)
ldh a, [hVBlank]
push af
@@ -321,7 +321,7 @@ ParseCredits:
xor a
ld [wCreditsBorderFrame], a ; frame
call GetCreditsPalette
call SetPalettes ; update hw pal registers
call SetDefaultBGPAndOBP ; update hw pal registers
jr .loop
.clear

View File

@@ -20,7 +20,7 @@ InitDisplayForHallOfFame:
ld hl, .SavingRecordText
call PrintText
call WaitBGMap2
call SetPalettes
call SetDefaultBGPAndOBP
ret
.SavingRecordText:
@@ -56,7 +56,7 @@ InitDisplayForRedCredits:
ldh [hSCX], a
call EnableLCD
call WaitBGMap2
call SetPalettes
call SetDefaultBGPAndOBP
ret
ResetDisplayBetweenHallOfFameMons:

View File

@@ -19,7 +19,7 @@ SplashScreen:
call WaitBGMap
ld b, SCGB_GAMEFREAK_LOGO
call GetSGBLayout
call SetPalettes
call SetDefaultBGPAndOBP
ld c, 10
call DelayFrames