mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-03-21 17:45:52 -05:00
Some checks failed
CI / build (push) Has been cancelled
* Started labelling dumped bank 1 functions, identified movement values * Changed all NPCs to use the new movement constants * Updated the rest of the movement constant instances, removed the old movement_constants.asm * Ready to deal the finishing blow to bank01.asm * Bank 01 is no more. Other scattered changes. * Labelled a few flags and matched a few variables with pokegold * Finished labelling bank02.asm too while I was at it
18 lines
251 B
NASM
18 lines
251 B
NASM
INCLUDE "constants.asm"
|
|
|
|
SECTION "home/rtc.asm", ROM0
|
|
|
|
UpdateTimeOfDayPalettes:
|
|
ld a, [wStateFlags]
|
|
bit SPRITE_UPDATES_DISABLED_F, a
|
|
ret z
|
|
; fallthrough
|
|
|
|
TimeOfDayPals::
|
|
callfar _TimeOfDayPals
|
|
ret
|
|
|
|
UpdateTimePals::
|
|
callfar _UpdateTimePals
|
|
ret
|