summaryrefslogtreecommitdiff
path: root/mobile/mobile_45.asm
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/mobile_45.asm')
-rw-r--r--mobile/mobile_45.asm118
1 files changed, 0 insertions, 118 deletions
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]