Move radio code to its own file

This commit is contained in:
PikalaxALT
2015-07-21 01:52:46 -04:00
parent 5631bdc0d7
commit d5ddd9e54e
7 changed files with 2129 additions and 2128 deletions

View File

@@ -420,7 +420,7 @@ EnterMapMusic:: ; 3d03
ret
; 3d2f
Function3d2f:: ; 3d2f
TryRestartMapMusic:: ; 3d2f
ld a, [wc2c1]
and a
jr z, RestartMapMusic

View File

@@ -91,7 +91,7 @@ UpdateBattleMonInParty:: ; 399c
ld a, [CurBattleMon]
Function399f:: ; 399f
UpdateBattleMon:: ; 399f
ld hl, PartyMon1Level
call GetPartyLocation
@@ -262,7 +262,7 @@ endr
; 3a90
Function3a90:: ; 3a90
FarJumpText:: ; 3a90
inc hl
ld a, [hROMBank]
push af

View File

@@ -56,7 +56,7 @@ Functiondfd:: ; dfd
ld a, b
rst Bankswitch
.asm_e09
.loop
ld a, d
ld [rHDMA1], a
ld a, e
@@ -70,27 +70,27 @@ Functiondfd:: ; dfd
ld [rHDMA4], a
ld a, c
cp $8
jr c, .asm_e3c
jr c, .done
sub $8
ld c, a
ld a, $f
ld [hDMATransfer], a
call DelayFrame
ld a, l
add $0
add 0
ld l, a
ld a, h
adc $1
adc 1
ld h, a
ld a, e
add $0
add 0
ld e, a
ld a, d
adc $1
adc 1
ld d, a
jr .asm_e09
jr .loop
.asm_e3c
.done
ld a, c
and $7f
ld [hDMATransfer], a