summaryrefslogtreecommitdiff
path: root/mobile
diff options
context:
space:
mode:
Diffstat (limited to 'mobile')
-rw-r--r--mobile/mobile_12.asm1
-rw-r--r--mobile/mobile_22.asm27
-rw-r--r--mobile/mobile_22_2.asm2
-rw-r--r--mobile/mobile_40.asm11
-rw-r--r--mobile/mobile_41.asm3
-rw-r--r--mobile/mobile_45.asm118
-rw-r--r--mobile/mobile_45_sprite_engine.asm16
-rw-r--r--mobile/mobile_46.asm9
-rw-r--r--mobile/mobile_5b.asm4
-rw-r--r--mobile/mobile_5c.asm16
-rw-r--r--mobile/mobile_5e.asm1
-rw-r--r--mobile/mobile_5f.asm6
-rw-r--r--mobile/mobile_menu.asm4
13 files changed, 0 insertions, 218 deletions
diff --git a/mobile/mobile_12.asm b/mobile/mobile_12.asm
index 08466e0cb..d9528fbf6 100644
--- a/mobile/mobile_12.asm
+++ b/mobile/mobile_12.asm
@@ -1257,7 +1257,6 @@ String_48aa1:
db "Tell Now"
next "Tell Later@"
-
Function48ab5:
ld a, [hJoyPressed]
and A_BUTTON
diff --git a/mobile/mobile_22.asm b/mobile/mobile_22.asm
index 54d79efe0..da8fee07c 100644
--- a/mobile/mobile_22.asm
+++ b/mobile/mobile_22.asm
@@ -19,7 +19,6 @@ OpenSRAMBank4:
pop af
ret
-
Function89168:
ld hl, wGameTimerPause
set GAMETIMERPAUSE_MOBILE_7_F, [hl]
@@ -77,7 +76,6 @@ Function89193:
pop de
ret
-
Function8919e:
; Searches for the c'th string starting at de. Returns the pointer in de.
ld a, c
@@ -107,7 +105,6 @@ Function891b8:
call DelayFrame
ret
-
Function891ca:
push bc
call Function891b8
@@ -165,7 +162,6 @@ Function89215:
pop hl
ret
-
Function8921f:
push de
ld de, SCREEN_WIDTH
@@ -202,7 +198,6 @@ Mobile22_SetBGMapMode1:
ld [hBGMapMode], a
ret
-
Function89245:
farcall TryLoadSaveFile
ret c
@@ -324,7 +319,6 @@ Function892b7:
jr nz, .loop
ret
-
Function89305:
xor a
ld [wMenuSelection], a
@@ -382,7 +376,6 @@ Function89331:
pop bc
ret
-
Function89346:
ld h, b
ld l, c
@@ -478,7 +471,6 @@ Function8939a:
call Function89381
ret
-
Function893b3:
call DisableLCD
call ClearSprites
@@ -500,7 +492,6 @@ Function893cc:
call EnableLCD
ret
-
Function893e2:
call Function89b1e
call Function893b3
@@ -585,7 +576,6 @@ Function89481:
inc d
ret
-
Function89492:
ld d, 0
ld a, [wPlayerGender]
@@ -622,7 +612,6 @@ Function894bb:
pop bc
ret
-
Function894ca:
push bc
call Function894dc
@@ -784,7 +773,6 @@ Function8956f:
pop bc
ret
-
Function895c7:
ld a, [rSVBK]
push af
@@ -904,7 +892,6 @@ Function8966c:
pop bc
ret
-
Function8967a:
push bc
call Function89688
@@ -1205,7 +1192,6 @@ Function897d5:
pop bc
ret
-
Function89807:
ld hl, MobileAdapterGFX + $20 tiles
ld a, [wPlayerGender]
@@ -1273,7 +1259,6 @@ Function89856:
call Function897d5
ret
-
Function8987f:
call Function891b8
call Function895f2
@@ -1470,7 +1455,6 @@ Function8998b:
pop bc
ret
-
Function8999c:
ld de, wPlayerName
call PlaceString
@@ -1547,7 +1531,6 @@ Function89a0c:
call PlaceString
ret
-
Function89a23:
hlcoord 0, 11
ld b, $4
@@ -1702,7 +1685,6 @@ Function89a57:
ld [wd030], a
ret
-
Function89b00:
farcall MG_Mobile_Layout_LoadPals
ret
@@ -1787,7 +1769,6 @@ Function89b45:
pop hl
ret
-
Function89b78:
push bc
ld a, [wd010]
@@ -2204,7 +2185,6 @@ Jumptable_89e04:
dw Function8a999
dw Function8ab93
-
Function89e0a:
call OpenSRAMBank4
call Function8b3b0
@@ -2218,7 +2198,6 @@ Jumptable_89e18:
dw Function8a116
dw Function8a2aa
-
Function89e1e:
call OpenSRAMBank4
ld bc, $a037
@@ -2254,7 +2233,6 @@ Jumptable_89e3c:
dw Function89e58
dw Function89e68
-
Function89e58:
ld a, $1
call Function8a2fe
@@ -2781,7 +2759,6 @@ Strings_8a1cc:
db "まえ<NO>がめん<NI>もどります"
db "@"
-
Function8a20d:
ld hl, UnknownText_0x8a232
call PrintText
@@ -3369,7 +3346,6 @@ Jumptable_8a671:
dw Function8a8c3
dw Function8a930
-
Function8a679:
call Function891de
call ClearBGPalettes
@@ -3403,7 +3379,6 @@ Jumptable_8a6bc:
dw Function8a6c0
dw Function8a6c5
-
Function8a6c0:
call PlayClickSFX
and a
@@ -3477,7 +3452,6 @@ Jumptable_8a74f:
dw Function8a818
dw Function8a8a1
-
Function8a757:
call Function8939a
xor a
@@ -3863,7 +3837,6 @@ Jumptable_8aa6d:
dw Function8aab6
dw Function8ab11
-
Function8aa73:
ld a, [wMenuSelection]
ld e, a
diff --git a/mobile/mobile_22_2.asm b/mobile/mobile_22_2.asm
index 9aa3f2715..260e62073 100644
--- a/mobile/mobile_22_2.asm
+++ b/mobile/mobile_22_2.asm
@@ -280,7 +280,6 @@ Jumptable_8b4a0:
dw Function8b4a4
dw Function8b4b8
-
Function8b4a4:
push bc
push de
@@ -990,7 +989,6 @@ Function8b94a:
ld [wd030], a
ret
-
Function8b960:
ld hl, MenuHeader_0x8b9ac
call LoadMenuHeader
diff --git a/mobile/mobile_40.asm b/mobile/mobile_40.asm
index 1b7a15be2..dc3767bf4 100644
--- a/mobile/mobile_40.asm
+++ b/mobile/mobile_40.asm
@@ -435,7 +435,6 @@ Function100327:
farcall HDMATransferTileMapToWRAMBank3
ret
-
Function10032e:
call Function10034d
ld e, a
@@ -637,7 +636,6 @@ Function10043a:
pop hl
ret
-
Jumptable_10044e:
dw Function10046a
dw Function10047c
@@ -1189,7 +1187,6 @@ Function100772:
pop de
ret
-
Function10079c:
ld a, [wcd21]
cp $01
@@ -1374,7 +1371,6 @@ Function1008a6:
ld c, 0
ret
-
Function1008e0:
ld a, [hBGMapMode]
ld b, a
@@ -1437,7 +1433,6 @@ Function100902:
.string_100966
db "のこり   ふん!@"
-
Function100970:
hlcoord 0, 0
ld de, w3_dc00
@@ -2042,8 +2037,6 @@ Function100db0:
xor a
ret
-
-
Function100dc0:
ld a, [wLinkMode]
cp LINK_MOBILE
@@ -2168,7 +2161,6 @@ Function100e84:
rst JumpTable
ret
-
Jumptable_100e8c:
dw Function100ea2
dw Function100eae
@@ -2182,7 +2174,6 @@ Jumptable_100e8c:
dw Function100eae
dw Function100ec4
-
Function100ea2:
call Function100dc0
ret nc
@@ -2190,7 +2181,6 @@ Function100ea2:
set 0, [hl]
call Function100ec5
-
Function100eae:
scf
call Function100eca
@@ -6931,7 +6921,6 @@ Palettes_1032e2:
RGB 0, 0, 0
RGB 0, 0, 0
-
Function103302:
call Function103309
call Function103362
diff --git a/mobile/mobile_41.asm b/mobile/mobile_41.asm
index b96a145ad..087467710 100644
--- a/mobile/mobile_41.asm
+++ b/mobile/mobile_41.asm
@@ -513,7 +513,6 @@ CalculateTrainerRankingsChecksum:
pop bc
ret
-
BackupMobileEventIndex:
ld a, BANK(sMobileEventIndex)
call GetSRAMBank
@@ -526,7 +525,6 @@ BackupMobileEventIndex:
call CloseSRAM
ret
-
RestoreMobileEventIndex:
ld a, BANK(sMobileEventIndexBackup)
call GetSRAMBank
@@ -579,7 +577,6 @@ InitializeTrainerRankings:
call CopyBytes
ret
-
_MobilePrintNum::
; Supports signed 31-bit integers (up to 10 digits)
; b: Bits 0-4 = # bytes
diff --git a/mobile/mobile_45.asm b/mobile/mobile_45.asm
index a5d172415..e2168a737 100644
--- a/mobile/mobile_45.asm
+++ b/mobile/mobile_45.asm
@@ -143,7 +143,6 @@ Function114243::
pop de
jp hl
-
Function11425c:
ld [$dc02], a
pop af
@@ -152,11 +151,9 @@ Function11425c:
ld [MBC3SRamBank], a
ret
-
Stubbed_Function114268:
ret
-
Function114269:
ld h, d
ld l, e
@@ -296,7 +293,6 @@ Function114269:
ld [$dc02], a
jp .asm_11429b
-
Function114333:
push bc
ld bc, $dc00
@@ -304,7 +300,6 @@ Function114333:
pop bc
ret
-
Function11433c:
push de
ld h, d
@@ -397,7 +392,6 @@ Function11433c:
ld b, $1
jp Function11425c
-
Function1143b7:
ld a, [de]
ld b, a
@@ -448,7 +442,6 @@ Function1143b7:
pop hl
jp Function11425c
-
Function1143f3:
call Function114412
and a
@@ -476,7 +469,6 @@ Function1143f3:
ld b, $84
ret
-
Function114412:
ld a, c
ld [$dc00], a
@@ -606,7 +598,6 @@ Function114412:
ld a, $1
ret
-
Function1144c8:
push bc
ld bc, $dc00
@@ -614,7 +605,6 @@ Function1144c8:
pop bc
ret
-
Function1144d1:
call Function114561
dec de
@@ -712,7 +702,6 @@ Function1144d1:
ld a, $1
jp Function11425c
-
Function114561:
ld hl, $dc03
ld a, [de]
@@ -734,7 +723,6 @@ Function114561:
ld [hl], a
ret
-
Function114576:
xor a
ld [wDecoBed], a
@@ -789,7 +777,6 @@ Function114576:
ld [wDecoBed], a
ret
-
Function1145c5:
ld hl, $dc24
ld de, String_11421e
@@ -882,7 +869,6 @@ Function1145c5:
xor a
ret
-
Function11463c:
ld a, [$dc00]
push af
@@ -945,7 +931,6 @@ Function11463c:
ld a, $1
ret
-
Function11469b:
push bc
ld bc, $dc00
@@ -953,7 +938,6 @@ Function11469b:
pop bc
ret
-
Function1146a4:
call Function114867
and a
@@ -1011,7 +995,6 @@ Function1146a4:
ld a, $1
ret
-
Function1146fa:
call Function114867
and a
@@ -1137,7 +1120,6 @@ Function1146fa:
xor a
ret
-
Function1147cd:
ld bc, NULL
ld a, [wDecoRightOrnament]
@@ -1214,7 +1196,6 @@ Function1147cd:
ld a, $1
ret
-
Function11483a:
push bc
ld bc, $dc00
@@ -1222,7 +1203,6 @@ Function11483a:
pop bc
ret
-
Function114843:
ld a, [$dc00]
push af
@@ -1246,7 +1226,6 @@ Function114843:
ld a, $1
ret
-
Function114867:
ld hl, $dc06
ld a, [hli]
@@ -1305,7 +1284,6 @@ Function114867:
ld a, $1
ret
-
Function1148b9:
push bc
ld bc, wCurrMapBGEventCount
@@ -1313,7 +1291,6 @@ Function1148b9:
pop bc
ret
-
Function1148c2:
ld hl, $dc06
ld a, [hli]
@@ -1405,7 +1382,6 @@ Function1148c2:
ld a, $1
ret
-
Function114944:
push bc
ld bc, wCurrMapBGEventCount
@@ -1413,7 +1389,6 @@ Function114944:
pop bc
ret
-
Function11494d:
ld hl, $dc06
ld a, [hli]
@@ -1497,7 +1472,6 @@ Function11494d:
ld a, $1
ret
-
Function1149c3:
push bc
ld bc, wCurrMapBGEventCount
@@ -1505,7 +1479,6 @@ Function1149c3:
pop bc
ret
-
Function1149cc:
ld hl, $dc06
ld a, [hl]
@@ -1555,7 +1528,6 @@ Function1149cc:
ld a, $1
ret
-
Function114a0f:
push bc
ld bc, wCurrMapBGEventCount
@@ -1563,7 +1535,6 @@ Function114a0f:
pop bc
ret
-
Function114a18:
ld bc, NULL
ld h, b
@@ -1630,7 +1601,6 @@ Function114a18:
ld a, $1
ret
-
Function114a71:
push bc
ld bc, $dc00
@@ -1638,7 +1608,6 @@ Function114a71:
pop bc
ret
-
Function114a7a:
ld bc, NULL
.asm_114a7d
@@ -1690,7 +1659,6 @@ Function114a7a:
ld a, $1
ret
-
Function114ac6:
push bc
ld bc, $dc00
@@ -1698,7 +1666,6 @@ Function114ac6:
pop bc
ret
-
Function114acf:
.asm_114acf
push hl
@@ -1801,7 +1768,6 @@ Function114acf:
xor a
ret
-
Function114b4c:
push bc
ld bc, $dc00
@@ -1809,7 +1775,6 @@ Function114b4c:
pop bc
ret
-
Function114b55:
call Function114561
ld b, $0
@@ -1884,7 +1849,6 @@ endr
ld b, $82
jp Function11425c
-
Function114bbc:
ld h, d
ld l, e
@@ -1938,7 +1902,6 @@ Function114bbc:
pop hl
jp Function11425c
-
Function114c0b:
ld hl, $dc24
push bc
@@ -1997,7 +1960,6 @@ Function114c0b:
jr z, .asm_114c24
jr .asm_114c18
-
Function114c55:
push bc
ld bc, $dc00
@@ -2005,7 +1967,6 @@ Function114c55:
pop bc
ret
-
Function114c5e:
ld de, wPartyMon5Defense
push hl
@@ -2105,7 +2066,6 @@ Function114c5e:
dec bc
ret
-
Function114cd9:
ld h, d
ld l, e
@@ -2171,7 +2131,6 @@ endr
ld a, $1
jp Function11425c
-
Function114d39:
.asm_114d39
ld a, [$dc04]
@@ -2239,7 +2198,6 @@ Function114d39:
ld [hli], a
ret
-
Function114d99:
ld de, wPartyMon5Defense
xor a
@@ -2313,7 +2271,6 @@ Function114d99:
xor a
ret
-
Function114df1:
cp $1b
ret nz
@@ -2363,7 +2320,6 @@ Function114df1:
xor a
ret
-
Function114e2d:
cp $30
jr c, .asm_114e45
@@ -2399,7 +2355,6 @@ Function114e2d:
xor a
ret
-
Function114e62:
ld a, c
and a
@@ -2443,7 +2398,6 @@ Function114e62:
ld b, $83
jp Function11425c
-
Function114ea0:
ld hl, $dc06
ld a, [hli]
@@ -2490,7 +2444,6 @@ Function114ea0:
ld b, $83
ret
-
Function114ee0:
push bc
ld bc, wCurrMapBGEventCount
@@ -2498,7 +2451,6 @@ Function114ee0:
pop bc
ret
-
Function114ee9:
ld hl, $dc03
ld a, b
@@ -2532,7 +2484,6 @@ Function114ee9:
ld [hl], d
ret
-
Function114f0a:
call Function114f39
and a
@@ -2568,7 +2519,6 @@ Function114f0a:
ld a, $ff
ret
-
Function114f39:
ld hl, $dc0d
ld e, [hl]
@@ -2599,7 +2549,6 @@ Function114f39:
.asm_114f58
ret
-
Function114f59:
ld a, [wTimerEventStartDay]
and a
@@ -2726,7 +2675,6 @@ Function114f59:
xor a
ret
-
Function115020:
push hl
ld hl, $dc06
@@ -2774,7 +2722,6 @@ Function115020:
ld a, $1
ret
-
Function115059:
push bc
ld bc, wCurrMapBGEventCount
@@ -2782,7 +2729,6 @@ Function115059:
pop bc
ret
-
Function115062:
ld hl, wDecoBed
ld a, [hli]
@@ -2836,7 +2782,6 @@ Function115062:
.asm_1150b2
ret
-
Function1150b3:
ld hl, $dc24
ld de, wPartyMon5Defense
@@ -2939,7 +2884,6 @@ Function1150b3:
ld [de], a
ret
-
Function115136:
ld hl, $dc06
ld a, [hli]
@@ -2986,7 +2930,6 @@ Function115136:
ld a, $1
ret
-
Function115170:
push bc
ld bc, wCurrMapBGEventCount
@@ -2994,7 +2937,6 @@ Function115170:
pop bc
ret
-
Function115179:
ld hl, $dc06
ld a, [hli]
@@ -3105,7 +3047,6 @@ Function115179:
xor a
ret
-
Function11520e:
push bc
ld bc, wCurrMapBGEventCount
@@ -3113,7 +3054,6 @@ Function11520e:
pop bc
ret
-
Function115217:
push hl
ld hl, $dc06
@@ -3199,7 +3139,6 @@ Function115217:
call z, Function115286
jr .asm_115252
-
Function115286:
push bc
ld bc, wCurrMapBGEventCount
@@ -3207,7 +3146,6 @@ Function115286:
pop bc
ret
-
Function11528f:
ld hl, wDecoBed
ld c, [hl]
@@ -3231,7 +3169,6 @@ Function11528f:
ld [hl], c
ret
-
Function1152af:
push bc
ld bc, $dc00
@@ -3239,7 +3176,6 @@ Function1152af:
pop bc
ret
-
Function1152b8:
push bc
call Function11537d
@@ -3365,7 +3301,6 @@ Function1152b8:
xor a
jp Function11425c
-
Function11537d:
ld hl, $dc06
ld a, [de]
@@ -3414,7 +3349,6 @@ Function11537d:
ld [wTimerEventStartDay], a
ret
-
Function1153b5:
ld hl, $dc0d
ld e, [hl]
@@ -3440,7 +3374,6 @@ Function1153b5:
ld [hl], d
ret
-
Function1153d2:
ld a, [$dc03]
ld d, a
@@ -3627,7 +3560,6 @@ Function1153d2:
xor a
ret
-
Function1154d4:
xor a
ld [wTimerEventStartDay], a
@@ -3758,7 +3690,6 @@ Function1154d4:
call Function1155d1
jr .asm_115547
-
Function1155af:
ld hl, $dc06
ld a, [de]
@@ -3789,7 +3720,6 @@ Function1155af:
call Function1155d1
ret
-
Function1155d1:
ld a, [$dc0d]
ld l, a
@@ -3833,7 +3763,6 @@ Function1155d1:
ld [$dc0e], a
ret
-
Function11560a:
ld a, [$dc06]
ld [wCurrMapBGEventCount], a
@@ -3960,7 +3889,6 @@ Function11560a:
ld bc, $03db
jr .asm_115659
-
Function1156cc:
ld a, [wTimerEventStartDay]
and a
@@ -4023,7 +3951,6 @@ Function1156cc:
ld b, $83
jp Function11425c
-
Function115732:
ld hl, $dc02
ld a, [de]
@@ -4066,7 +3993,6 @@ Function115732:
ld [hl], b
ret
-
Function11575c:
ld hl, $dc05
ld a, [hli]
@@ -4153,7 +4079,6 @@ Function11575c:
ld [wTimerEventStartDay], a
ret
-
Function1157d0:
ld hl, $dc05
ld a, [hli]
@@ -4211,7 +4136,6 @@ Function1157d0:
ld [wTimerEventStartDay], a
ret
-
Function11581e:
ld a, [wTimerEventStartDay]
and a
@@ -4318,7 +4242,6 @@ Function11581e:
ld [wTimerEventStartDay], a
ret
-
Function1158c2:
ld a, e
ld [wSwarmFlags], a
@@ -4527,7 +4450,6 @@ endr
ld [hl], a
ret
-
Function1159dc:
cp $1a
jr c, .asm_1159ef
@@ -4556,7 +4478,6 @@ Function1159dc:
ld a, $2b
ret
-
Function1159fb:
ld a, [wTimerEventStartDay]
and a
@@ -4618,7 +4539,6 @@ Function1159fb:
ld a, $1
jp Function11425c
-
Function115a5f:
ld hl, $dc05
ld a, [hli]
@@ -4678,7 +4598,6 @@ Function115a5f:
ld [wTimerEventStartDay], a
ret
-
Function115ab0:
ld hl, $dc05
ld a, [hli]
@@ -4738,7 +4657,6 @@ Function115ab0:
xor a
ret
-
Function115b00:
ld a, [wTimerEventStartDay]
and a
@@ -4871,7 +4789,6 @@ Function115b00:
xor a
ret
-
Function115bc8:
xor a
ld [wDecoCarpet], a
@@ -4971,7 +4888,6 @@ Function115bc8:
ld a, $2
ret
-
Function115c49:
ld a, e
ld [wWeeklyFlags], a
@@ -5109,7 +5025,6 @@ endr
jp nz, .asm_115c64
ret
-
Function115cfd:
cp $2b
jr c, .asm_115d27
@@ -5179,7 +5094,6 @@ Function115cfd:
sub $47
ret
-
Function115d53:
.asm_115d53
ld a, [de]
@@ -5194,7 +5108,6 @@ Function115d53:
ld [hl], a
ret
-
Function115d61:
push bc
ld bc, $dc00
@@ -5202,7 +5115,6 @@ Function115d61:
pop bc
ret
-
Function115d6a:
.asm_115d6a
ld a, [hli]
@@ -5216,7 +5128,6 @@ Function115d6a:
xor a
ret
-
Function115d77:
push bc
ld bc, wCurrMapBGEventCount
@@ -5224,7 +5135,6 @@ Function115d77:
pop bc
ret
-
Function115d80:
ld e, a
ld a, d
@@ -5246,10 +5156,8 @@ Function115d80:
ld e, $0
ret
-
INCLUDE "mobile/mobile_45_sprite_engine.asm"
-
Function116567:
ld hl, wc3f7
dec [hl]
@@ -5287,7 +5195,6 @@ Function116567:
ld [wc3f7], a
ret
-
Function11659d:
ld a, [wc314]
cp $12
@@ -5302,7 +5209,6 @@ Function11659d:
ld l, a
jp hl
-
Jumptable_1165af:
dw Function11677e
dw Function1165d5
@@ -5345,7 +5251,6 @@ Function1165e3:
ret c
jp Function116797
-
Function1165f5:
ld a, $1
ld c, a
@@ -5366,7 +5271,6 @@ Function116600:
ld [wc314], a
ret
-
Function116615:
call Function11678e
@@ -5388,7 +5292,6 @@ Function116623:
ret c
jp Function116797
-
Function116635:
ld a, $2
ld c, a
@@ -5409,7 +5312,6 @@ Function116640:
ld [wc314], a
ret
-
Function116655:
xor a
ld [wc314 + 3], a
@@ -5455,7 +5357,6 @@ Function11668d:
ld [wc314], a
ret
-
Function11669f:
call Function11678e
@@ -5503,7 +5404,6 @@ Function1166d6:
ld [wc314], a
ret
-
Function1166f4:
ld [wc30e], a
ld a, b
@@ -5530,7 +5430,6 @@ Function1166f4:
call Function116797
ret
-
Function11671f:
ld [wc30f], a
ld a, b
@@ -5553,7 +5452,6 @@ Function11671f:
call Function116797
ret
-
Function116747:
ld hl, wc30e
ld a, [wc314 + 2]
@@ -5565,7 +5463,6 @@ Function116747:
ld [hl], a
ret
-
Function116758:
ld a, [wc30f]
cp $30
@@ -5595,7 +5492,6 @@ Function116758:
ld [wc314 + 4], a
ret
-
Function11677e:
ld a, $0
@@ -5612,7 +5508,6 @@ Function116780:
and a
ret
-
Function11678e:
ld hl, wc314
ld a, [hl]
@@ -5620,13 +5515,11 @@ Function11678e:
inc [hl]
ret
-
Function116797:
ld hl, wc314
inc [hl]
ret
-
Function11679c:
ld a, c
ld [wc311], a
@@ -5682,7 +5575,6 @@ asm_1167af
ld [wc313], a
ret
-
Unknown_1167eb:
dw Unknown_1167fb
dw Unknown_116808
@@ -6725,7 +6617,6 @@ GiveOddEgg:
farcall _GiveOddEgg
ret
-
Function11765d:
ld a, [hInMenu]
push af
@@ -6826,7 +6717,6 @@ Jumptable_117728:
dw Function117984
dw Function1179a7
-
Function117738:
farcall Function171ccd
depixel 6, 3
@@ -7178,7 +7068,6 @@ Function1179a7:
ld [wcd49], a
ret
-
MenuHeader_1179b5:
db MENU_BACKUP_TILES ; flags
menu_coords 0, 12, SCREEN_WIDTH - 1, SCREEN_HEIGHT - 1
@@ -7191,7 +7080,6 @@ MenuHeader_1179bd:
dw NULL
db 0 ; default option
-
YessNoString_1179c5:
db "はい"
next "いいえ@"
@@ -7213,14 +7101,12 @@ MobilePassword_IncrementJumptable:
inc [hl]
ret
-
Unknown_117a0f:
INCBIN "data/mobile/ascii-alpha.txt"
Unknown_117a47:
INCBIN "data/mobile/ascii-sym.txt"
-
; everything from here to the end of the bank is related to the
; Mobile Stadium option from the continue/newgame menu.
; Needs better function names
@@ -7234,13 +7120,11 @@ MobileStudium:
ld [hInMenu], a
ret
-
Function117a8d:
call Function117a94
call Function117acd
ret
-
Function117a94:
xor a
ld [wJumptableIndex], a
@@ -7253,7 +7137,6 @@ Function117a94:
farcall HDMATransferAttrMapAndTileMapToWRAMBank3
ret
-
Function117ab4:
call ClearBGPalettes
call ClearSprites
@@ -7262,7 +7145,6 @@ Function117ab4:
farcall ReloadMapPart
ret
-
Function117acd:
call JoyTextDelay
ld a, [wJumptableIndex]
diff --git a/mobile/mobile_45_sprite_engine.asm b/mobile/mobile_45_sprite_engine.asm
index 70e8ef9f8..eb1b74ab2 100644
--- a/mobile/mobile_45_sprite_engine.asm
+++ b/mobile/mobile_45_sprite_engine.asm
@@ -16,7 +16,6 @@ Function115d99:
ld [wc308], a
ret
-
Function115dc3:
xor a
ld [wc305], a
@@ -26,7 +25,6 @@ Function115dc3:
call ByteFill
ret
-
Function115dd3:
ld a, [wc305]
and a
@@ -75,7 +73,6 @@ Function115dd3:
jr nz, .asm_115e04
ret
-
Function115e18:
ld a, c
ld [wc30a], a
@@ -83,7 +80,6 @@ Function115e18:
ld [wc30b], a
jr Function115e2b
-
Function115e22:
ld hl, wc30c
dec [hl]
@@ -122,7 +118,6 @@ Function115e2b:
ld [wc30c], a
ret
-
Unknown_115e59:
dw Unknown_115e61
dw Unknown_115e6c
@@ -315,7 +310,6 @@ Unknown_116005:
GFX_11601a::
INCBIN "gfx/unknown/11601a.2bpp"
-
Function11615a:
xor a
ld [wc30d], a
@@ -343,7 +337,6 @@ Function11615a:
ld [wc3f3], a
ret
-
Function11619d:
ld a, [wc30d]
and a
@@ -360,7 +353,6 @@ Function11619d:
call Function1161b8
ret
-
Function1161b8:
ld a, [$c319]
ld e, a
@@ -373,7 +365,6 @@ Function1161b8:
ld l, a
jp hl
-
.Jumptable:
dw Function1161d5
dw Function116294
@@ -493,7 +484,6 @@ Function1161d5:
ld [$c319], a
ret
-
MenuHeader_11628c:
db MENU_BACKUP_TILES ; flags
menu_coords 0, 6, SCREEN_WIDTH - 1, SCREEN_HEIGHT - 1
@@ -524,7 +514,6 @@ Function116294:
ld [hWY], a
ret
-
Function1162cb:
farcall Function170cc6
ld a, [$c319]
@@ -543,7 +532,6 @@ Function1162cb:
ld [rSVBK], a
ret
-
Function1162f2:
call Function11659d
call Function116758
@@ -633,7 +621,6 @@ Function1162f2:
jr nz, .asm_11635a
ret
-
Function11636e:
ld a, [rSVBK]
push af
@@ -671,7 +658,6 @@ Function11636e:
ld [wc30d], a
ret
-
Function1163c0:
ld a, [rSVBK]
push af
@@ -729,7 +715,6 @@ Function1163c0:
ld [wc30d], a
ret
-
Function116441:
farcall Function17d405
ld a, $90
@@ -746,7 +731,6 @@ Function116441:
ld [wc30d], a
ret
-
Function116468:
call Function116567
ld a, [wc314]
diff --git a/mobile/mobile_46.asm b/mobile/mobile_46.asm
index 1f7ab27d0..43ddf5201 100644
--- a/mobile/mobile_46.asm
+++ b/mobile/mobile_46.asm
@@ -333,7 +333,6 @@ Function118284:
call BattleTowerRoomMenu_Cleanup
ret
-
Function1182d5:
call BattleTowerRoomMenu_InitRAM
ld a, $18
@@ -1120,12 +1119,10 @@ Function118903:
call BattleTowerRoomMenu2
jp BattleTowerRoomMenu_IncrementJumptable
-
Function11891c:
call Function118b42
jp BattleTowerRoomMenu_IncrementJumptable
-
BattleTowerRoomMenu_PickLevelMessage:
ld a, [wcd38]
and a
@@ -1307,8 +1304,6 @@ BattleTowerRoomMenu_UpdatePickLevelMenu:
ld [wMobileInactivityTimerFrames], a
ret
-
-
Function118a54:
ld a, [wcd55]
ld l, a
@@ -1489,7 +1484,6 @@ Function118b9a:
and a
ret
-
charmap " ", $20 ; revert to ascii
ExchangeDownloadURL:
@@ -1507,7 +1501,6 @@ MenuDownloadURL:
IndexDownloadURL:
db "http://gameboy.datacenter.ne.jp/cgb/download?name=/01/CGB-BXTJ/tamago/index.txt", 0
-
Unreferenced_Function118d35:
ld hl, $d200
ld a, [wcd38]
@@ -7690,5 +7683,3 @@ TilemapPack_11bb7d:
db $2e, $0a, $85, $0a, $0a, $0a, $8d, $00 ; 22
db $2e, $0a, $0a, $84, $0a, $0a, $8e, $00 ; 23
db -1
-
-
diff --git a/mobile/mobile_5b.asm b/mobile/mobile_5b.asm
index fe0869067..9388e8d04 100644
--- a/mobile/mobile_5b.asm
+++ b/mobile/mobile_5b.asm
@@ -214,7 +214,6 @@ INCBIN "gfx/mobile/mobile_splash.attrmap"
UnknownMobilePalettes_16c903:
INCLUDE "gfx/unknown/16c903.pal"
-
Function16c943:
ld a, [wd003]
and a
@@ -769,17 +768,14 @@ Unknown_16cfa9:
RGB 31, 31, 31
RGB 07, 07, 07
-
Unknown_16cfb1:
RGB 31, 31, 31
RGB 13, 09, 18
RGB 26, 21, 16
RGB 07, 07, 07
-
Unknown_16cfb9:
RGB 31, 31, 31
RGB 18, 05, 02
RGB 27, 11, 12
RGB 07, 07, 07
-
diff --git a/mobile/mobile_5c.asm b/mobile/mobile_5c.asm
index cbe858f6d..2874ce65a 100644
--- a/mobile/mobile_5c.asm
+++ b/mobile/mobile_5c.asm
@@ -35,7 +35,6 @@ Function170000:
call CopyBytes
ret
-
Function17005a:
ld a, $5
call GetSRAMBank
@@ -72,7 +71,6 @@ Function17005a:
call CloseSRAM
ret
-
INCLUDE "engine/events/battle_tower/battle_tower.asm"
Function170be4:
@@ -85,7 +83,6 @@ Function170be4:
call CloseSRAM
ret
-
Clears5_a89a:
ld a, $5
call GetSRAMBank
@@ -96,7 +93,6 @@ Clears5_a89a:
call CloseSRAM
ret
-
Function170c06:
ld a, $5
call GetSRAMBank
@@ -199,7 +195,6 @@ Function170c06:
call CloseSRAM
ret
-
Function170c8b:
ld hl, wLastEnemyCounterMove
ld b, $5
@@ -211,7 +206,6 @@ Function170c8b:
jr nz, .asm_170c90
ret
-
CheckBTMonMovesForErrors:
ld c, BATTLETOWER_PARTY_LENGTH
ld hl, wBT_OTTempMon1Moves
@@ -254,7 +248,6 @@ CheckBTMonMovesForErrors:
jr nz, .loop
ret
-
Function170cc6:
ld a, [rSVBK]
push af
@@ -282,7 +275,6 @@ Function170cc6:
ld [rSVBK], a
ret
-
Function170d02:
ld a, $1
ld [rVBK], a
@@ -294,7 +286,6 @@ Function170d02:
ld [rVBK], a
ret
-
PichuAnimatedMobileGFX:
INCBIN "gfx/mobile/pichu_animated.2bpp.lz"
@@ -380,7 +371,6 @@ Jumptable_171a45:
dw Function171c39
dw Function171c41
-
Function171a5d:
ld a, [wc821]
bit 1, a
@@ -417,7 +407,6 @@ Function171a95:
call PlaceString
jp Function171c66
-
String_171aa7:
db "モバイルアダプタに"
next "せつぞく しています"
@@ -658,7 +647,6 @@ Function171c66:
inc [hl]
ret
-
MenuHeader_171c6b:
db MENU_BACKUP_TILES ; flags
menu_coords 0, 12, SCREEN_WIDTH - 1, SCREEN_HEIGHT - 1
@@ -767,7 +755,6 @@ Function171d2b:
call PlaceString
ret
-
Palette_171d71:
RGB 0, 0, 0
RGB 3, 0, 0
@@ -833,7 +820,6 @@ String_172e5d:
db "せつぞくする モバイルセンターを"
next "えらんで ください@"
-
Function172e78:
ld a, $7f
hlcoord 0, 0
@@ -859,7 +845,6 @@ Function172e78:
call CopyBytes
ret
-
Function172eb9:
ld a, [rSVBK]
push af
@@ -878,7 +863,6 @@ Function172eb9:
ld [rSVBK], a
ret
-
Palette_172edf:
RGB 5, 12, 17
RGB 31, 31, 31
diff --git a/mobile/mobile_5e.asm b/mobile/mobile_5e.asm
index 969baf34b..1035bb026 100644
--- a/mobile/mobile_5e.asm
+++ b/mobile/mobile_5e.asm
@@ -190,7 +190,6 @@ Jumptable_17a7b6:
dw Function17a81a
dw Function17a7f4
-
Function17a7c2:
ld a, $4
call Function17aad3
diff --git a/mobile/mobile_5f.asm b/mobile/mobile_5f.asm
index 675dfebc4..ed2b5188c 100644
--- a/mobile/mobile_5f.asm
+++ b/mobile/mobile_5f.asm
@@ -172,7 +172,6 @@ HaveWantPals:
RGB 0, 0, 0
RGB 0, 0, 0
-
CheckStringForErrors:
; Valid character ranges:
; $0, $5 - $13, $19 - $1c, $26 - $34, $3a - $3e, $40 - $48, $60 - $ff
@@ -413,7 +412,6 @@ Function17d1f1:
.asm_17d223
ret
-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Parameter: [wScriptVar] = 0..1
;
@@ -1036,7 +1034,6 @@ Function17d60b:
call CloseSRAM
ret
-
Function17d6a1:
push hl
ld a, [wcd6e]
@@ -3530,7 +3527,6 @@ Function17e6de:
jr nz, .asm_17e6ee
ret
-
PokemonNewsGFX:
INCBIN "gfx/mobile/pokemon_news.2bpp"
@@ -3574,7 +3570,6 @@ Palette_17eff6:
RGB 24, 16, 3
RGB 0, 0, 0
-
Function17f036::
ld a, $6
call GetSRAMBank
@@ -5041,7 +5036,6 @@ String_17fd84:
next "せつめいしょを ごらんください"
db "@"
-
String_17fdb2:
db "3ぷん いじょう なにも"
next "にゅうりょく しなかったので"
diff --git a/mobile/mobile_menu.asm b/mobile/mobile_menu.asm
index a8bae8f1c..ba8ae5784 100644
--- a/mobile/mobile_menu.asm
+++ b/mobile/mobile_menu.asm
@@ -99,7 +99,6 @@ Function49f16:
call ClearBox
jp .joy_loop
-
MobileString1:
db "めいしフォルダー"
next "あいさつ"
@@ -108,7 +107,6 @@ MobileString1:
next "もどる"
db "@"
-
MobileStrings2:
String_0x49fe9:
@@ -614,7 +612,6 @@ Function4a492:
call MG_Mobile_Layout00
ret
-
MainMenu_MobileStudium:
ld a, [wStartDay]
ld b, a
@@ -640,7 +637,6 @@ MainMenu_MobileStudium:
ld [wStartSecond], a
ret
-
Function4a4c4:
call ClearBGPalettes
call Function4a3a7