summaryrefslogtreecommitdiff
path: root/home/tileset.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/tileset.asm')
-rw-r--r--home/tileset.asm24
1 files changed, 24 insertions, 0 deletions
diff --git a/home/tileset.asm b/home/tileset.asm
index 8a6ef44..4bf6a98 100644
--- a/home/tileset.asm
+++ b/home/tileset.asm
@@ -416,4 +416,28 @@ LoadTileset:: ; 2f48
pop bc
pop hl
+ ret
+
+ReloadFontAndTileset:: ; 2f6b (00:2f6b)
+ call DisableLCD
+ ldh a, [hROMBank]
+ push af
+ ld a, [wMapGroup]
+ ld b, a
+ ld a, [wMapId]
+ ld c, a
+ call SwitchToAnyMapBank
+ call LoadFontExtra
+ call LoadMapPart
+ call LoadTilesetGFX
+ pop af
+ call Bankswitch
+
+ call EnableLCD
+ ret
+
+LoadTilesetGFX_LCDOff:: ; 2f8d (00:2f8d)
+ call DisableLCD
+ call LoadTilesetGFX
+ call EnableLCD
ret \ No newline at end of file