pokegold-spaceworld/home/window.asm
DrippingYellow e384ea25ec
Some checks failed
CI / build (push) Has been cancelled
Finish labelling and split off bank03, bank09, and bank0b (#119)
* 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
2025-07-30 17:35:58 -04:00

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