summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
authorxCrystal <rgr.crystal@gmail.com>2018-01-02 16:04:21 +0100
committerxCrystal <rgr.crystal@gmail.com>2018-01-02 16:04:21 +0100
commit6f0b81504d6471afe7df6adae83791cc81933ca6 (patch)
tree0b82cb9aa2c8396a132e69756f342e3d39538cbc /mobile
parent7a24703398aba3ab112ed770368805a17c601c03 (diff)
More unreferenced labels cleanup
Diffstat (limited to 'mobile')
-rwxr-xr-xmobile/battle_tower_5c.asm3
-rwxr-xr-xmobile/mobile_12.asm5
-rw-r--r--mobile/mobile_40.asm16
-rwxr-xr-xmobile/mobile_41.asm6
-rw-r--r--mobile/mobile_42.asm2
-rwxr-xr-xmobile/mobile_46.asm6
-rwxr-xr-xmobile/mobile_5b.asm3
-rw-r--r--mobile/mobile_5f.asm2
8 files changed, 18 insertions, 25 deletions
diff --git a/mobile/battle_tower_5c.asm b/mobile/battle_tower_5c.asm
index f89e83b5a..08d5887b5 100755
--- a/mobile/battle_tower_5c.asm
+++ b/mobile/battle_tower_5c.asm
@@ -634,8 +634,7 @@ SkipBattleTowerTrainer: ; 1704c9
ret
; 1704ca
-Function1704ca: ; 1704ca
-; unreferenced mobile function
+Unreferenced_Function1704ca: ; 1704ca
ld a, [$be46]
cp $7
jr c, .asm_1704d3
diff --git a/mobile/mobile_12.asm b/mobile/mobile_12.asm
index 14b787645..61d6c2d19 100755
--- a/mobile/mobile_12.asm
+++ b/mobile/mobile_12.asm
@@ -1621,9 +1621,8 @@ Function48c63: ; 48c63
ret
; 48c8e
-Function48c8e: ; 48c8e
-; unreferenced
- ld hl, $d02a
+Unreferenced_Function48c8e: ; 48c8e
+ ld hl, wd019 + $11
ld d, h
ld e, l
farcall Function48c63
diff --git a/mobile/mobile_40.asm b/mobile/mobile_40.asm
index 84be87ce4..bf613271a 100644
--- a/mobile/mobile_40.asm
+++ b/mobile/mobile_40.asm
@@ -3093,7 +3093,7 @@ Function1013dd: ; 1013dd
ret
; 1013e1
-Function1013e1: ; 1013e1 ; unreferenced
+Unreferenced_Function1013e1: ; 1013e1
push de
inc de
ld b, a
@@ -3130,7 +3130,7 @@ Function1013f5: ; 1013f5
ret
; 101400
-Function101400: ; 101400 ; unreferenced
+Unreferenced_Function101400: ; 101400
ld a, [de]
inc de
cp [hl]
@@ -3318,7 +3318,7 @@ Function101507: ; 101507
ret
; 10151d
-Function10151d: ; 10151d ; unreferenced
+Unreferenced_Function10151d: ; 10151d
ld a, $34
call Function3e32
ld a, [wMobileCommsJumptableIndex]
@@ -3513,7 +3513,7 @@ Function101663: ; 101663
ret
; 101674
-Function101674: ; 101674 ; unreferenced
+Unreferenced_Function101674: ; 101674
ld a, $05
ld hl, w5_dc00
call Function101635
@@ -4402,7 +4402,7 @@ Function101cbc: ; 101cbc
ret
; 101cc2
-Function101cc2: ; 101cc2 ; unreferenced
+Unreferenced_Function101cc2: ; 101cc2
ld a, $02
ld [wcd2b], a
ret
@@ -4683,7 +4683,7 @@ Function101e64: ; 101e64
ret
; 101e82
-Function101e82: ; 101e82 ; unreferenced
+Unreferenced_Function101e82: ; 101e82
call Function101ecc
ld a, [wMobileCommsJumptableIndex]
inc a
@@ -4691,7 +4691,7 @@ Function101e82: ; 101e82 ; unreferenced
ret
; 101e8d
-Function101e8d: ; 101e8d ; unreferenced
+Unreferenced_Function101e8d: ; 101e8d
call Function101ed3
ld a, [wMobileCommsJumptableIndex]
inc a
@@ -6506,7 +6506,7 @@ Function102b4e: ; 102b4e
ret
; 102b68
-Function102b68: ; 102b68 ; unreferenced
+Unreferenced_Function102b68: ; 102b68
xor a
ld hl, wWindowStackPointer
ld bc, $10
diff --git a/mobile/mobile_41.asm b/mobile/mobile_41.asm
index b92af19fe..f873cdb69 100755
--- a/mobile/mobile_41.asm
+++ b/mobile/mobile_41.asm
@@ -244,8 +244,7 @@ TrainerRankings_StepCount: mobile ; 10602e (41:602e)
ld hl, sTrainerRankingStepCount
jp TrainerRankings_Increment4Byte
-; Unreferenced in English version.
-TrainerRankings_BattleTowerWins: mobile ; 106035
+Unreferenced_TrainerRankings_BattleTowerWins: mobile ; 106035
ld a, $5
call GetSRAMBank
ld a, [$aa8d]
@@ -520,8 +519,7 @@ RestoreMobileEventIndex: ; 10619d (41:619d)
ret
; 1061b3 (41:61b3)
-; Unreferenced in English version.
-VerifyTrainerRankingsChecksum: ; 1061b3
+Unreferenced_VerifyTrainerRankingsChecksum: ; 1061b3
call CalculateTrainerRankingsChecksum
ld hl, sTrainerRankingsChecksum
ld a, d
diff --git a/mobile/mobile_42.asm b/mobile/mobile_42.asm
index 4e956229c..01ae90133 100644
--- a/mobile/mobile_42.asm
+++ b/mobile/mobile_42.asm
@@ -1825,7 +1825,7 @@ LZ_1090a7:
INCBIN "gfx/unknown/1090a7.tilemap.lz"
Palette_1090f7:
-; unreferenced
+; unused
RGB 31, 31, 31
RGB 0, 0, 0
diff --git a/mobile/mobile_46.asm b/mobile/mobile_46.asm
index 10a97e426..02986d57d 100755
--- a/mobile/mobile_46.asm
+++ b/mobile/mobile_46.asm
@@ -1559,8 +1559,7 @@ IndexDownloadURL: ; 0x118ce5
db "http://gameboy.datacenter.ne.jp/cgb/download?name=/01/CGB-BXTJ/tamago/index.txt", 0
-Function118d35: ; 118d35
-; unreferenced
+Unreferenced_Function118d35: ; 118d35
ld hl, $d200
ld a, [wcd38]
and a
@@ -6957,8 +6956,7 @@ Function11b397: ; 11b397
jr .loop
; 11b3b6
-Function11b3b6: ; 11b3b6
-; unreferenced
+Unreferenced_Function11b3b6: ; 11b3b6
.loop
ld a, [hl]
cp -1
diff --git a/mobile/mobile_5b.asm b/mobile/mobile_5b.asm
index f16391871..5de77b789 100755
--- a/mobile/mobile_5b.asm
+++ b/mobile/mobile_5b.asm
@@ -1,5 +1,4 @@
-Function16c000: ; 16c000
-; unreferenced
+Unreferenced_Function16c000: ; 16c000
; Only for CGB
ld a, [hCGB]
and a
diff --git a/mobile/mobile_5f.asm b/mobile/mobile_5f.asm
index 5731f01fc..79714a45f 100644
--- a/mobile/mobile_5f.asm
+++ b/mobile/mobile_5f.asm
@@ -5246,7 +5246,7 @@ String_17fe63: ; 17fe63
next "せつめいしょを ごらんください"
db "@"
-String_17fe9a: ; 17fe9a ; unreferenced
+String_17fe9a: ; 17fe9a ; unused
db "ポケモンニュースが"
next "あたらしくなっているので"
next "レポートを おくれません"