gb-tarot/20Judgement.inc

485 lines
18 KiB
PHP

Judgement:
db 10, "THE METEOR"
db 10, " "
db 9, "judgement"
db 9, "renewal "
db 9, "finality "
dw .BackgroundCopyEnd - .BackgroundCopy
dw .BackgroundCopy
dw .KeyArtTilesEnd - .KeyArtTiles
dw .KeyArtTiles
dw .SpriteTilesEnd - .SpriteTiles
dw .SpriteTiles
dw .fInit
dw .fUpdate
dw .fDraw
.fInit:
ld hl, CVS
ld a, 0
ld [hl+], a ; CVS timer
ld [hl+], a ;
ld [hl+], a ; CVS + 2 frame index for various sparks
ld a, %00_00_00_00
ld [rOBP0], a
ret
.fUpdate:
ld hl, CVS
call IncrementTimer
ld a, [CVS+1] ; checking the high byte of the timer
cp a, $01 ; $10 = 1 second, $02 = 1/8 of a second
ret c
ld a, 0 ; reset timer
ld [CVS], a
ld [CVS+1], a
ld hl, .spark1Anim
ld a, [CVS+2]
inc a
call ArrayClampLooping
ld [CVS+2], a
ld a, [CVS+2]
ld hl, .spark1Anim
ld d, 1
ld e, 0
call .drawSpark
ld a, [CVS+2]
ld hl, .spark2Anim
ld d, 5
ld e, 1
call .drawSpark
ld a, [CVS+2]
ld hl, .spark3Anim
ld d, 5
ld e, 2
call .drawSpark
ld hl, .spark4Anim
ld a, [CVS+2]
ld d, 5
ld e, 3
call .drawSpark
ld hl, .spark5Anim
ld a, [CVS+2]
ld d, 5
ld e, 4
call .drawSpark
ld hl, .spark6Anim
ld a, [CVS+2]
ld d, 1
ld e, 5
call .drawSpark
ld hl, .spark7Anim
ld a, [CVS+2]
ld d, 1
ld e, 6
call .drawSpark
ld hl, .spark8Anim
ld a, [CVS+2]
ld d, 1
ld e, 7
call .drawSpark
ld hl, .spark9Anim
ld a, [CVS+2]
ld d, 5
ld e, 8
call .drawSpark
ld hl, .spark10Anim
ld a, [CVS+2]
ld d, 1
ld e, 9
call .drawSpark
ld hl, .spark11Anim
ld a, [CVS+2]
ld d, 1
ld e, 10
call .drawSpark
ld hl, .spark12Anim
ld a, [CVS+2]
ld d, 5
ld e, 11
call .drawSpark
ld hl, .spark13Anim
ld a, [CVS+2]
ld d, 5
ld e, 12
call .drawSpark
ld hl, .spark14Anim
ld a, [CVS+2]
ld d, 5
ld e, 13
call .drawSpark
ld a, [CVS+2]
and a, $03
sla a
sla a
sla a
ld b, 0
ld c, a
ld hl, .smash
add hl, bc
ld de, MY_OAM + 14*4
ld b, (2+1+7)*8
ld c, (1+1+2)*8
ld a, $24
call BuildMetaSprite
ld hl, ZEROES
ld de, MY_OAM + 20*4
ld bc, 20*4
call CopyRange
ld a, [CVS+2]
and a, %0000_0110
sra a
cp a, 0
jp nz, :+
ld hl, .tail1
: cp a, 1
jp nz, :+
ld hl, .tail2
: cp a, 2
jp nz, :+
ld hl, .tail3
: cp a, 3
jp nz, :+
ld hl, .tail4
:
ld de, MY_OAM + 20*4
ld b, (2+1+0)*8
ld c, (1+1+4)*8
ld a, $74
call BuildMetaSpritePacked
ret
.fDraw: ret
.drawSpark:
; hl should point to a curve animation
; d should be the offset into the tile IDs for the sprite animation?
; e should be the sprite ID number
; a is the index into the curve
ld b, 0
ld c, a
inc hl
add hl, bc
add hl, bc
ld b, [hl]
inc hl
ld c, [hl]
and a, $03
add a, d ; get a tile ID from the animation index
ld hl, MY_OAM
ld d, 0
add hl, de
add hl, de
add hl, de
add hl, de ; step forward by 4*e steps to get the e'th OAM slot
ld [hl], b
inc hl
ld [hl], c
inc hl
ld [hl], a
ret
.spark1Anim
db 16, 0, 0, 87, 50, 83, 53, 79, 56, 72, 57, 66, 57, 61, 57, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
.spark2Anim
db 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 83, 37, 78, 32, 74, 27, 70, 23, 66, 19, 62, 15, 0, 0, 0, 0,
.spark3Anim
db 16, 93, 75, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 89, 50, 91, 55, 91, 61, 92, 67, 93, 71,
.spark4Anim
db 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 85, 35, 83, 27, 80, 21, 78, 16, 0, 0, 0, 0, 0, 0, 0, 0,0, 0, 0, 0,
.spark5Anim
db 16, 110, 70, 114, 74, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 91, 51, 94, 55, 100, 60, 105, 65,
.spark6Anim
db 16, 0, 0, 0, 0, 0, 0, 0, 0, 81, 42, 75, 39, 67, 41, 58, 44, 52, 47, 44, 51, 35, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
.spark7Anim
db 16, 90, 45, 90, 43, 88, 40, 85, 37, 78, 32, 67, 27, 57, 23, 48, 20, 39, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
.spark8Anim
db 16, 78, 72, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 90, 47, 91, 51, 91, 54, 87, 61,
.spark9Anim
db 16, 0, 0, 0, 0, 90, 46, 94, 52, 97, 60, 100, 66, 103, 72, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
.spark10Anim
db 16, 89, 44, 87, 40, 84, 34, 82, 26, 81, 17, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0,
.spark11Anim
db 16, 68, 19, 63, 16, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 88, 41, 86, 36, 81, 32, 76, 28, 71, 24,
.spark12Anim
db 16, 70, 36, 62, 33, 54, 29, 45, 25, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 86, 44, 79, 39,
.spark13Anim
db 16, 0, 1, 0, 1, 0, 1, 0, 1, 89, 43, 91, 49, 93, 55, 95, 62, 96, 72, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1,
.spark14Anim
db 16, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 89, 44, 95, 49, 99, 54, 104, 61, 0, 1, 0, 1, 0, 1,
.smash ; $24, 8 tiles
db $15, $16, $00, $00
db $17, $18, $19, $1a
db $09, $0a, $00, $00
db $0b, $0c, $0d, $0e
db $0f, $10, $00, $00
db $11, $12, $13, $14
db $1b, $1c, $00, $00
db $1d, $1e, $1f, $20
.tail1 ; $74
db $00, $00, $00, $00
db $00, $00, $00, $00
db $00, $00, $00, $00
db $00, $31, $33, $00
db $28, $32, $35, $00
db $30, $36, $00, $00
db $34, $37, $00, $00
.tail2
db $00, $00, $00, $00
db $00, $00, $00, $00
db $00, $00, $38, $00
db $00, $39, $3a, $00
db $3b, $3c, $3e, $00
db $3d, $3f, $40, $00
db $34, $41, $00, $00
.tail3
db $00, $00, $00, $00
db $00, $00, $26, $27
db $00, $28, $29, $2a
db $00, $25, $2b, $00
db $23, $24, $2c, $00
db $21, $2d, $2e, $00
db $22, $2f, $00, $00
.tail4
db $00, $00, $00, $00
db $00, $00, $00, $00
db $00, $00, $42, $00
db $00, $43, $3a, $00
db $44, $24, $46, $00
db $45, $2d, $47, $00
db $22, $48, $00, $00
.SpriteTiles:
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $08,$00,$18,$00,$38,$00,$3c,$00,$1c,$00,$0c,$00,$0c,$00,$04,$00
db $00,$00,$10,$00,$1c,$00,$0e,$00,$0c,$00,$1c,$00,$38,$00,$00,$00
db $00,$00,$06,$00,$0e,$00,$1c,$00,$38,$00,$30,$00,$30,$00,$10,$00
db $00,$00,$18,$00,$30,$00,$30,$00,$30,$00,$3c,$00,$1c,$00,$08,$00
db $00,$00,$00,$00,$00,$20,$00,$30,$00,$30,$00,$3f,$00,$3e,$00,$1c
db $00,$00,$00,$40,$00,$70,$00,$38,$00,$38,$00,$3c,$00,$06,$00,$00
db $00,$00,$00,$60,$00,$3e,$00,$1e,$00,$06,$00,$0c,$00,$08,$00,$00
db $00,$40,$00,$40,$00,$60,$00,$38,$00,$38,$00,$1c,$00,$06,$00,$02
db $00,$00,$00,$00,$00,$00,$00,$00,$0d,$0d,$07,$07,$27,$27,$1f,$1f
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$80,$80,$e0,$e0,$70,$70
db $0f,$0f,$03,$03,$07,$07,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $fc,$fc,$fc,$fc,$ff,$ff,$7f,$7f,$3f,$3f,$03,$03,$03,$03,$00,$00
db $00,$00,$00,$00,$f0,$f0,$ff,$ff,$ff,$ff,$fe,$fe,$ff,$ff,$0e,$0e
db $00,$00,$60,$60,$80,$80,$00,$00,$e0,$e0,$c0,$c0,$c0,$c0,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$05,$05,$07,$07,$07,$07
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$c0,$c0,$c0,$c0
db $03,$03,$07,$07,$33,$33,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $f0,$f0,$f8,$f8,$fc,$fc,$ff,$ff,$3f,$3f,$07,$07,$03,$03,$00,$00
db $00,$00,$00,$00,$00,$00,$e7,$e7,$fe,$fe,$ff,$ff,$ff,$ff,$01,$01
db $00,$00,$00,$00,$c0,$c0,$00,$00,$00,$00,$00,$00,$80,$80,$e0,$e0
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0c,$0c,$02,$02,$07,$07
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$80,$80,$e0,$e0
db $1a,$1a,$0b,$0b,$03,$03,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $f8,$f8,$fc,$fc,$ff,$ff,$7f,$7f,$3f,$3f,$0f,$0f,$00,$00,$00,$00
db $00,$00,$00,$00,$80,$80,$e0,$e0,$fc,$fc,$ff,$ff,$fc,$fc,$7f,$7f
db $00,$00,$00,$00,$00,$00,$08,$08,$00,$00,$e0,$e0,$00,$00,$50,$50
db $00,$00,$00,$00,$01,$01,$02,$02,$23,$23,$39,$39,$1d,$1d,$0f,$0f
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$c0,$c0,$e0,$e0
db $7f,$7f,$1b,$1b,$07,$07,$01,$01,$00,$00,$00,$00,$00,$00,$00,$00
db $fc,$fc,$ff,$ff,$ff,$ff,$ff,$ff,$7f,$7f,$01,$01,$00,$00,$00,$00
db $00,$00,$00,$00,$1f,$1f,$ff,$ff,$ff,$ff,$ff,$ff,$7e,$7e,$07,$07
db $00,$00,$00,$00,$c0,$c0,$00,$00,$80,$80,$80,$80,$20,$20,$00,$00
db $0f,$0f,$0f,$0f,$1f,$1f,$3f,$3f,$7f,$7f,$7f,$7f,$7f,$7f,$ff,$ff
db $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$07,$07,$03,$03
db $00,$00,$00,$00,$00,$00,$01,$01,$03,$03,$03,$03,$07,$07,$07,$07
db $7f,$7f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff
db $03,$03,$07,$07,$0f,$0f,$0f,$0f,$1f,$1f,$3f,$3f,$3f,$3f,$7f,$7f
db $00,$00,$00,$00,$00,$00,$00,$00,$01,$01,$03,$03,$07,$07,$07,$07
db $00,$00,$40,$40,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$01,$03,$03
db $0f,$0f,$1f,$1f,$3f,$3f,$7f,$7f,$7f,$7f,$ff,$ff,$ff,$ff,$ff,$ff
db $80,$80,$80,$80,$80,$80,$80,$80,$80,$80,$00,$00,$00,$00,$00,$00
db $ff,$ff,$ff,$ff,$fe,$fe,$fe,$fe,$fe,$fe,$fe,$fe,$fc,$fc,$fc,$fc
db $fc,$fc,$fc,$fc,$f8,$f8,$f8,$f8,$f0,$f0,$f0,$f0,$f0,$f0,$e0,$e0
db $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$fe
db $e0,$e0,$e0,$e0,$c0,$c0,$c0,$c0,$80,$80,$80,$80,$00,$00,$00,$00
db $fe,$fe,$fc,$fc,$fc,$fc,$f8,$f8,$f0,$f0,$f0,$f0,$e0,$e0,$c0,$c0
db $03,$03,$07,$07,$07,$07,$0f,$0f,$0f,$0f,$3f,$3f,$3f,$3f,$7f,$7f
db $00,$00,$00,$00,$00,$00,$01,$01,$03,$03,$07,$07,$07,$07,$0f,$0f
db $1f,$1f,$1f,$1f,$3f,$3f,$7f,$7f,$7f,$7f,$ff,$ff,$ff,$ff,$ff,$ff
db $20,$20,$60,$60,$e0,$e0,$e0,$e0,$e0,$e0,$e0,$e0,$c0,$c0,$c0,$c0
db $7f,$7f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$07,$07,$03,$03
db $c0,$c0,$c0,$c0,$c0,$c0,$80,$80,$80,$80,$80,$80,$80,$80,$00,$00
db $ff,$ff,$ff,$ff,$ff,$ff,$fe,$fe,$fe,$fe,$fc,$fc,$fc,$fc,$f8,$f8
db $f8,$f8,$f0,$f0,$f0,$f0,$e0,$e0,$e0,$e0,$c0,$c0,$c0,$c0,$00,$00
db $00,$00,$02,$02,$0e,$0e,$1e,$1e,$3e,$3e,$3e,$3e,$7e,$7e,$fc,$fc
db $00,$00,$01,$01,$03,$03,$07,$07,$0f,$0f,$0f,$0f,$1f,$1f,$3f,$3f
db $fc,$fc,$fc,$fc,$fc,$fc,$fc,$fc,$f8,$f8,$f8,$f8,$f8,$f8,$f8,$f8
db $00,$00,$00,$00,$00,$00,$01,$01,$03,$03,$03,$03,$03,$03,$07,$07
db $3f,$3f,$7f,$7f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff
db $07,$07,$0f,$0f,$1f,$1f,$3f,$3f,$3f,$3f,$7f,$7f,$7f,$7f,$7f,$7f
db $f0,$f0,$f0,$f0,$f0,$f0,$e0,$e0,$e0,$e0,$e0,$e0,$e0,$e0,$c0,$c0
db $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$fe,$fe,$fe,$fc,$fc,$f8,$f8
db $c0,$c0,$80,$80,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $f8,$f8,$f0,$f0,$f0,$f0,$f0,$f0,$e0,$e0,$e0,$e0,$e0,$e0,$c0,$c0
db $03,$03,$06,$06,$0e,$0e,$0e,$0e,$1e,$1e,$7e,$7e,$fc,$fc,$fc,$fc
db $01,$01,$03,$03,$07,$07,$07,$07,$0f,$0f,$1f,$1f,$3f,$3f,$7f,$7f
db $00,$00,$00,$00,$01,$01,$01,$01,$03,$03,$03,$03,$07,$07,$0f,$0f
db $0f,$0f,$1f,$1f,$3f,$3f,$3f,$3f,$3f,$3f,$7f,$7f,$7f,$7f,$ff,$ff
db $f8,$f8,$f8,$f8,$f8,$f8,$f0,$f0,$f0,$f0,$f0,$f0,$f0,$f0,$e0,$e0
db $c0,$c0,$c0,$c0,$80,$80,$80,$80,$80,$80,$00,$00,$00,$00,$00,$00
db $fc,$fc,$fc,$fc,$f8,$f8,$f0,$f0,$f0,$f0,$e0,$e0,$c0,$c0,$80,$80
.SpriteTilesEnd:
; original export script by gabriel reis, modified by shoofle
; sparks flying off
; original export script by gabriel reis, modified by shoofle
.KeyArtTiles:
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $0f,$ff,$1f,$ff,$1f,$ff,$3d,$ff,$7f,$ff,$7f,$ff,$ff,$ff,$bc,$ff
db $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$f1,$ff,$7c,$ff
db $fb,$ff,$7a,$ff,$77,$ff,$27,$ff,$06,$ff,$0e,$ff,$08,$ff,$00,$ff
db $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$e7,$ff,$80,$ff,$00,$ff
db $e3,$fc,$f1,$fe,$f8,$ff,$f8,$ff,$f8,$ff,$f0,$ff,$e0,$ff,$00,$ff
db $00,$ff,$00,$ff,$00,$ff,$80,$7f,$7f,$80,$30,$cf,$00,$ff,$00,$ff
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$fe,$01,$63,$9c,$01,$fe,$00,$ff
db $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fc,$fc,$f8,$f8,$e0,$e0
db $ff,$ff,$ff,$ff,$ff,$ff,$c0,$c0,$00,$00,$00,$00,$07,$00,$3f,$00
db $80,$f3,$e0,$ff,$c0,$c3,$00,$00,$00,$00,$30,$00,$ff,$00,$ff,$00
db $00,$1c,$00,$f1,$00,$c3,$01,$fe,$00,$03,$00,$00,$b8,$00,$ff,$00
db $7f,$70,$7f,$80,$ff,$00,$ff,$07,$3c,$fc,$00,$00,$1c,$00,$f7,$00
db $ff,$00,$ff,$00,$ff,$00,$ff,$ff,$1f,$1f,$07,$07,$03,$03,$80,$40
db $ff,$ff,$ff,$ff,$fe,$fe,$fc,$fc,$f8,$f8,$f0,$f0,$e0,$e0,$c1,$c0
db $c0,$c0,$80,$80,$03,$00,$0f,$00,$3f,$00,$7f,$00,$ff,$00,$ff,$00
db $7f,$7f,$1f,$1f,$0f,$0f,$03,$03,$01,$81,$80,$e0,$c0,$f0,$f0,$f8
db $81,$80,$83,$80,$07,$00,$0f,$00,$0f,$00,$1d,$02,$1f,$00,$00,$3f
db $ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00
db $ff,$00,$fe,$00,$ff,$00,$ff,$00,$fe,$01,$f8,$07,$00,$ff,$00,$ff
db $d8,$fc,$e0,$fc,$c0,$fc,$60,$ff,$30,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $ff,$00,$fc,$03,$f0,$0f,$e1,$1f,$83,$7f,$87,$7f,$1f,$ff,$3f,$ff
db $ff,$00,$00,$ff,$70,$ff,$f8,$ff,$70,$ff,$e0,$ff,$c0,$ff,$f0,$ff
db $80,$7f,$c0,$3f,$60,$9f,$30,$cf,$18,$e7,$0c,$f3,$04,$fb,$04,$fb
db $04,$fb,$0c,$f3,$08,$f7,$18,$e7,$18,$e7,$08,$f7,$0c,$f3,$06,$f9
db $00,$ff,$e0,$1f,$38,$c7,$0f,$f0,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$f8,$07,$c0,$3f,$80,$7f
db $ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$00,$ff,$00,$ff,$00,$ff
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$80,$7f,$80,$7f
db $8e,$ff,$f8,$ff,$f0,$ff,$80,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $7f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$df,$ff,$ff,$ff,$ff,$ff
db $f8,$ff,$f8,$ff,$f8,$ff,$f8,$ff,$f8,$ff,$f8,$ff,$fc,$ff,$ff,$ff
db $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff
db $00,$3f,$00,$ff,$01,$ff,$03,$ff,$03,$ff,$07,$ff,$0f,$ff,$0f,$ff
db $80,$60,$80,$78,$80,$7c,$18,$ff,$0f,$ff,$0f,$ff,$1f,$ff,$0f,$ff
db $93,$9f,$82,$9e,$c0,$dc,$c1,$58,$c1,$58,$81,$58,$80,$4c,$80,$66
db $1c,$1c,$0c,$0c,$e7,$07,$13,$03,$13,$43,$12,$03,$e1,$07,$00,$0e
db $80,$80,$80,$80,$80,$80,$80,$80,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$01,$01,$01,$01,$01
db $01,$01,$03,$03,$03,$03,$03,$03,$07,$07,$07,$07,$07,$07,$07,$07
db $07,$07,$07,$07,$07,$07,$0f,$0f,$0e,$0e,$0e,$0e,$0e,$0e,$0b,$0f
db $ff,$03,$ff,$07,$ff,$0f,$fe,$3e,$f8,$78,$e0,$e0,$80,$80,$00,$00
db $fc,$fc,$f0,$f0,$e0,$e0,$c0,$c0,$80,$80,$00,$00,$00,$00,$00,$00
db $00,$00,$01,$01,$01,$01,$03,$03,$0f,$0f,$1f,$1f,$3f,$3e,$7f,$7c
db $70,$70,$e0,$e0,$c0,$c0,$80,$80,$80,$80,$03,$03,$07,$07,$1f,$1e
db $01,$01,$03,$03,$0f,$0f,$3f,$3f,$ff,$fc,$ff,$e0,$ff,$00,$ff,$00
db $ff,$f8,$ff,$f8,$ff,$fc,$ff,$fc,$ff,$fc,$ff,$fe,$ff,$fe,$ff,$fe
db $ff,$e1,$ff,$f0,$ff,$f0,$ff,$f8,$ff,$fc,$ff,$fe,$ff,$fe,$ff,$ff
db $ff,$f8,$ff,$f0,$ff,$c0,$ff,$80,$ff,$00,$ff,$00,$ff,$00,$ff,$00
db $ff,$01,$ff,$03,$ff,$07,$ff,$07,$ff,$0f,$ff,$1f,$ff,$1f,$ff,$3f
db $ff,$f0,$ff,$f0,$ff,$f0,$ff,$f0,$ff,$f0,$ff,$f0,$ff,$f0,$ff,$e0
db $ff,$7f,$ff,$7f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff
db $ff,$1f,$ff,$3f,$ff,$3f,$ff,$3f,$ff,$7f,$ff,$ff,$ff,$ff,$ff,$ff
db $ff,$c3,$ff,$c3,$ff,$c7,$ff,$c7,$ff,$cf,$ff,$cf,$ff,$df,$ff,$ff
db $ff,$fe,$ff,$fe,$ff,$fe,$ff,$fe,$ff,$fe,$ff,$fe,$ff,$fc,$ff,$fc
db $ff,$f8,$ff,$f8,$ff,$f0,$ff,$e0,$ff,$e0,$ff,$e1,$ff,$e7,$fe,$ce
db $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$fe,$fe,$fc,$fc,$f8,$f8
db $f8,$f8,$f8,$f8,$f0,$f0,$f0,$f0,$f0,$f0,$e0,$e0,$e0,$e0,$e0,$e0
db $e0,$e0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$80,$80
db $ff,$e0,$ff,$e0,$ff,$c0,$ff,$c0,$ff,$c0,$ff,$c0,$ff,$c0,$ff,$c0
db $ff,$3f,$ff,$3f,$ff,$3f,$ff,$3f,$ff,$3f,$ff,$3f,$ff,$3f,$ff,$3f
db $ff,$c0,$ff,$c0,$ff,$c0,$ff,$c0,$ff,$c0,$ff,$c0,$ff,$c0,$ff,$e0
db $ff,$3f,$ff,$3f,$ff,$3f,$ff,$3f,$ff,$3f,$ff,$3f,$ff,$1f,$ff,$1f
db $ff,$e0,$ff,$e0,$ff,$e0,$ff,$e0,$ff,$e0,$ff,$f0,$ff,$f0,$ff,$f0
db $ff,$f0,$ff,$f0,$ff,$f0,$ff,$f0,$ff,$f0,$ff,$f8,$ff,$f8,$ff,$f8
db $ff,$0f,$ff,$07,$ff,$87,$ff,$87,$ff,$87,$ff,$87,$ff,$c3,$ff,$c3
db $ff,$00,$ff,$03,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff
db $ff,$1f,$ff,$1f,$fe,$1e,$fe,$1e,$fe,$1e,$fe,$1e,$fe,$1e,$fe,$1e
db $fe,$1e,$fe,$1e,$fe,$1e,$fe,$1e,$fe,$1e,$fe,$1e,$fe,$1e,$fe,$1e
db $ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$10,$ff,$30,$ff,$70,$ff,$f0
db $ff,$f0,$ff,$e0,$ff,$e0,$ff,$e0,$ff,$e0,$ff,$e0,$ff,$e0,$ff,$e0
db $ff,$00,$ff,$00,$ff,$00,$ff,$01,$ff,$03,$ff,$03,$ff,$07,$ff,$0f
db $ff,$e0,$ff,$e0,$ff,$e0,$ff,$c0,$ff,$c0,$ff,$c0,$ff,$c1,$ff,$c1
db $7f,$70,$ff,$f8,$ff,$f8,$ff,$f8,$ff,$f0,$ff,$f0,$ff,$f0,$ff,$f0
db $3f,$38,$3f,$38,$3f,$38,$3f,$38,$3f,$38,$7f,$70,$7f,$70,$7f,$70
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$20,$ff,$a0,$ff,$b0,$ff,$b0,$ff
db $f0,$ff,$f0,$ff,$f8,$ff,$7e,$ff,$6f,$ff,$7f,$ff,$3f,$ff,$3f,$ff
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$c0,$ff,$70,$ff,$bc,$ff
db $01,$ff,$01,$ff,$01,$ff,$01,$ff,$03,$ff,$03,$ff,$03,$ff,$03,$ff
db $07,$ff,$1f,$ff,$3f,$ff,$3f,$ff,$ff,$ff,$fd,$ff,$fb,$ff,$de,$ff
db $00,$ff,$ff,$00,$82,$7d,$c6,$39,$44,$bb,$6c,$93,$28,$d7,$38,$c7
db $00,$ff,$ff,$00,$41,$be,$63,$9c,$22,$dd,$36,$c9,$14,$eb,$1c,$e3
db $00,$ff,$80,$7f,$07,$ff,$0f,$ff,$0f,$ff,$1f,$ff,$10,$ff,$00,$ff
db $00,$ff,$00,$ff,$c0,$ff,$c0,$ff,$c0,$ff,$80,$ff,$00,$ff,$00,$ff
db $10,$ef,$38,$c7,$28,$d7,$6c,$93,$44,$bb,$c6,$39,$ff,$00,$00,$ff
db $08,$f7,$1c,$e3,$14,$eb,$36,$c9,$22,$dd,$63,$9c,$ff,$00,$00,$ff
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$80,$7f,$00,$ff
db $ff,$c0,$ff,$c0,$ff,$80,$ff,$80,$ff,$00,$ff,$00,$ff,$00,$ff,$00
db $fe,$1e,$fe,$1e,$fe,$1e,$fe,$1e,$fe,$1e,$fe,$1e,$fe,$0e,$fe,$0e
db $ff,$fe,$ff,$fc,$ff,$fc,$ff,$fc,$ff,$f8,$ff,$f8,$ff,$f0,$ff,$f0
db $ff,$1f,$ff,$1f,$ff,$1f,$ff,$1f,$ff,$1f,$ff,$1f,$ff,$1f,$ff,$3f
db $07,$ff,$01,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$01,$ff,$03,$ff,$03,$ff
db $00,$ff,$01,$fe,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$01,$fe,$00,$ff
.KeyArtTilesEnd:
.BackgroundCopy: ; tiles start at 26
db $3b, $74, $75, $54, $65, $2c, $2c, $60
db $3b, $56, $57, $55, $64, $2c, $4c, $4d
db $3b, $58, $59, $40, $61, $62, $4e, $56
db $3b, $5a, $5e, $1a, $63, $4f, $3b, $72
db $3b, $5b, $5f, $41, $50, $3b, $51, $2c
db $3b, $49, $73, $42, $3b, $3b, $52, $44
db $3b, $3b, $5c, $43, $3b, $53, $45, $46
db $3b, $3b, $4a, $3e, $3f, $47, $48, $4b
db $3b, $22, $23, $24, $25, $26, $27, $5d
db $28, $29, $2c, $35, $36, $2d, $3d, $2a
db $2b, $30, $31, $32, $2f, $2f, $76, $2e
db $3c, $39, $3a, $33, $2f, $2f, $2f, $2f
db $1b, $1c, $1e, $1f, $34, $20, $21, $37
db $1d, $38, $2f, $2f, $2f, $2f, $2f, $2f
db $66, $2f, $78, $6b, $6c, $6d, $6e, $69
db $67, $68, $79, $6f, $70, $71, $77, $6a
.BackgroundCopyEnd: