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
* Fully labelled bank09.asm, started bank03.asm * Finished labelling bank03.asm and bank0b.asm * Tying up loose ends, splitting most of the completely labelled bank dumps * Moved pokedex letter graphics out of charmap
25 lines
426 B
NASM
25 lines
426 B
NASM
INCLUDE "constants.asm"
|
|
|
|
SECTION "home/window.asm", ROM0
|
|
|
|
RefreshScreen::
|
|
call ClearWindowData
|
|
ldh a, [hROMBank]
|
|
push af
|
|
ld a, BANK(ReanchorBGMap_NoOAMUpdate) ; and BANK(LoadFonts_NoOAMUpdate)
|
|
call Bankswitch
|
|
|
|
call ReanchorBGMap_NoOAMUpdate
|
|
call LoadFonts_NoOAMUpdate
|
|
|
|
pop af
|
|
call Bankswitch
|
|
ret
|
|
|
|
; TODO: Better name for this?
|
|
ScreenCleanup::
|
|
call TextboxCleanup
|
|
call ClearWindowData
|
|
call InitToolgearBuffer
|
|
ret
|