mirror of https://github.com/pret/pokecrystal.git
PanicResetClock -> ClearClock
Funky name that only exists based on what it's used for, not so much what it is.
This commit is contained in:
parent
26b8bf003e
commit
75a6bb5df6
|
@ -670,7 +670,7 @@ TryLoadSaveData:
|
||||||
ld de, wOptions
|
ld de, wOptions
|
||||||
ld bc, wOptionsEnd - wOptions
|
ld bc, wOptionsEnd - wOptions
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
call PanicResetClock
|
call ClearClock
|
||||||
ret
|
ret
|
||||||
|
|
||||||
INCLUDE "data/default_options.asm"
|
INCLUDE "data/default_options.asm"
|
||||||
|
|
|
@ -14,6 +14,7 @@ ClearJoypad::
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Joypad::
|
Joypad::
|
||||||
|
; This is called automatically every frame in VBlank.
|
||||||
; Read the joypad register and translate it to something more
|
; Read the joypad register and translate it to something more
|
||||||
; workable for use in-game. There are 8 buttons, so we can use
|
; workable for use in-game. There are 8 buttons, so we can use
|
||||||
; one byte to contain all player input.
|
; one byte to contain all player input.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
; Functions relating to the timer interrupt and the real-time-clock.
|
; Functions relating to the timer interrupt and the real-time-clock.
|
||||||
|
|
||||||
AskTimer::
|
Unreferenced_Timer::
|
||||||
push af
|
push af
|
||||||
ldh a, [hMobile]
|
ldh a, [hMobile]
|
||||||
and a
|
and a
|
||||||
|
@ -195,7 +195,7 @@ InitTime::
|
||||||
farcall _InitTime
|
farcall _InitTime
|
||||||
ret
|
ret
|
||||||
|
|
||||||
PanicResetClock::
|
ClearClock::
|
||||||
call .ClearhRTC
|
call .ClearhRTC
|
||||||
call SetClock
|
call SetClock
|
||||||
ret
|
ret
|
||||||
|
|
Loading…
Reference in New Issue