mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Add a "mobile" directive for dummied-out mobile adapter functions.
This commit is contained in:
parent
f036cdf13b
commit
5aec11492d
21
macros.asm
21
macros.asm
@ -8,6 +8,8 @@ INCLUDE "macros/movement.asm"
|
|||||||
INCLUDE "macros/map.asm"
|
INCLUDE "macros/map.asm"
|
||||||
INCLUDE "macros/predef.asm"
|
INCLUDE "macros/predef.asm"
|
||||||
INCLUDE "macros/rst.asm"
|
INCLUDE "macros/rst.asm"
|
||||||
|
INCLUDE "macros/mobile.asm"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
RGB: MACRO
|
RGB: MACRO
|
||||||
@ -46,15 +48,24 @@ dn: MACRO
|
|||||||
endr
|
endr
|
||||||
ENDM
|
ENDM
|
||||||
|
|
||||||
|
dx: MACRO
|
||||||
|
x = 8 * ((\1) - 1)
|
||||||
|
rept \1
|
||||||
|
db ((\2) >> x) & $ff
|
||||||
|
x = x + -8
|
||||||
|
endr
|
||||||
|
ENDM
|
||||||
|
|
||||||
dt: MACRO ; three-byte (big-endian)
|
dt: MACRO ; three-byte (big-endian)
|
||||||
db ((\1) >> 16) & $ff
|
dx 3, \1
|
||||||
db ((\1) >> 8) & $ff
|
ENDM
|
||||||
db (\1) & $ff
|
|
||||||
|
dd: MACRO ; four-byte (big-endian)
|
||||||
|
dx 4, \1
|
||||||
ENDM
|
ENDM
|
||||||
|
|
||||||
bigdw: MACRO ; big-endian word
|
bigdw: MACRO ; big-endian word
|
||||||
db (\1) / $100
|
dx 2, \1
|
||||||
db (\1) % $100
|
|
||||||
ENDM
|
ENDM
|
||||||
|
|
||||||
|
|
||||||
|
2
macros/mobile.asm
Normal file
2
macros/mobile.asm
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
; Many mobile functions were dummied out in localization.
|
||||||
|
mobile EQUS "ret"
|
442
main.asm
442
main.asm
@ -108521,10 +108521,11 @@ Function1042d6: ; 1042d6
|
|||||||
; 104303
|
; 104303
|
||||||
|
|
||||||
Function104303: ; 104303
|
Function104303: ; 104303
|
||||||
ld hl, $4309
|
ld hl, Function104309
|
||||||
jp Function104177
|
jp Function104177
|
||||||
; 104309
|
; 104309
|
||||||
|
|
||||||
|
Function104309:
|
||||||
ld hl, Unkn1Pals ; $d000
|
ld hl, Unkn1Pals ; $d000
|
||||||
ld de, TileMap ; $c4a0 (aliases: SpritesEnd)
|
ld de, TileMap ; $c4a0 (aliases: SpritesEnd)
|
||||||
call Function10433a
|
call Function10433a
|
||||||
@ -109019,7 +109020,7 @@ Function1048ba: ; 1048ba (41:48ba)
|
|||||||
call WaitBGMap
|
call WaitBGMap
|
||||||
call Function105153
|
call Function105153
|
||||||
hlcoord 3, 8
|
hlcoord 3, 8
|
||||||
ld de, $49cd
|
ld de, String_1049cd
|
||||||
call PlaceString
|
call PlaceString
|
||||||
call WaitBGMap
|
call WaitBGMap
|
||||||
callba Function2c642
|
callba Function2c642
|
||||||
@ -109046,7 +109047,7 @@ Function1048ba: ; 1048ba (41:48ba)
|
|||||||
pop de
|
pop de
|
||||||
hlcoord 2, 8
|
hlcoord 2, 8
|
||||||
ld a, d
|
ld a, d
|
||||||
ld de, $49fd
|
ld de, UnknownText_0x1049fd
|
||||||
cp $10
|
cp $10
|
||||||
jp z, Function1049af
|
jp z, Function1049af
|
||||||
cp $6c
|
cp $6c
|
||||||
@ -109055,10 +109056,10 @@ Function1048ba: ; 1048ba (41:48ba)
|
|||||||
cp $3
|
cp $3
|
||||||
jr z, .asm_10492f
|
jr z, .asm_10492f
|
||||||
call Function104a25
|
call Function104a25
|
||||||
ld hl, $4a11
|
ld hl, UnknownText_0x104a11
|
||||||
jp nc, Function1049c5
|
jp nc, Function1049c5
|
||||||
call Function104a30
|
call Function104a30
|
||||||
ld hl, $4a16
|
ld hl, UnknownText_0x104a16
|
||||||
jp c, Function1049c5
|
jp c, Function1049c5
|
||||||
.asm_10492f
|
.asm_10492f
|
||||||
ld a, [$c962]
|
ld a, [$c962]
|
||||||
@ -109095,7 +109096,7 @@ Function1048ba: ; 1048ba (41:48ba)
|
|||||||
ld de, StringBuffer1 ; $d073
|
ld de, StringBuffer1 ; $d073
|
||||||
ld bc, $d
|
ld bc, $d
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
ld hl, $4a20
|
ld hl, UnknownText_0x104a20
|
||||||
jr Function1049c5
|
jr Function1049c5
|
||||||
.asm_104990
|
.asm_104990
|
||||||
call Function105106
|
call Function105106
|
||||||
@ -109107,24 +109108,24 @@ Function1048ba: ; 1048ba (41:48ba)
|
|||||||
ld [$d265], a
|
ld [$d265], a
|
||||||
call CloseSRAM
|
call CloseSRAM
|
||||||
call GetItemName
|
call GetItemName
|
||||||
ld hl, $4a1b
|
ld hl, UnknownText_0x104a1b
|
||||||
jr Function1049c5
|
jr Function1049c5
|
||||||
|
|
||||||
Function1049af: ; 1049af (41:49af)
|
Function1049af: ; 1049af (41:49af)
|
||||||
ld hl, $49fd
|
ld hl, UnknownText_0x1049fd
|
||||||
jr Function1049c5
|
jr Function1049c5
|
||||||
|
|
||||||
Function1049b4: ; 1049b4 (41:49b4)
|
Function1049b4: ; 1049b4 (41:49b4)
|
||||||
ld hl, $4a02
|
ld hl, UnknownText_0x104a02
|
||||||
call PrintText
|
call PrintText
|
||||||
jp Function1048ba
|
jp Function1048ba
|
||||||
|
|
||||||
Function1049bd: ; 1049bd (41:49bd)
|
Function1049bd: ; 1049bd (41:49bd)
|
||||||
ld hl, $4a07
|
ld hl, UnknownText_0x104a07
|
||||||
jr Function1049c5
|
jr Function1049c5
|
||||||
|
|
||||||
Function1049c2: ; 1049c2 (41:49c2)
|
Function1049c2: ; 1049c2 (41:49c2)
|
||||||
ld hl, $4a0c
|
ld hl, UnknownText_0x104a0c
|
||||||
|
|
||||||
Function1049c5: ; 1049c5 (41:49c5)
|
Function1049c5: ; 1049c5 (41:49c5)
|
||||||
call PrintText
|
call PrintText
|
||||||
@ -109133,7 +109134,53 @@ Function1049c5: ; 1049c5 (41:49c5)
|
|||||||
ret
|
ret
|
||||||
; 1049cd (41:49cd)
|
; 1049cd (41:49cd)
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$1049cd,$104a25 - $1049cd
|
String_1049cd: ; 1049cd
|
||||||
|
db "Press A to"
|
||||||
|
next "link IR-Device"
|
||||||
|
next "Press B to"
|
||||||
|
next "cancel it."
|
||||||
|
db "@"
|
||||||
|
; 1049fd
|
||||||
|
|
||||||
|
UnknownText_0x1049fd: ; 1049fd
|
||||||
|
text_jump UnknownText_0x1c0436
|
||||||
|
db "@"
|
||||||
|
; 104a02
|
||||||
|
|
||||||
|
UnknownText_0x104a02: ; 104a02
|
||||||
|
text_jump UnknownText_0x1c0454
|
||||||
|
db "@"
|
||||||
|
; 104a07
|
||||||
|
|
||||||
|
UnknownText_0x104a07: ; 104a07
|
||||||
|
text_jump UnknownText_0x1c046a
|
||||||
|
db "@"
|
||||||
|
; 104a0c
|
||||||
|
|
||||||
|
UnknownText_0x104a0c: ; 104a0c
|
||||||
|
text_jump UnknownText_0x1c048e
|
||||||
|
db "@"
|
||||||
|
; 104a11
|
||||||
|
|
||||||
|
UnknownText_0x104a11: ; 104a11
|
||||||
|
text_jump UnknownText_0x1c04a7
|
||||||
|
db "@"
|
||||||
|
; 104a16
|
||||||
|
|
||||||
|
UnknownText_0x104a16: ; 104a16
|
||||||
|
text_jump UnknownText_0x1c04c6
|
||||||
|
db "@"
|
||||||
|
; 104a1b
|
||||||
|
|
||||||
|
UnknownText_0x104a1b: ; 104a1b
|
||||||
|
text_jump UnknownText_0x1c04e9
|
||||||
|
db "@"
|
||||||
|
; 104a20
|
||||||
|
|
||||||
|
UnknownText_0x104a20: ; 104a20
|
||||||
|
text_jump UnknownText_0x1c04fa
|
||||||
|
db "@"
|
||||||
|
; 104a25
|
||||||
|
|
||||||
Function104a25: ; 104a25 (41:4a25)
|
Function104a25: ; 104a25 (41:4a25)
|
||||||
call Function105106
|
call Function105106
|
||||||
@ -110314,7 +110361,9 @@ Function10522e: ; 10522e (41:522e)
|
|||||||
jr asm_105238
|
jr asm_105238
|
||||||
; 105232 (41:5232)
|
; 105232 (41:5232)
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$105232,$105236 - $105232
|
Function105232: ; unreferenced
|
||||||
|
ld b, 6
|
||||||
|
jr asm_105238
|
||||||
|
|
||||||
Function105236: ; 105236 (41:5236)
|
Function105236: ; 105236 (41:5236)
|
||||||
ld b, $10
|
ld b, $10
|
||||||
@ -111016,11 +111065,7 @@ UpdateUsedMoves: ; 105ed0
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Mobile_HallOfFame2:: ; 0x105ef6
|
Mobile_HallOfFame2:: mobile ; 0x105ef6
|
||||||
ret
|
|
||||||
; 105ef7
|
|
||||||
|
|
||||||
Function105ef7: ; 105ef7
|
|
||||||
ld a, $5
|
ld a, $5
|
||||||
call GetSRAMBank
|
call GetSRAMBank
|
||||||
ld hl, GameTimeHours
|
ld hl, GameTimeHours
|
||||||
@ -111044,11 +111089,7 @@ Function105ef7: ; 105ef7
|
|||||||
ret
|
ret
|
||||||
; 105f33
|
; 105f33
|
||||||
|
|
||||||
Function105f33: ; 105f33
|
Function105f33: mobile ; 105f33
|
||||||
ret
|
|
||||||
; 105f34
|
|
||||||
|
|
||||||
Function105f34: ; 105f34
|
|
||||||
ld a, $5
|
ld a, $5
|
||||||
call GetSRAMBank
|
call GetSRAMBank
|
||||||
ld de, Buffer1
|
ld de, Buffer1
|
||||||
@ -111110,11 +111151,7 @@ Function105f34: ; 105f34
|
|||||||
ret
|
ret
|
||||||
; 105f79
|
; 105f79
|
||||||
|
|
||||||
Function105f79: ; 105f79
|
Function105f79: mobile ; 105f79
|
||||||
ret
|
|
||||||
; 105f7a
|
|
||||||
|
|
||||||
Function105f7a: ; 105f7a
|
|
||||||
ld a, $5
|
ld a, $5
|
||||||
call GetSRAMBank
|
call GetSRAMBank
|
||||||
ld a, [hProduct]
|
ld a, [hProduct]
|
||||||
@ -111143,11 +111180,7 @@ Function105f7a: ; 105f7a
|
|||||||
ret
|
ret
|
||||||
; 105f9f
|
; 105f9f
|
||||||
|
|
||||||
Function105f9f: ; 105f9f
|
Function105f9f: mobile ; 105f9f
|
||||||
ret
|
|
||||||
; 105fa0
|
|
||||||
|
|
||||||
Function105fa0: ; 105fa0
|
|
||||||
ld a, $5
|
ld a, $5
|
||||||
call GetSRAMBank
|
call GetSRAMBank
|
||||||
ld hl, $a070
|
ld hl, $a070
|
||||||
@ -111184,11 +111217,7 @@ Function105fa0: ; 105fa0
|
|||||||
ret
|
ret
|
||||||
; 105fd0
|
; 105fd0
|
||||||
|
|
||||||
Function105fd0: ; 105fd0
|
Function105fd0: mobile ; 105fd0
|
||||||
ret
|
|
||||||
; 105fd1
|
|
||||||
|
|
||||||
Function105fd1: ; 105fd1
|
|
||||||
ld a, $5
|
ld a, $5
|
||||||
call GetSRAMBank
|
call GetSRAMBank
|
||||||
ld hl, $a06f
|
ld hl, $a06f
|
||||||
@ -111200,11 +111229,7 @@ Function105fd1: ; 105fd1
|
|||||||
ret
|
ret
|
||||||
; 105fe3
|
; 105fe3
|
||||||
|
|
||||||
Function105fe3: ; 105fe3
|
Function105fe3: mobile ; 105fe3
|
||||||
ret
|
|
||||||
; 105fe4
|
|
||||||
|
|
||||||
Function105fe4: ; 105fe4
|
|
||||||
ld a, $5
|
ld a, $5
|
||||||
call GetSRAMBank
|
call GetSRAMBank
|
||||||
ld hl, $a076
|
ld hl, $a076
|
||||||
@ -111232,12 +111257,7 @@ Function105fe4: ; 105fe4
|
|||||||
ret
|
ret
|
||||||
; 106008
|
; 106008
|
||||||
|
|
||||||
|
Function106008: mobile ; 106008
|
||||||
Function106008: ; 106008
|
|
||||||
ret
|
|
||||||
; 106009
|
|
||||||
|
|
||||||
Function106009: ; 106009
|
|
||||||
ld a, $5
|
ld a, $5
|
||||||
call GetSRAMBank
|
call GetSRAMBank
|
||||||
ld hl, $a07a
|
ld hl, $a07a
|
||||||
@ -111267,214 +111287,144 @@ Function106009: ; 106009
|
|||||||
ret
|
ret
|
||||||
; 10602e
|
; 10602e
|
||||||
|
|
||||||
|
Function10602e: mobile ; 10602e (41:602e)
|
||||||
|
ld hl, $a010
|
||||||
|
jp Function106117
|
||||||
|
|
||||||
Function10602e: ; 10602e (41:602e)
|
Function106035: mobile ; 106035
|
||||||
ret
|
ld a, $5
|
||||||
; 10602f (41:602f)
|
call GetSRAMBank
|
||||||
|
ld a, [$aa8d]
|
||||||
|
and a
|
||||||
|
call CloseSRAM
|
||||||
|
ret nz
|
||||||
|
ld hl, $a014
|
||||||
|
jp Function106123
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$10602f,$106049 - $10602f
|
Function106049: mobile ; 106049
|
||||||
|
ld hl, $a018
|
||||||
|
jp Function10611d
|
||||||
|
|
||||||
Function106049: ; 106049
|
Function106050: mobile ; 106050
|
||||||
ret
|
|
||||||
; 10604a (41:604a)
|
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$10604a,$106050 - $10604a
|
|
||||||
|
|
||||||
|
|
||||||
Function106050: ; 106050
|
|
||||||
ret
|
|
||||||
; 106051
|
|
||||||
|
|
||||||
Function106051: ; 106051
|
|
||||||
ld a, [BattleType]
|
ld a, [BattleType]
|
||||||
cp BATTLETYPE_TUTORIAL
|
cp BATTLETYPE_TUTORIAL
|
||||||
ret z
|
ret z
|
||||||
ld hl, $a01b
|
ld hl, $a01b
|
||||||
jp Function10611d
|
jp Function10611d
|
||||||
; 10605d
|
|
||||||
|
|
||||||
|
Function10605d: mobile ; 10605d
|
||||||
Function10605d: ; 10605d
|
|
||||||
ret
|
|
||||||
; 10605e
|
|
||||||
|
|
||||||
Function10605e: ; 10605e
|
|
||||||
ld a, [BattleType]
|
ld a, [BattleType]
|
||||||
cp BATTLETYPE_TUTORIAL
|
cp BATTLETYPE_TUTORIAL
|
||||||
ret z
|
ret z
|
||||||
ld hl, $a01e
|
ld hl, $a01e
|
||||||
jp Function10611d
|
jp Function10611d
|
||||||
; 10606a
|
|
||||||
|
|
||||||
|
Function10606a: mobile ; 10606a
|
||||||
Function10606a: ; 10606a
|
|
||||||
ret
|
|
||||||
; 10606b
|
|
||||||
|
|
||||||
Function10606b: ; 10606b
|
|
||||||
ld hl, $a021
|
ld hl, $a021
|
||||||
jp Function10611d
|
jp Function10611d
|
||||||
; 106071
|
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$106071,$106078 - $106071
|
Function106071: mobile ; 106071
|
||||||
|
ld hl, $a024
|
||||||
|
jp Function10611d
|
||||||
|
|
||||||
Mobile_HallOfFame:: ; 0x106078
|
Mobile_HallOfFame:: mobile ; 0x106078
|
||||||
ret
|
|
||||||
|
|
||||||
Function106079: ; 106079
|
|
||||||
ld hl, $a027
|
ld hl, $a027
|
||||||
jp Function10611d
|
jp Function10611d
|
||||||
; 10607f
|
|
||||||
|
|
||||||
|
Function10607f: mobile ; 10607f (41:607f)
|
||||||
|
ld hl, $a02a
|
||||||
|
jp Function10611d
|
||||||
|
|
||||||
Function10607f: ; 10607f (41:607f)
|
Function106086: mobile ; 106086
|
||||||
ret
|
|
||||||
; 106080 (41:6080)
|
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$106080,$106086 - $106080
|
|
||||||
|
|
||||||
|
|
||||||
Function106086: ; 106086
|
|
||||||
ret
|
|
||||||
; 106087
|
|
||||||
|
|
||||||
Function106087: ; 106087
|
|
||||||
ld hl, $a02d
|
ld hl, $a02d
|
||||||
jp Function10611d
|
jp Function10611d
|
||||||
; 10608d
|
|
||||||
|
|
||||||
|
Function10608d: mobile ; 10608d (41:608d)
|
||||||
|
ld hl, $a030
|
||||||
|
jp Function10611d
|
||||||
|
|
||||||
Function10608d: ; 10608d (41:608d)
|
Function106094: mobile ; 106094
|
||||||
ret
|
|
||||||
; 10608e (41:608e)
|
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$10608e,$106094 - $10608e
|
|
||||||
|
|
||||||
|
|
||||||
Function106094: ; 106094
|
|
||||||
ret
|
|
||||||
; 106095
|
|
||||||
|
|
||||||
Function106095: ; 106095
|
|
||||||
ld hl, $a033
|
ld hl, $a033
|
||||||
jp Function10611d
|
jp Function10611d
|
||||||
; 10609b
|
|
||||||
|
|
||||||
Function10609b: ; 10609b
|
Function10609b: mobile ; 10609b
|
||||||
ret
|
ld hl, $a036
|
||||||
; 10609c (41:609c)
|
jp Function10611d
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$10609c,$1060a2 - $10609c
|
Function1060a2: mobile ; 1060a2
|
||||||
|
|
||||||
Function1060a2: ; 1060a2
|
|
||||||
ret
|
|
||||||
; 1060a3
|
|
||||||
|
|
||||||
Function1060a3: ; 1060a3
|
|
||||||
ld hl, $a039
|
ld hl, $a039
|
||||||
jp Function10611d
|
jp Function10611d
|
||||||
; 1060a9
|
|
||||||
|
|
||||||
|
Function1060a9: mobile ; 1060a9 (41:60a9)
|
||||||
|
ld hl, $a03c
|
||||||
|
jr Function10611d
|
||||||
|
|
||||||
Function1060a9: ; 1060a9 (41:60a9)
|
Function1060af: mobile ; 1060af
|
||||||
ret
|
ld hl, $a03f
|
||||||
; 1060aa (41:60aa)
|
jr Function10611d
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$1060aa,$1060af - $1060aa
|
Function1060b5: mobile ; 1060b5
|
||||||
|
ld hl, $a042
|
||||||
|
jr Function10611d
|
||||||
|
|
||||||
Function1060af: ; 1060af
|
Function1060bb: mobile ; 1060bb
|
||||||
ret
|
ld hl, $a045
|
||||||
; 1060b0
|
jr Function10611d
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$1060b0,$1060b5 - $1060b0
|
Function1060c1: mobile ; 1060c1
|
||||||
|
ld hl, $a048
|
||||||
|
jr Function10611d
|
||||||
|
|
||||||
Function1060b5: ; 1060b5
|
Function1060c7: mobile ; 1060c7
|
||||||
ret
|
ld hl, $a04b
|
||||||
; 1060b6
|
jr Function10611d
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$1060b6,$1060bb - $1060b6
|
Function1060cd: mobile ; 1060cd
|
||||||
|
ld hl, $a04e
|
||||||
|
jr Function106123
|
||||||
|
|
||||||
Function1060bb: ; 1060bb
|
Function1060d3: mobile ; 1060d3
|
||||||
ret
|
ld hl, $a051
|
||||||
; 1060bc
|
jr Function10611d
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$1060bc,$1060c1 - $1060bc
|
Function1060d9: mobile ; 1060df
|
||||||
|
ld hl, $a054
|
||||||
|
jr Function10611d
|
||||||
|
|
||||||
Function1060c1: ; 1060c1
|
Function1060df: mobile ; 1060df
|
||||||
ret
|
ld hl, $a057
|
||||||
; 1060c2
|
jr Function10611d
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$1060c2,$1060c7 - $1060c2
|
Function1060e5: mobile ; 1060e5
|
||||||
|
ld a, [hBattleTurn]
|
||||||
|
and a
|
||||||
|
ret nz
|
||||||
|
ld hl, $a05a
|
||||||
|
jr Function10611d
|
||||||
|
|
||||||
Function1060c7: ; 1060c7
|
Function1060ef: mobile ; 1060ef
|
||||||
ret
|
ld hl, $a05d
|
||||||
; 1060c8 (41:60c8)
|
jr Function10611d
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$1060c8,$1060cd - $1060c8
|
Function1060f5: mobile ; 1060f5
|
||||||
|
ld hl, $a060
|
||||||
|
jr Function10611d
|
||||||
|
|
||||||
Function1060cd: ; 1060cd
|
Function1060fb: mobile ; 1060fb
|
||||||
ret
|
ld hl, $a063
|
||||||
; 1060ce
|
jr Function10611d
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$1060ce,$1060d3 - $1060ce
|
Function106101: mobile ; 106101
|
||||||
|
|
||||||
|
|
||||||
Function1060d3: ; 1060d3
|
|
||||||
ret
|
|
||||||
; 1060d4
|
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$1060d4,$1060df - $1060d4
|
|
||||||
|
|
||||||
|
|
||||||
Function1060df: ; 1060df
|
|
||||||
ret
|
|
||||||
; 1060e0
|
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$1060e0,$1060e5 - $1060e0
|
|
||||||
|
|
||||||
Function1060e5: ; 1060e5
|
|
||||||
ret
|
|
||||||
; 1060e6 (41:60e6)
|
|
||||||
|
|
||||||
INCBIN "baserom.gbc", $1060e6, $1060ef - $1060e6
|
|
||||||
|
|
||||||
Function1060ef: ; 1060ef
|
|
||||||
ret
|
|
||||||
; 1060f0
|
|
||||||
|
|
||||||
INCBIN "baserom.gbc", $1060f0, $1060fb - $1060f0
|
|
||||||
|
|
||||||
|
|
||||||
Function1060fb: ; 1060fb
|
|
||||||
ret
|
|
||||||
; 1060fc
|
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$1060fc,$106101 - $1060fc
|
|
||||||
|
|
||||||
|
|
||||||
Function106101: ; 106101
|
|
||||||
ret
|
|
||||||
; 106102
|
|
||||||
|
|
||||||
Function106102: ; 106102
|
|
||||||
ld hl, $a066
|
ld hl, $a066
|
||||||
jr Function10611d
|
jr Function10611d
|
||||||
; 106107
|
; 106107
|
||||||
|
|
||||||
Function106107: ; 106107
|
Function106107: mobile ; 106107
|
||||||
ret
|
|
||||||
; 106108
|
|
||||||
|
|
||||||
Function106108: ; 106108
|
|
||||||
ld hl, $a069
|
ld hl, $a069
|
||||||
jr Function10611d
|
jr Function10611d
|
||||||
; 10610d
|
; 10610d
|
||||||
|
|
||||||
Function10610d: ; 10610d
|
Function10610d: mobile ; 10610d
|
||||||
ret
|
|
||||||
; 10610e
|
|
||||||
|
|
||||||
Function10610e: ; 10610e
|
|
||||||
ld a, [hBattleTurn]
|
ld a, [hBattleTurn]
|
||||||
and a
|
and a
|
||||||
ret nz
|
ret nz
|
||||||
@ -111540,7 +111490,13 @@ Function10612d: ; 10612d
|
|||||||
ret
|
ret
|
||||||
; 106155
|
; 106155
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$106155,$106162 - $106155
|
Function106155: mobile ; 106155
|
||||||
|
ld a, $5
|
||||||
|
call GetSRAMBank
|
||||||
|
call Function106162
|
||||||
|
call CloseSRAM
|
||||||
|
ret
|
||||||
|
; 106162
|
||||||
|
|
||||||
Function106162: ; 106162
|
Function106162: ; 106162
|
||||||
push de
|
push de
|
||||||
@ -111604,7 +111560,17 @@ Function10619d: ; 10619d (41:619d)
|
|||||||
ret
|
ret
|
||||||
; 1061b3 (41:61b3)
|
; 1061b3 (41:61b3)
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$1061b3,$1061c0 - $1061b3
|
Function1061b3: ; 1061b3
|
||||||
|
call Function10616e
|
||||||
|
ld hl, $a081
|
||||||
|
ld a, d
|
||||||
|
cp [hl]
|
||||||
|
ret nz
|
||||||
|
inc hl
|
||||||
|
ld a, e
|
||||||
|
cp [hl]
|
||||||
|
ret
|
||||||
|
; 1061c0
|
||||||
|
|
||||||
Function1061c0: ; 1061c0 (41:61c0)
|
Function1061c0: ; 1061c0 (41:61c0)
|
||||||
ld a, $1
|
ld a, $1
|
||||||
@ -111615,7 +111581,22 @@ Function1061c0: ; 1061c0 (41:61c0)
|
|||||||
ret
|
ret
|
||||||
; 1061cd (41:61cd)
|
; 1061cd (41:61cd)
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$1061cd,$1061ef - $1061cd
|
Function1061cd: ; 1061cd
|
||||||
|
ld hl, $a001
|
||||||
|
ld bc, $0082
|
||||||
|
xor a
|
||||||
|
call ByteFill
|
||||||
|
ld hl, $a07d
|
||||||
|
ld a, $3
|
||||||
|
ld [hli], a
|
||||||
|
ld [hl], $e8
|
||||||
|
call Function106162
|
||||||
|
ld hl, $a001
|
||||||
|
ld de, $a084
|
||||||
|
ld bc, $0082
|
||||||
|
call CopyBytes
|
||||||
|
ret
|
||||||
|
; 1061ef
|
||||||
|
|
||||||
|
|
||||||
Function1061ef:: ; 1061ef
|
Function1061ef:: ; 1061ef
|
||||||
@ -111656,30 +111637,30 @@ Function1061ef:: ; 1061ef
|
|||||||
ld a, b
|
ld a, b
|
||||||
ld [$ffbc], a
|
ld [$ffbc], a
|
||||||
ld a, c
|
ld a, c
|
||||||
cp $2
|
cp 2
|
||||||
jr z, .asm_10626a
|
jr z, .asm_10626a
|
||||||
ld de, $62ae
|
ld de, ._2
|
||||||
cp $3
|
cp 3
|
||||||
jr z, .asm_106256
|
jr z, .asm_106256
|
||||||
ld de, $62aa
|
ld de, ._3
|
||||||
cp $4
|
cp 4
|
||||||
jr z, .asm_106256
|
jr z, .asm_106256
|
||||||
ld de, $62a6
|
ld de, ._4
|
||||||
cp $5
|
cp 5
|
||||||
jr z, .asm_106256
|
jr z, .asm_106256
|
||||||
ld de, $62a2
|
ld de, ._5
|
||||||
cp $6
|
cp 6
|
||||||
jr z, .asm_106256
|
jr z, .asm_106256
|
||||||
ld de, $629e
|
ld de, ._6
|
||||||
cp $7
|
cp 7
|
||||||
jr z, .asm_106256
|
jr z, .asm_106256
|
||||||
ld de, $629a
|
ld de, ._7
|
||||||
cp $8
|
cp 8
|
||||||
jr z, .asm_106256
|
jr z, .asm_106256
|
||||||
ld de, $6296
|
ld de, ._8
|
||||||
cp $9
|
cp 9
|
||||||
jr z, .asm_106256
|
jr z, .asm_106256
|
||||||
ld de, $6292
|
ld de, ._9
|
||||||
|
|
||||||
.asm_106256
|
.asm_106256
|
||||||
inc de
|
inc de
|
||||||
@ -111700,12 +111681,12 @@ Function1061ef:: ; 1061ef
|
|||||||
jr nz, .asm_10625b
|
jr nz, .asm_10625b
|
||||||
|
|
||||||
.asm_10626a
|
.asm_10626a
|
||||||
ld c, $0
|
ld c, 0
|
||||||
ld a, [$ffb6]
|
ld a, [$ffb6]
|
||||||
.asm_10626e
|
.asm_10626e
|
||||||
cp $a
|
cp 10
|
||||||
jr c, .asm_106277
|
jr c, .asm_106277
|
||||||
sub $a
|
sub 10
|
||||||
inc c
|
inc c
|
||||||
jr .asm_10626e
|
jr .asm_10626e
|
||||||
|
|
||||||
@ -111719,13 +111700,13 @@ Function1061ef:: ; 1061ef
|
|||||||
jr .asm_106288
|
jr .asm_106288
|
||||||
|
|
||||||
.asm_106284
|
.asm_106284
|
||||||
ld a, $f6
|
ld a, "0"
|
||||||
add c
|
add c
|
||||||
ld [hl], a
|
ld [hl], a
|
||||||
|
|
||||||
.asm_106288
|
.asm_106288
|
||||||
call Function1062ff
|
call Function1062ff
|
||||||
ld a, $f6
|
ld a, "0"
|
||||||
add b
|
add b
|
||||||
ld [hli], a
|
ld [hli], a
|
||||||
pop de
|
pop de
|
||||||
@ -111733,8 +111714,15 @@ Function1061ef:: ; 1061ef
|
|||||||
ret
|
ret
|
||||||
; 106292
|
; 106292
|
||||||
|
|
||||||
INCBIN "baserom.gbc",$106292,$1062b2 - $106292
|
._9 dd 1000000000
|
||||||
|
._8 dd 100000000
|
||||||
|
._7 dd 10000000
|
||||||
|
._6 dd 1000000
|
||||||
|
._5 dd 100000
|
||||||
|
._4 dd 10000
|
||||||
|
._3 dd 1000
|
||||||
|
._2 dd 100
|
||||||
|
; 1062b2
|
||||||
|
|
||||||
Function1062b2: ; 1062b2
|
Function1062b2: ; 1062b2
|
||||||
ld c, $0
|
ld c, $0
|
||||||
|
Loading…
Reference in New Issue
Block a user