* extracted and added a bunch of assembly

This commit is contained in:
Mr Wint 2013-10-01 23:23:21 +02:00
parent 94d4c89e09
commit 255135d187
4 changed files with 41044 additions and 641 deletions

View File

@ -342,7 +342,56 @@ INCBIN "baserom.gbc",$109b9a,$18 ; ditto.pal
INCBIN "baserom.gbc",$109bb2,$18 ; igglybuff.pal
; 109bca
INCBIN "baserom.gbc", $109bca, $109c24 - $109bca
; known jump sources: 10989e (42:589e), 109964 (42:5964)
Function109bca: ; 109bca (42:5bca)
ld hl, $cf64
ld a, [hl]
cp $ff
jr z, .asm_109bed
and $3
ld e, a
inc a
and $3
ld [hl], a
ld a, [$cf65]
and $3
add a
add a
add e
add a
ld e, a
ld d, $0
ld hl, $5bf1
add hl, de
ld a, [hli]
ld h, [hl]
ld l, a
ret
.asm_109bed
ld hl, $ca00
ret
; 109bf1 (42:5bf1)
INCBIN "baserom.gbc",$109bf1,$109c11 - $109bf1
; known jump sources: 109a1b (42:5a1b)
Function109c11: ; 109c11 (42:5c11)
ld a, $40
ld hl, $c55a
call Function109c1c
ld hl, $c56e
; known jump sources: 109c16 (42:5c16)
Function109c1c: ; 109c1c (42:5c1c)
ld c, $8
.asm_109c1e
ld [hli], a
inc a
dec c
jr nz, .asm_109c1e
ret
; 109c24 (42:5c24)
CreditsGFX:
INCBIN "gfx/credits/border.2bpp"

View File

@ -2,7 +2,7 @@ ClearBox: ; fb6
; Fill a c*b box at hl with blank tiles.
ld a, " "
.y
Functionfb8:
push bc
push hl
.x
@ -14,7 +14,7 @@ ClearBox: ; fb6
add hl, bc
pop bc
dec b
jr nz, .y
jr nz, Functionfb8
ret
; fc8

View File

@ -192,7 +192,7 @@ Function658: ; 658
ld [StringBuffer2], a
ld a, $0
ld [$d089], a
jr .asm_677
jr Function677
call UpdateTime
ld a, [hHours]
@ -201,9 +201,9 @@ Function658: ; 658
ld [$d088], a
ld a, [hSeconds]
ld [$d089], a
jr .asm_677
jr Function677
.asm_677
Function677
ld a, $5
ld hl, $40ed
rst FarCall

40848
main.asm

File diff suppressed because it is too large Load Diff