More labels in code and some mobile datatracking.

This commit is contained in:
yenatch 2015-01-01 20:59:08 -08:00
parent 7b71a12ed1
commit 7b87e67a89
5 changed files with 474 additions and 33 deletions

View File

@ -190,7 +190,7 @@ Function8b4d: ; 8b4d
ld a, [hSGB]
and a
ret z
ld hl, $5c26
ld hl, PalPacket_9c26
jp Function9809
.asm_8b5c
@ -206,7 +206,7 @@ Function8b67: ; 8b67
ld a, [hSGB]
and a
ret z
ld hl, $5c36
ld hl, PalPacket_9c36
jp Function9809
.asm_8b76
@ -2155,6 +2155,7 @@ Palettes_b469: ; b469
RGB 31, 07, 01
RGB 00, 00, 00
Palette_b471::
RGB 28, 31, 16
RGB 31, 19, 10
RGB 10, 09, 31

View File

@ -258,8 +258,8 @@ Function109926: ; 109926
ld a, [$cf63]
and $f
ld e, a
ld d, $0
ld hl, $5937
ld d, 0
ld hl, Jumptable_109937
add hl, de
add hl, de
ld a, [hli]

View File

@ -39,6 +39,11 @@ dbbw: MACRO
dw \3
ENDM
dbwww: MACRO
db \1
dw \2, \3, \4
ENDM
dn: MACRO
db (\1) << 4 + (\2)
ENDM

483
main.asm

File diff suppressed because it is too large Load Diff

View File

@ -740,22 +740,22 @@ Function17abcf: ; 17abcf (5e:6bcf)
push af
ld a, $5
ld [rSVBK], a ; $ff00+$70
ld hl, $6c55
ld hl, Palette_17ac55
ld de, Unkn1Pals ; $d000
ld bc, $30
call CopyBytes
ld hl, $6c95
ld hl, Palette_17ac95
ld de, Unkn2Pals
ld bc, $40
call CopyBytes
ld hl, $74b5
ld hl, GFX_17afa5 + $510
ld de, $d048
ld bc, $10
call CopyBytes
ld hl, $7471
ld hl, Palette_b471
ld de, $d058
ld bc, $8
ld a, $2
ld a, BANK(Palette_b471)
call FarCopyBytes
pop af
ld [rSVBK], a ; $ff00+$70