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:
@@ -25,7 +25,7 @@ InitGender:
|
||||
call LoadGenderScreenPal
|
||||
call LoadGenderScreenLightBlueTile
|
||||
call WaitBGMap2
|
||||
call SetPalettes
|
||||
call SetDefaultBGPAndOBP
|
||||
ld hl, AreYouABoyOrAreYouAGirlText
|
||||
call PrintText
|
||||
ld hl, .MenuHeader
|
||||
|
@@ -30,7 +30,7 @@ MainMenu:
|
||||
call ClearTilemapEtc
|
||||
ld b, SCGB_DIPLOMA
|
||||
call GetSGBLayout
|
||||
call SetPalettes
|
||||
call SetDefaultBGPAndOBP
|
||||
ld hl, wGameTimerPaused
|
||||
res GAME_TIMER_PAUSED_F, [hl]
|
||||
call MainMenu_GetWhichMenu
|
||||
|
@@ -703,7 +703,7 @@ RestoreOverworldMapTiles: ; unreferenced
|
||||
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
|
||||
call CopyBytes
|
||||
call CloseSRAM
|
||||
call OverworldTextModeSwitch
|
||||
call LoadOverworldTilemapAndAttrmapPals
|
||||
xor a ; sScratch
|
||||
call OpenSRAM
|
||||
ld hl, sScratch
|
||||
|
@@ -55,7 +55,7 @@ NamingScreen:
|
||||
call .GetNamingScreenSetup
|
||||
call WaitBGMap
|
||||
call WaitTop
|
||||
call SetPalettes
|
||||
call SetDefaultBGPAndOBP
|
||||
call NamingScreen_InitNameEntry
|
||||
ret
|
||||
|
||||
|
@@ -48,7 +48,7 @@ _Option:
|
||||
call WaitBGMap
|
||||
ld b, SCGB_DIPLOMA
|
||||
call GetSGBLayout
|
||||
call SetPalettes
|
||||
call SetDefaultBGPAndOBP
|
||||
|
||||
.joypad_loop
|
||||
call JoyTextDelay
|
||||
|
@@ -33,7 +33,7 @@ StartMenu::
|
||||
call DrawVariableLengthMenuBox
|
||||
call .DrawBugContestStatusBox
|
||||
call SafeUpdateSprites
|
||||
call _OpenAndCloseMenu_HDMATransferTilemapAndAttrmap
|
||||
call HDMATransferTilemapAndAttrmap_Menu
|
||||
farcall LoadFonts_NoOAMUpdate
|
||||
call .DrawBugContestStatus
|
||||
call UpdateTimePals
|
||||
@@ -514,7 +514,7 @@ StartMenu_Pokemon:
|
||||
farcall WritePartyMenuTilemap
|
||||
farcall PrintPartyMenuText
|
||||
call WaitBGMap
|
||||
call SetPalettes ; load regular palettes?
|
||||
call SetDefaultBGPAndOBP
|
||||
call DelayFrame
|
||||
farcall PartyMenuSelect
|
||||
jr c, .return ; if cancelled or pressed B
|
||||
|
@@ -68,7 +68,7 @@ TrainerCard:
|
||||
call WaitBGMap
|
||||
ld b, SCGB_TRAINER_CARD
|
||||
call GetSGBLayout
|
||||
call SetPalettes
|
||||
call SetDefaultBGPAndOBP
|
||||
call WaitBGMap
|
||||
ld hl, wJumptableIndex
|
||||
xor a ; TRAINERCARDSTATE_PAGE1_LOADGFX
|
||||
|
Reference in New Issue
Block a user