RTC -> UpdateTimeAndPals

Rename clear misnomer.
Most of the related functions in that file aren't really aptly named but
I don't know good names right now.
This commit is contained in:
mid-kid
2020-02-19 19:08:40 +01:00
parent 317188b35f
commit c22e268083
6 changed files with 7 additions and 7 deletions

View File

@@ -295,7 +295,7 @@ JoyWaitAorB::
ldh a, [hJoyPressed]
and A_BUTTON | B_BUTTON
ret nz
call RTC
call UpdateTimeAndPals
jr .loop
WaitButton::
@@ -413,7 +413,7 @@ PromptButton::
ldh a, [hJoyPressed]
and A_BUTTON | B_BUTTON
jr nz, .received_input
call RTC
call UpdateTimeAndPals
ld a, $1
ldh [hBGMapMode], a
call DelayFrame

View File

@@ -125,7 +125,7 @@ GetPokemonName::
ld e, a
ld h, 0
ld l, a
add hl, hl ; hl = hl * 4
add hl, hl ; hl = hl * 2
add hl, hl ; hl = hl * 4
add hl, de ; hl = (hl*4) + de
add hl, hl ; hl = (5*hl) + (5*hl)

View File

@@ -1,4 +1,4 @@
RTC::
UpdateTimeAndPals::
; update time and time-sensitive palettes
; rtc enabled?