summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/init.asm8
-rw-r--r--home/map.asm3
-rw-r--r--home/menu.asm2
-rw-r--r--home/text.asm11
-rw-r--r--home/video.asm4
-rw-r--r--home/window.asm2
6 files changed, 19 insertions, 11 deletions
diff --git a/home/init.asm b/home/init.asm
index fc04cfd1..461937e4 100644
--- a/home/init.asm
+++ b/home/init.asm
@@ -161,11 +161,13 @@ ClearVRAM::
BlankBGMap::
ld a, " "
- jr .fill
-; unused; would fill BG Map with value in l
+ jr FillBGMap
+
+FillBGMap_l:: ; unreferenced
ld a, l
+ ; fallthrough
-.fill
+FillBGMap::
ld de, vBGMap1 - vBGMap0
ld l, e
.loop
diff --git a/home/map.asm b/home/map.asm
index 2701f477..cc2c4ddc 100644
--- a/home/map.asm
+++ b/home/map.asm
@@ -2009,7 +2009,8 @@ GetMapEnvironment::
pop hl
ret
- ret ; unused
+Map_DummyFunction:: ; unreferenced
+ ret
GetAnyMapEnvironment::
push hl
diff --git a/home/menu.asm b/home/menu.asm
index 7bc6454d..5ba4cde9 100644
--- a/home/menu.asm
+++ b/home/menu.asm
@@ -294,7 +294,7 @@ MenuTextbox::
pop hl
jp PrintText
-; unused
+Menu_DummyFunction:: ; unreferenced
ret
LoadMenuTextbox::
diff --git a/home/text.asm b/home/text.asm
index 5e2942f6..77b8911c 100644
--- a/home/text.asm
+++ b/home/text.asm
@@ -138,6 +138,7 @@ RadioTerminator::
PrintText::
call SetUpTextbox
+ ; fallthrough
PrintTextboxText::
bccoord TEXTBOX_INNERX, TEXTBOX_INNERY
@@ -154,6 +155,7 @@ SetUpTextbox::
PlaceString::
push hl
+ ; fallthrough
PlaceNextChar::
ld a, [de]
@@ -164,7 +166,9 @@ PlaceNextChar::
pop hl
ret
- pop de ; unused
+DummyChar:: ; unreferenced
+ pop de
+ ; fallthrough
NextChar::
inc de
@@ -301,12 +305,13 @@ PlaceKokoWa: print_name PlaceKokoWaText
PlaceMoveTargetsName::
ldh a, [hBattleTurn]
xor 1
- jr PlaceMoveUsersName.place
+ jr PlaceBattlersName
PlaceMoveUsersName::
ldh a, [hBattleTurn]
+ ; fallthrough
-.place:
+PlaceBattlersName:
push de
and a
jr nz, .enemy
diff --git a/home/video.asm b/home/video.asm
index 415b23ae..a9592558 100644
--- a/home/video.asm
+++ b/home/video.asm
@@ -385,10 +385,10 @@ AnimateTileset::
rst Bankswitch
ret
-; unused
+Video_DummyFunction:: ; unreferenced
ret
-; unused
+EnableSpriteDisplay:: ; unreferenced
ld hl, rLCDC
set 1, [hl]
ret
diff --git a/home/window.asm b/home/window.asm
index c903cdd8..e8e0604d 100644
--- a/home/window.asm
+++ b/home/window.asm
@@ -92,6 +92,6 @@ SafeUpdateSprites::
ldh [hOAMUpdate], a
ret
-; unused
+SetCarryFlag:: ; unreferenced
scf
ret