summaryrefslogtreecommitdiff
path: root/home/text.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-10-28 10:21:10 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-10-28 10:21:10 -0400
commit6d333bed5fde0c2da0a6a9df2ccae83933400e42 (patch)
tree0485e425e27cdb5d373bbd7fad10af5dfc00fbd5 /home/text.asm
parent446f1846b1c614ab1538d1ce11aa2781c22717f2 (diff)
Replace many '; unused' with '; unreferenced'
Diffstat (limited to 'home/text.asm')
-rw-r--r--home/text.asm13
1 files changed, 10 insertions, 3 deletions
diff --git a/home/text.asm b/home/text.asm
index f6fd2746e..eb3a58099 100644
--- a/home/text.asm
+++ b/home/text.asm
@@ -141,12 +141,15 @@ RadioTerminator::
PrintText::
call SetUpTextbox
+ ; fallthrough
+
BuenaPrintText::
push hl
hlcoord TEXTBOX_INNERX, TEXTBOX_INNERY
lb bc, TEXTBOX_INNERH - 1, TEXTBOX_INNERW
call ClearBox
pop hl
+ ; fallthrough
PrintTextboxText::
bccoord TEXTBOX_INNERX, TEXTBOX_INNERY
@@ -163,6 +166,7 @@ SetUpTextbox::
PlaceString::
push hl
+ ; fallthrough
PlaceNextChar::
ld a, [de]
@@ -173,7 +177,9 @@ PlaceNextChar::
pop hl
ret
- pop de ; unused
+DummyChar:: ; unreferenced
+ pop de
+ ; fallthrough
NextChar::
inc de
@@ -319,12 +325,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