gameboy color functionality. changes to card struct

This commit is contained in:
Shoofle 2025-10-08 13:42:06 -04:00
parent aafa366235
commit d011379675
43 changed files with 875 additions and 419 deletions

View File

@ -8,11 +8,14 @@ TheFool:
def Card_Offset_title equ @-TheFool
db 10, "THE FOOL "
db 10, " "
def Card_Offset_description equ @-TheFool
db 10, " "
db 10, "beginning "
db 10, "leap "
db 10, "naivete "
def Card_Offset_description_rev equ @-TheFool
def Card_Offset_reverse equ @-TheFool
db 10, "THE FOOL "
db 10, "(reversed)"
db 10, " "
db 10, "beginning "
db 10, "reluctant "
db 10, "reckless "

View File

@ -1,9 +1,14 @@
TheMagician:
db 10, "THE "
db 10, "MAGICIAN "
db 10, " "
db 10, "capacity "
db 10, "knowing "
db 10, "manifest "
db 10, "THE "
db 10, "MAGICIAN "
db 10, "(reversed)"
db 10, "cunning "
db 10, "greed "
db 10, "unclear "

View File

@ -1,9 +1,14 @@
TheHighPriestess:
db 10, "THE HIGH "
db 10, "PRIESTESS "
db 10, " "
db 10, "secrets "
db 10, "mystery "
db 10, "unknown "
db 10, "THE HIGH "
db 10, "PRIESTESS "
db 10, "(reversed)"
db 10, "secrets "
db 10, "mystery "
db 10, "unknown "

View File

@ -1,9 +1,14 @@
TheEmpress:
db 10, "THE "
db 10, "EMPRESS "
db 10, " "
db 10, "diplomacy "
db 10, "fecundity "
db 10, "nature "
db 10, "THE "
db 10, "EMPRESS "
db 10, "(reversed)"
db 10, "dependent "
db 10, "no growth "
db 10, "smother "

View File

@ -1,9 +1,14 @@
TheEmperor:
db 10, "THE "
db 10, "EMPEROR "
db 10, " "
db 10, "authority "
db 10, "control "
db 10, "stability "
db 10, "THE "
db 10, "EMPEROR "
db 10, "(reversed)"
db 10, "tyranny "
db 10, "control "
db 10, "reckless "

View File

@ -1,12 +1,14 @@
nop
nop
TheHierophant:
db 10, "THE "
db 10, "HIEROPHANT"
db 10, " "
db 10, "tradition "
db 10, "marriage "
db 10, "religion "
db 10, "THE "
db 10, "HIEROPHANT"
db 10, "(reversed)"
db 10, "question "
db 10, "restrict "
db 10, "defiant "

View File

@ -1,10 +1,14 @@
TheLovers:
db 10, "THE LOVERS"
db 10, " "
db 10, " "
db 10, "harmony "
db 10, "choices "
db 10, "desire "
db 10, "THE LOVERS"
db 10, "(reversed)"
db 10, " "
db 10, "imbalance "
db 10, "conflict "
db 10, "detached "
@ -23,6 +27,7 @@ TheLovers:
.fInit:
ld a, %01010100
ld [rOBP0], a
call AdjustOBP0
ld hl, CVS
ld a, 0

View File

@ -1,10 +1,14 @@
TheChariot:
db 10, "THE "
db 10, "CHARIOT "
db 10, " "
db 10, "control "
db 10, "direction "
db 10, "power "
db 10, "THE "
db 10, "CHARIOT "
db 10, "(reversed)"
db 10, "forceful "
db 10, "aggress "
db 10, "obstacles "
@ -23,6 +27,7 @@ TheChariot:
.fInit:
ld a, %00100100
ld [rOBP0], a
call AdjustOBP0
ld hl, CVS
ld a, 0
ld [hl+], a ; CVS timer for horses

View File

@ -1,11 +1,14 @@
Strength:
db 10, "STRENGTH "
db 10, " "
db 10, " "
db 10, "courage "
db 10, "mercy "
db 10, "grace "
db 10, "STRENGTH "
db 10, "(reversed)"
db 10, " "
db 10, "doubt "
db 10, "cowardice "
db 10, "forceful "
@ -33,6 +36,8 @@ Strength:
ld a, %00_00_00_00
ld [rOBP0], a
call AdjustOBP0
jp .drawClouds
ret
.fUpdate:

View File

@ -1,11 +1,14 @@
TheHermit:
db 10, "THE HERMIT"
db 10, " "
db 10, " "
db 10, "solitary "
db 10, "enlighten "
db 10, "reflect "
db 10, "THE HERMIT"
db 10, "(reversed)"
db 10, " "
db 10, "lonely "
db 10, "isolation "
db 10, "return "
@ -30,6 +33,7 @@ TheHermit:
ld a, %10010000
ld [rOBP0], a
call AdjustOBP0
ret
.fUpdate:
ld hl, CVS

View File

@ -1,11 +1,14 @@
WheelOfFortune:
db 10, "WHEEL OF "
db 10, "FORTUNE "
db 10, " "
db 10, "chance "
db 10, "cycles "
db 10, "destiny "
db 10, "WHEEL OF "
db 10, "FORTUNE "
db 10, "(reversed)"
db 10, "bad luck "
db 10, "reluctant "
db 10, "resist "

View File

@ -1,10 +1,14 @@
Justice:
db 10, "JUSTICE "
db 10, " "
db 10, " "
db 10, "truth "
db 10, "law "
db 10, "integrity "
db 10, "JUSTICE "
db 10, "(reversed)"
db 10, " "
db 10, "injustice "
db 10, "unfairness"
db 10, "revenge "
@ -33,6 +37,7 @@ Justice:
ld a, %11000100
ld [rOBP0], a
call AdjustOBP0
ret
.fUpdate:
ld hl, CVS

View File

@ -1,10 +1,14 @@
TheHangedMan:
db 10, "THE HANGED"
db 10, "MAN "
db 10, " "
db 10, "surrender "
db 10, "time "
db 10, "patience "
db 10, "THE HANGED"
db 10, "MAN "
db 10, "(reversed)"
db 10, "stagnant "
db 10, "apathy "
db 10, "impulse "

View File

@ -1,10 +1,14 @@
Death:
db 10, "DEATH "
db 10, " "
db 10, " "
db 10, "change "
db 10, "endings "
db 10, "upheaval "
db 10, "DEATH "
db 10, "(reversed)"
db 10, " "
db 10, "fear "
db 10, "dependent "
db 10, "repeating "
@ -31,6 +35,7 @@ Death:
ld a, %11000100
ld [rOBP0], a
call AdjustOBP0
ld hl, MY_OAM
ld [hl], 24+8

View File

@ -1,10 +1,14 @@
Temperance:
db 10, "TEMPERANCE"
db 10, " "
db 10, " "
db 10, "balance "
db 10, "moderate "
db 10, "effort "
db 10, "TEMPERANCE"
db 10, "(reversed)"
db 10, " "
db 10, "discord "
db 10, "reckless "
db 10, "excess "
@ -58,18 +62,22 @@ Temperance:
jp z, .frame1
cp a, 2
jp z, .frame2
ret
.frame0
ld a, %10_01_00_00
ld [rOBP0], a
call AdjustOBP0
ret
.frame1
ld a, %01_00_10_00
ld [rOBP0], a
call AdjustOBP0
ret
.frame2
ld a, %00_10_01_00
ld [rOBP0], a
call AdjustOBP0
ret
.waterfall:

View File

@ -1,10 +1,14 @@
TheDevil:
db 10, "THE DEVIL "
db 10, " "
db 10, " "
db 10, "obsession "
db 10, "greed "
db 10, "powerless "
db 10, "THE DEVIL "
db 10, "(reversed)"
db 10, " "
db 10, "detached "
db 10, "reveal "
db 10, "reclaim "

View File

@ -1,10 +1,14 @@
TheTower:
db 10, "THE TOWER "
db 10, " "
db 10, " "
db 10, "calamity "
db 10, "collapse "
db 10, "change "
db 10, "THE TOWER "
db 10, "(reversed)"
db 10, " "
db 10, "delay "
db 10, "avoid "
db 10, "avert "
@ -58,6 +62,8 @@ TheTower:
ld [rOBP0], a
ld a, %00_10_01_00
ld [rOBP1], a
call AdjustOBP0
call AdjustOBP1
ret
.fUpdate:
@ -177,14 +183,17 @@ TheTower:
.frame0
ld a, %10_00_01_00
ld [rOBP1], a
call AdjustOBP1
ret
.frame1
ld a, %01_10_00_00
ld [rOBP1], a
call AdjustOBP1
ret
.frame2
ld a, %00_01_10_00
ld [rOBP1], a
call AdjustOBP1
ret
.fPrintPrep:
ld a, 1

View File

@ -1,10 +1,14 @@
TheStar:
db 10, "THE STAR "
db 10, " "
db 10, " "
db 10, "hope "
db 10, "healing "
db 10, "purpose "
db 10, "THE STAR "
db 10, "(reversed)"
db 10, " "
db 10, "hopeless "
db 10, "monotony "
db 10, "despair "
@ -44,8 +48,10 @@ TheStar:
ld a, %00_01_10_00
ld [rOBP0], a
call AdjustOBP0
ld a, %10_01_00_00
ld [rOBP1], a
call AdjustOBP1
ld hl, .starflare
ld de, MY_OAM
@ -215,18 +221,22 @@ TheStar:
.frame0
ld a, %00_00_00_00
ld [rOBP0], a
call AdjustOBP0
ret
.frame1
ld a, %00_00_01_00
ld [rOBP0], a
call AdjustOBP0
ret
.frame2
ld a, %00_01_10_00
ld [rOBP0], a
call AdjustOBP0
ret
.frame3
ld a, %00_00_01_00
ld [rOBP0], a
call AdjustOBP0
ret
.fPrintPrep: ret

View File

@ -1,10 +1,14 @@
TheMoon:
db 10, "THE MOON "
db 10, " "
db 10, " "
db 10, "doubt "
db 10, "fear "
db 10, "dreams "
db 10, "THE MOON "
db 10, "(reversed)"
db 10, " "
db 10, "fear "
db 10, "deception "
db 10, "unveiled "

View File

@ -1,10 +1,14 @@
TheSun:
db 10, "THE SUN "
db 10, " "
db 10, " "
db 10, "joy "
db 10, "warmth "
db 10, "success "
db 10, "THE SUN "
db 10, "(reversed)"
db 10, " "
db 10, "pessimism "
db 10, "conceit "
db 10, "optimism "
@ -29,6 +33,7 @@ TheSun:
ld a, %00_10_01_00
ld [rOBP0], a
call AdjustOBP0
ret
.fUpdate:
ld hl, CVS

View File

@ -1,10 +1,14 @@
Judgement:
db 10, "THE METEOR"
db 10, " "
db 10, " "
db 10, "judgement "
db 10, "renewal "
db 10, "finality "
db 10, "THE METEOR"
db 10, "(reversed)"
db 10, " "
db 10, "doubt "
db 10, "held back "
db 10, "reflect "
@ -29,6 +33,7 @@ Judgement:
ld a, %00_00_00_00
ld [rOBP0], a
call AdjustOBP0
ret
.fUpdate:
ld hl, CVS

View File

@ -9,10 +9,14 @@
TheWorld:
db 10, "THE WORLD "
db 10, " "
db 10, " "
db 10, "success "
db 10, "wholeness "
db 10, "travel "
db 10, "THE WORLD "
db 10, "(reversed)"
db 10, " "
db 10, "empty "
db 10, "missing "
db 10, "burdened "

View File

@ -259,9 +259,6 @@ Async_ExitThread:
reti
Async_EarlyReturn:
rept 100
nop
endr
di
; don't care about current registers bc we're done executing.

View File

@ -68,6 +68,8 @@ FindCardSpriteTiles:
ld l, c
ret
PreloadCard: ; maybe we should do a non-async preload task that empties the handles and banks the rom?
LoadCardData:
LoadCardDataAsync:
; first and foremost, clear the card init, update, and draw handles, so there's
@ -139,12 +141,13 @@ LoadUpright:
ld h, a ; hl now contains the address of the card data.
;ld bc, Card_Offset_title
;add hl, bc ; unnecessary because card_offset_tile is zero bc the title is first
; print six texts
ld de, _SCRN0 + 32*11 + 10
call PrintString
ld de, _SCRN0 + 32*12 + 10
call PrintString
; description is after title!
ld de, _SCRN0 + 32*13 + 10
call PrintString
ld de, _SCRN0 + 32*14 + 10
call PrintString
ld de, _SCRN0 + 32*15 + 10
@ -152,11 +155,7 @@ LoadUpright:
ld de, _SCRN0 + 32*16 + 10
call PrintString
; write the "(reversed)" string
ld hl, EmptyString
ld de, _SCRN0 + 32*13 + 10
call PrintString
; load tilemap
ld a, [cvCardAddress]
ld l, a
ld a, [cvCardAddress + 1]
@ -272,27 +271,20 @@ LoadReversed: ; same as LoadRightSideUp but loads in the reversed data
ld l, a
ld a, [cvCardAddress + 1]
ld h, a ; hl now contains the address of the card data.
;ld bc, Card_Offset_title
;add hl, bc ; unnecessary because title is the first thing in the card struct
ld bc, Card_Offset_reverse
add hl, bc ; jump to the reverse texts and print
ld de, _SCRN0 + 32*11 + 10
call PrintString
ld de, _SCRN0 + 32*12 + 10
call PrintString
; description is after title
ld bc, Card_Offset_description_rev - Card_Offset_description
add hl, bc ; jump forward past description to description_rev
ld de, _SCRN0 + 32*13 + 10
call PrintString
ld de, _SCRN0 + 32*14 + 10
call PrintString
ld de, _SCRN0 + 32*15 + 10
call PrintString
ld de, _SCRN0 + 32*16 + 10
call PrintString
; write the "(reversed)" string
ld hl, ReverseString
ld de, _SCRN0 + 32*13 + 10
call PrintString
; move the tilemap into memory
@ -330,7 +322,6 @@ LoadReversed: ; same as LoadRightSideUp but loads in the reversed data
add hl, bc ; hl now points to the card functions
di ; make sure we never call any callbacks without them being fully set
nop
ld a, [hl+]
ld [CARD_INIT], a
ld a, [hl+]
@ -419,6 +410,8 @@ CardInit:
ld a, %11100100
ld [rOBP0], a
ld [rOBP1], a
call AdjustOBP0
call AdjustOBP1
call CARD_INIT - 1
@ -521,7 +514,11 @@ IncrementTimer:
dec hl
ret
SetUpEdgeMasks:
; this set of functions and data are for masking sprites off at the edge of the
; frame, which is afaik only used on one card (the moon). whee!
; set cvNeedsCleanup each frame to enable these, and call SetUpEdgeMasks
; in your card init function
SetUpEdgeMasks:
ld hl, EdgeMasks
ld de, _VRAM + 8*16*16 ; 8 rows of 16 tiles each, 16 bytes per tile
ld bc, EdgeMasks.end - EdgeMasks
@ -603,7 +600,7 @@ HideObviousTiles:
jr c, :+ ; skip if 8-y <= 0
ld [hl], 0
:
ld a, 80 ; sprites are visible if x value < 80
ld a, 79 ; sprites are visible if x value < 80
cp a, [hl]
jr nc, :+
ld [hl], 0
@ -688,7 +685,7 @@ WriteLeftEdgeMaskIfNecessary:
ld [de], a ; x value
inc e ; write head moves forward to tile ID
ld a, 1
ld a, 8*16+7
ld [de], a ; tile ID 1 for the hidden ones
inc e ; write head moves forward to attribute

View File

@ -136,7 +136,7 @@ AdjacentCards:
db 10, 11, 12, 13,
Cards:
db 26 ; length
db 27 ; length
db BANK(TheFool)
dw TheFool
db BANK(TheMagician)
@ -190,6 +190,8 @@ Cards:
dw Wands11Page
db BANK(Coins11Page)
dw Coins11Page
db BANK(Coins12Knight)
dw Coins12Knight
SECTION "First Five Cards", ROMX
@ -226,4 +228,5 @@ INCLUDE "21TheWorld.inc"
INCLUDE "cups11page.inc"
INCLUDE "swords11page.inc"
INCLUDE "coins11page.inc"
INCLUDE "coins12knight.inc"
INCLUDE "wands11page.inc"

View File

@ -66,17 +66,15 @@ CopyRangeOfTilesButRotated:
; copy half the tile (one byte)
ld a, [hl]
ld a, [hl+]
call ReverseBits ; reverse the order of a
ld [de], a
inc hl
inc de ; step forward because we want to preserve the order of the pair
inc de ; step forward because we want to preserve the order of each pair
; copy the second half of the tile (one byte)
ld a, [hl]
ld a, [hl+]
call ReverseBits
ld [de], a
inc hl
dec de ; step backwards to be ready for the next pair
endr

View File

@ -176,6 +176,8 @@ CardBrowseUpdate:
CardBrowseDraw:
call CardDraw
ld a, [vCurrentBackgroundTile]
ld l, a
ld a, [vCurrentBackgroundTile+1]
@ -183,8 +185,6 @@ CardBrowseDraw:
ld de, _VRAM + $1000 + 1*16
call CopyOneTileData
call CardDraw
ld de, SAFE_DMA_LOCATION
ld a, HIGH(MY_OAM)
call RunDMA

View File

@ -139,12 +139,17 @@ CardReadUpdate:
ld a, 1
ld [vTooBusyForPrinter], a
;call PreloadCard ; maybe we should do a non-async preload task that empties the handles and banks the rom?
ld hl, ChangedCardTask
call Async_Spawn_HL
ret
CardReadDraw:
call CardDraw
ld a, [vCurrentBackgroundTile]
ld l, a
ld a, [vCurrentBackgroundTile+1]
@ -152,8 +157,6 @@ CardReadDraw:
ld de, _VRAM + $1000 + 1*16
call CopyOneTileData
call CardDraw
ld de, SAFE_DMA_LOCATION
ld a, HIGH(MY_OAM)
call RunDMA

View File

@ -97,6 +97,8 @@ MainMenuSetup:
ld a, %11100100
ldh [rBGP], a
ldh [rOBP0], a
call AdjustBGP
call AdjustOBP0
ld a, LCDCF_BLK21 | LCDCF_ON | LCDCF_BGON | LCDCF_OBJON | LCDCF_OBJ16
ldh [rLCDC], a

View File

@ -4,25 +4,78 @@
KeyArtTiles:
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$3f,$3f,$3f,$3f,$1f,$1f,$0f,$0f,$07,$07
db $00,$f8,$00,$fe,$00,$00,$ff,$ff,$ff,$ff,$fe,$fe,$fc,$fc,$f8,$f8
db $07,$07,$03,$03,$01,$01,$00,$00,$00,$00,$00,$01,$00,$01,$00,$01
db $f8,$f8,$f0,$f0,$e0,$e0,$c0,$c0,$00,$00,$00,$e0,$00,$f0,$00,$ff
db $00,$01,$00,$01,$00,$01,$00,$01,$00,$00,$00,$00,$01,$01,$07,$07
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$07,$c0,$c0,$e0,$e0,$f8,$f8
db $07,$07,$01,$01,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $f8,$f8,$e0,$e0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$fc
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$00
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$1f
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$07,$00,$0f,$00,$1f
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$f8,$00,$fc,$00,$fc
db $00,$00,$07,$07,$0f,$0f,$1f,$1f,$3f,$3f,$3f,$3f,$3f,$3f,$3f,$3f
db $00,$00,$e0,$e0,$f0,$f0,$f8,$f8,$f8,$f8,$fc,$fc,$fc,$fc,$fe,$fe
db $00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1f
db $00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fc,$00,$fc,$00,$fc
db $3f,$3f,$3f,$3f,$1f,$1f,$1f,$1f,$0f,$0f,$00,$00,$00,$00,$00,$00
db $fe,$fe,$fe,$fe,$fe,$fe,$fc,$fc,$fc,$fc,$00,$00,$00,$00,$00,$60
db $00,$1f,$00,$0f,$00,$37,$00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$7f
db $00,$f8,$00,$e0,$00,$c0,$00,$80,$00,$ff,$00,$ff,$00,$80,$00,$80
db $00,$01,$00,$07,$00,$0f,$00,$3a,$00,$fc,$00,$f0,$00,$00,$00,$00
db $00,$f0,$00,$e0,$00,$c0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$7b
db $00,$81,$00,$83,$00,$0f,$00,$1f,$00,$ff,$00,$fe,$00,$fc,$00,$f0
db $00,$80,$00,$c0,$00,$c0,$00,$80,$00,$80,$00,$81,$00,$83,$00,$43
db $00,$00,$00,$0f,$00,$1f,$00,$3f,$00,$ff,$00,$fc,$00,$ff,$00,$ff
db $00,$7f,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$c0,$00,$f0,$00,$f8,$00,$fc,$00,$fe,$00,$ff,$00,$f7
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$f8
db $00,$78,$00,$78,$00,$78,$00,$78,$00,$78,$00,$78,$00,$78,$00,$7c
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$7f,$00,$ff,$00,$ff
db $00,$47,$00,$6f,$00,$3f,$00,$07,$00,$73,$00,$f8,$00,$fe,$00,$ff
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$fe,$00,$3e,$00,$c4
db $00,$ff,$00,$8f,$00,$03,$00,$00,$00,$00,$00,$00,$00,$03,$00,$0e
db $00,$e7,$00,$ef,$00,$de,$00,$dc,$00,$40,$00,$80,$00,$00,$00,$00
db $03,$ff,$07,$ff,$67,$ff,$f3,$f3,$f0,$ff,$66,$ff,$0f,$ff,$0f,$ff
db $00,$fc,$80,$fc,$80,$fc,$30,$36,$78,$fe,$78,$ff,$30,$ff,$00,$ff
db $00,$7e,$00,$7f,$00,$3f,$00,$1f,$00,$0f,$00,$0f,$00,$87,$00,$c3
db $00,$7f,$00,$3f,$00,$3f,$00,$bf,$00,$df,$00,$ff,$00,$ff,$00,$ef
db $00,$ff,$00,$ff,$00,$ff,$00,$ef,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$f1,$00,$fc,$00,$f8,$00,$f8,$00,$f0,$00,$f0,$00,$e0,$00,$80
db $00,$f0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $06,$ff,$00,$ff,$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,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$00,$07,$00,$7f
db $00,$00,$00,$00,$00,$08,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$80,$00,$e0,$00,$80,$00,$e0,$00,$f8
db $00,$83,$00,$cd,$00,$cd,$00,$c1,$00,$cf,$00,$cf,$00,$ef,$00,$ff
db $00,$c7,$00,$cb,$00,$cd,$00,$c1,$00,$cd,$00,$cd,$00,$cd,$00,$ff
db $00,$c3,$00,$c1,$00,$e1,$00,$e0,$00,$f0,$00,$f0,$00,$f0,$00,$f0
db $00,$ef,$00,$ff,$00,$f7,$00,$f7,$00,$f7,$00,$f7,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$80,$00,$80,$00,$80,$00,$80,$00,$80
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$c7
db $00,$f8,$00,$f8,$00,$f8,$00,$f0,$00,$f0,$00,$f0,$00,$e0,$00,$c0
db $00,$ff,$00,$ff,$00,$ff,$00,$f7,$00,$f7,$00,$f3,$00,$f0,$00,$f0
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$9f,$00,$07,$00,$07
db $00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$e0,$00,$f0,$00,$f8,$00,$fc
db $00,$c0,$00,$c0,$00,$c0,$00,$e0,$00,$f0,$00,$f8,$00,$fc,$00,$fc
db $00,$01,$00,$03,$00,$07,$00,$07,$00,$03,$00,$00,$00,$00,$00,$00
db $00,$f0,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$00,$00,$00,$00,$01
db $00,$01,$00,$80,$00,$c0,$00,$c0,$00,$80,$00,$30,$00,$78,$00,$f8
db $00,$fe,$00,$ff,$00,$5f,$00,$0f,$00,$0f,$00,$07,$00,$0f,$00,$0f
db $00,$00,$00,$00,$00,$00,$00,$80,$00,$80,$00,$80,$00,$80,$00,$00
db $00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fe
db $00,$03,$00,$03,$00,$03,$00,$03,$00,$07,$00,$0f,$00,$1f,$00,$3f
db $00,$f8,$00,$f0,$00,$e0,$00,$e0,$00,$e0,$00,$c1,$00,$81,$00,$01
db $00,$0f,$00,$1f,$00,$1e,$00,$1e,$00,$7e,$00,$fe,$00,$fc,$00,$fc
db $00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$f8,$00,$f0
db $00,$00,$00,$01,$00,$07,$00,$0f,$00,$0f,$00,$07,$00,$00,$00,$00
db $00,$7e,$00,$fd,$00,$f8,$00,$e8,$00,$c0,$00,$80,$00,$04,$00,$00
db $00,$01,$00,$00,$00,$40,$00,$00,$00,$00,$00,$00,$00,$00,$00,$60
db $00,$fc,$00,$f8,$00,$60,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$c0,$00,$80,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0f
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$00,$0f,$00,$ff
db $00,$00,$00,$00,$00,$3e,$00,$3e,$00,$3f,$00,$8f,$00,$e0,$00,$ff
db $00,$00,$00,$0f,$00,$ff,$00,$3f,$00,$bf,$00,$bf,$00,$3f,$00,$ff
db $00,$c6,$00,$f3,$00,$f8,$00,$fe,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$20,$00,$00,$00,$c1,$00,$20,$00,$8c,$00,$e1,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$7c,$00,$7f,$00,$7f,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$80,$00,$c0,$00,$e0,$00,$f8,$00,$f8
db $00,$bf,$00,$9b,$00,$97,$00,$8f,$00,$97,$00,$9b,$00,$dd,$00,$ff
db $00,$8d,$00,$95,$00,$95,$00,$95,$00,$99,$00,$9d,$00,$dd,$00,$ff
db $00,$ef,$00,$e7,$00,$e7,$00,$e7,$00,$e7,$00,$e7,$00,$f7,$00,$ff
db $00,$87,$00,$9b,$00,$9f,$00,$9f,$00,$91,$00,$9b,$00,$c3,$00,$ff
db $00,$03,$00,$9f,$00,$9f,$00,$87,$00,$9f,$00,$9f,$00,$c3,$00,$ff
db $00,$bf,$00,$9d,$00,$9d,$00,$81,$00,$9d,$00,$9d,$00,$dd,$00,$ff
db $00,$81,$00,$a5,$00,$e7,$00,$e7,$00,$e7,$00,$e7,$00,$f7,$00,$ff
db $00,$ff,$00,$c7,$00,$9b,$00,$9b,$00,$9b,$00,$c7,$00,$ff,$00,$ff
db $00,$f1,$00,$e7,$00,$c3,$00,$e7,$00,$e7,$00,$e7,$00,$ff,$00,$ff
db $00,$fc,$00,$f8,$00,$f9,$00,$f9,$00,$f9,$00,$f9,$00,$fc,$00,$ff
@ -31,76 +84,23 @@ KeyArtTiles:
db $00,$f8,$00,$79,$00,$79,$00,$79,$00,$79,$00,$79,$00,$7d,$00,$ff
db $00,$dc,$00,$59,$00,$59,$00,$5c,$00,$9f,$00,$d9,$00,$dc,$00,$ff
db $00,$7f,$00,$bf,$00,$ff,$00,$7f,$00,$bf,$00,$bf,$00,$7f,$00,$ff
db $00,$7f,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$fc,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$03,$00,$1f,$00,$3f,$00,$7f,$00,$7f,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$c0,$00,$e0,$00,$f0,$00,$f8,$00,$fc,$00,$fc
db $00,$ff,$00,$ff,$00,$ff,$00,$7f,$00,$7f,$00,$3f,$00,$1f,$00,$1f
db $00,$fc,$00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fe
db $00,$00,$00,$00,$00,$00,$00,$00,$01,$01,$01,$01,$03,$03,$03,$03
db $00,$00,$00,$00,$3f,$3f,$7f,$7f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff
db $00,$00,$00,$00,$c0,$c0,$f0,$f0,$f0,$f0,$f8,$f8,$f8,$f8,$fc,$fc
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$07,$00,$07,$00,$07
db $00,$0f,$00,$07,$00,$07,$00,$0f,$00,$7f,$00,$ff,$00,$ff,$00,$ff
db $00,$fe,$00,$f8,$00,$f0,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $03,$03,$03,$03,$03,$73,$03,$fb,$03,$fb,$01,$f9,$00,$f8,$00,$fc
db $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff
db $fc,$fc,$fc,$fc,$fc,$fc,$fc,$fc,$fc,$fc,$fc,$fc,$f8,$f8,$f0,$f0
db $00,$0f,$00,$0f,$00,$0f,$00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$3f
db $00,$fc,$00,$fc,$00,$fc,$00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fe
db $7f,$7f,$3f,$3f,$00,$00,$00,$6f,$00,$7f,$00,$ff,$00,$ff,$00,$c0
db $e0,$e0,$80,$80,$00,$00,$00,$f8,$00,$f8,$00,$f0,$00,$f0,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$00,$01,$00,$03
db $00,$3f,$00,$3f,$00,$7f,$00,$7e,$00,$fc,$00,$fc,$00,$f8,$00,$f0
db $00,$ff,$00,$7f,$00,$3f,$00,$3f,$00,$3f,$00,$3f,$00,$7f,$00,$7f
db $00,$f6,$00,$f7,$00,$f7,$00,$f7,$00,$f7,$00,$f7,$00,$f7,$00,$f0
db $00,$c0,$00,$c0,$00,$c0,$00,$80,$00,$80,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$00,$7f,$00,$7f
db $00,$07,$00,$0f,$00,$1f,$00,$3f,$00,$fe,$00,$fc,$00,$fc,$00,$f8
db $00,$e0,$00,$c0,$00,$80,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$3f,$00,$3f
db $00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$e0,$00,$c0,$00,$f0
db $00,$7f,$00,$1f,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$f8,$00,$f8,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$3f,$00,$3f,$00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1f
db $00,$f7,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ef
db $00,$f8,$00,$f8,$00,$f8,$00,$f8,$00,$f8,$00,$f8,$00,$f8,$00,$f8
db $00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1b,$00,$1f,$00,$1f
db $00,$ef,$00,$ef,$00,$ef,$00,$ef,$00,$ef,$00,$cf,$00,$cf,$00,$cf
db $00,$f8,$00,$f8,$00,$f8,$00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$fc
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01
db $00,$1f,$00,$1f,$00,$1f,$00,$3f,$00,$7f,$00,$ff,$00,$ff,$00,$ff
db $00,$cf,$00,$c7,$00,$c7,$00,$c7,$00,$c7,$00,$c3,$00,$83,$00,$83
db $00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$f8,$00,$f8
db $00,$03,$00,$03,$00,$07,$00,$0f,$00,$0f,$00,$1f,$00,$3f,$00,$3f
db $00,$ff,$00,$ff,$00,$fe,$00,$fc,$00,$f8,$00,$f0,$00,$e0,$00,$e0
db $00,$03,$00,$03,$00,$03,$00,$03,$00,$03,$00,$03,$00,$07,$00,$07
db $00,$f0,$00,$e0,$00,$e0,$00,$e0,$00,$e0,$00,$e0,$00,$e0,$00,$e0
db $00,$3f,$00,$ff,$00,$ff,$00,$ff,$00,$7e,$00,$3e,$00,$1c,$00,$1e
db $00,$c0,$00,$c0,$00,$80,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$07,$00,$07,$00,$07,$00,$07,$00,$07,$00,$07,$00,$07,$00,$03
db $00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$80,$00,$e0,$00,$f0
db $00,$0f,$00,$07,$00,$03,$00,$01,$00,$07,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$8f,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$03,$00,$e3,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$fc,$00,$fe,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
KeyArt:
db $1a, $1a, $1a, $1a, $1a, $1a, $1a, $1a
db $1a, $1a, $1a, $38, $39, $1a, $1a, $1a
db $1a, $1a, $1a, $3a, $3b, $3c, $3d, $3e
db $1a, $1a, $3f, $40, $41, $42, $43, $44
db $1a, $1a, $45, $26, $26, $46, $47, $48
db $1a, $49, $4a, $4b, $26, $4c, $4d, $1a
db $4e, $4f, $50, $51, $26, $52, $1a, $1a
db $53, $54, $1a, $55, $56, $57, $1a, $1a
db $1a, $1a, $1a, $58, $59, $5a, $1a, $1a
db $1a, $1a, $5b, $5c, $5d, $5e, $1a, $1a
db $1a, $1a, $5f, $60, $61, $62, $1a, $1a
db $1a, $1a, $63, $64, $65, $66, $1a, $1a
db $1a, $27, $67, $68, $69, $6a, $28, $29
db $36, $26, $2a, $2b, $2c, $2d, $26, $37
db $26, $26, $26, $2e, $2f, $26, $26, $26
db $26, $30, $31, $32, $33, $34, $35, $26
db $1a, $1a, $1b, $1c, $1d, $1e, $1a, $1a
db $1a, $1a, $1f, $20, $21, $22, $1a, $1a
db $1a, $1a, $23, $24, $25, $26, $1a, $1a
db $1a, $1a, $27, $28, $29, $2a, $2b, $2c
db $2d, $2e, $2f, $30, $31, $32, $33, $34
db $35, $36, $37, $38, $39, $3a, $3b, $1a
db $3c, $3d, $3e, $3f, $3d, $40, $1a, $1a
db $41, $3d, $42, $43, $44, $45, $1a, $1a
db $46, $1a, $47, $48, $49, $4a, $4b, $1a
db $4c, $1a, $1a, $4d, $4e, $4f, $1a, $1a
db $50, $1a, $51, $52, $53, $54, $1a, $1a
db $55, $56, $57, $58, $59, $5a, $5b, $5c
db $3d, $5d, $5e, $5f, $60, $61, $62, $3d
db $3d, $3d, $3d, $63, $64, $3d, $3d, $3d
db $3d, $65, $66, $67, $68, $69, $6a, $3d

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,20 +1,17 @@
; this is a card struct
; starts with five length-prefixed strings in memory
; then a 16bit value of the offset between the tile set and the end
; then the 16bit address of the tile set
; then a 16bit value of the offset between tile map and end
; then the 16bit address of the tile map
Coins11Page:
db 10, "PAGE OF "
db 10, "COINS "
db 10, "good news "
db 10, "messenger "
db 10, " "
db 10, "foundation"
db 10, "planning "
db 10, "divination"
db 10, "dreamer "
db 10, "new love "
db 10, "imagine "
db 10, "childish "
db 10, "seduction "
db 10, "envy "
db 10, "bad news "
db 10, "messenger "
db 10, " "
db 10, "no goals "
db 10, "foolish "
db 10, "lazy "
dw .BackgroundCopyEnd - .BackgroundCopy
dw .BackgroundCopy
@ -50,9 +47,9 @@ Coins11Page:
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$00
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$1f
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$00,$07,$00,$7f
db $00,$00,$00,$00,$00,$08,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$80,$00,$e0,$00,$80,$00,$e0,$00,$f8
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$00,$0f,$00,$ff
db $00,$00,$00,$00,$00,$7c,$00,$7f,$00,$7f,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$80,$00,$c0,$00,$e0,$00,$f8,$00,$f8
db $00,$83,$00,$cd,$00,$cd,$00,$c1,$00,$cf,$00,$cf,$00,$ef,$00,$ff
db $00,$c7,$00,$cb,$00,$cd,$00,$c1,$00,$cd,$00,$cd,$00,$cd,$00,$ff
db $00,$87,$00,$9b,$00,$9f,$00,$9f,$00,$91,$00,$9b,$00,$c3,$00,$ff
@ -66,75 +63,78 @@ Coins11Page:
db $00,$dc,$00,$59,$00,$59,$00,$5c,$00,$9f,$00,$d9,$00,$dc,$00,$ff
db $00,$7f,$00,$bf,$00,$ff,$00,$7f,$00,$bf,$00,$bf,$00,$7f,$00,$ff
db $00,$7f,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$fc,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$03,$00,$1f,$00,$3f,$00,$7f,$00,$7f,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$c0,$00,$e0,$00,$f0,$00,$f8,$00,$fc,$00,$fc
db $00,$ff,$00,$ff,$00,$ff,$00,$7f,$00,$7f,$00,$3f,$00,$1f,$00,$1f
db $00,$fc,$00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fe
db $00,$00,$00,$00,$00,$00,$00,$00,$01,$01,$01,$01,$03,$03,$03,$03
db $00,$00,$00,$00,$3f,$3f,$7f,$7f,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff
db $00,$00,$00,$00,$c0,$c0,$f0,$f0,$f0,$f0,$f8,$f8,$f8,$f8,$fc,$fc
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$07,$00,$07,$00,$07
db $00,$0f,$00,$07,$00,$07,$00,$0f,$00,$7f,$00,$ff,$00,$ff,$00,$ff
db $00,$fe,$00,$f8,$00,$f0,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $03,$03,$03,$03,$03,$73,$03,$fb,$03,$fb,$01,$f9,$00,$f8,$00,$fc
db $ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff,$ff
db $fc,$fc,$fc,$fc,$fc,$fc,$fc,$fc,$fc,$fc,$fc,$fc,$f8,$f8,$f0,$f0
db $00,$0f,$00,$0f,$00,$0f,$00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$3f
db $00,$fc,$00,$fc,$00,$fc,$00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fe
db $7f,$7f,$3f,$3f,$00,$00,$00,$6f,$00,$7f,$00,$ff,$00,$ff,$00,$c0
db $e0,$e0,$80,$80,$00,$00,$00,$f8,$00,$f8,$00,$f0,$00,$f0,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$00,$01,$00,$03
db $00,$3f,$00,$3f,$00,$7f,$00,$7e,$00,$fc,$00,$fc,$00,$f8,$00,$f0
db $00,$ff,$00,$7f,$00,$3f,$00,$3f,$00,$3f,$00,$3f,$00,$7f,$00,$7f
db $00,$f6,$00,$f7,$00,$f7,$00,$f7,$00,$f7,$00,$f7,$00,$f7,$00,$f0
db $00,$c0,$00,$c0,$00,$c0,$00,$80,$00,$80,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$00,$7f,$00,$7f
db $00,$07,$00,$0f,$00,$1f,$00,$3f,$00,$fe,$00,$fc,$00,$fc,$00,$f8
db $00,$e0,$00,$c0,$00,$80,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$3f,$00,$3f
db $00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$e0,$00,$c0,$00,$f0
db $00,$7f,$00,$1f,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$f8,$00,$f8,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$3f,$00,$3f,$00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1f
db $00,$f7,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ef
db $00,$f8,$00,$f8,$00,$f8,$00,$f8,$00,$f8,$00,$f8,$00,$f8,$00,$f8
db $00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1b,$00,$1f,$00,$1f
db $00,$ef,$00,$ef,$00,$ef,$00,$ef,$00,$ef,$00,$cf,$00,$cf,$00,$cf
db $00,$f8,$00,$f8,$00,$f8,$00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$fc
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01
db $00,$1f,$00,$1f,$00,$1f,$00,$3f,$00,$7f,$00,$ff,$00,$ff,$00,$ff
db $00,$cf,$00,$c7,$00,$c7,$00,$c7,$00,$c7,$00,$c3,$00,$83,$00,$83
db $00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$f8,$00,$f8
db $00,$03,$00,$03,$00,$07,$00,$0f,$00,$0f,$00,$1f,$00,$3f,$00,$3f
db $00,$ff,$00,$ff,$00,$fe,$00,$fc,$00,$f8,$00,$f0,$00,$e0,$00,$e0
db $00,$03,$00,$03,$00,$03,$00,$03,$00,$03,$00,$03,$00,$07,$00,$07
db $00,$f0,$00,$e0,$00,$e0,$00,$e0,$00,$e0,$00,$e0,$00,$e0,$00,$e0
db $00,$3f,$00,$ff,$00,$ff,$00,$ff,$00,$7e,$00,$3e,$00,$1c,$00,$1e
db $00,$c0,$00,$c0,$00,$80,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$07,$00,$07,$00,$07,$00,$07,$00,$07,$00,$07,$00,$07,$00,$03
db $00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$80,$00,$e0,$00,$f0
db $00,$0f,$00,$07,$00,$03,$00,$01,$00,$07,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$8f,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$03,$00,$e3,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$fc,$00,$fe,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$03,$00,$07,$00,$07,$00,$0f,$00,$0f,$00,$1f,$00,$3f,$00,$3f
db $00,$3f,$00,$df,$00,$df,$00,$ef,$00,$77,$00,$38,$00,$3f,$00,$3f
db $00,$f0,$00,$f0,$00,$e0,$00,$e0,$00,$e0,$00,$00,$00,$00,$00,$00
db $00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$00,$00,$07,$00,$07
db $00,$e0,$00,$e0,$00,$e0,$00,$e0,$00,$c0,$00,$20,$00,$f0,$00,$f8
db $00,$3e,$00,$3e,$00,$3e,$00,$3e,$00,$3f,$00,$8f,$00,$e0,$00,$ff
db $00,$00,$00,$0f,$00,$ff,$00,$3f,$00,$bf,$00,$bf,$00,$3f,$00,$ff
db $00,$07,$00,$f3,$00,$f8,$00,$fe,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$fc,$00,$fe,$00,$ff,$00,$3f,$00,$8c,$00,$e1,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0f,$00,$3f
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$80,$00,$e0
db $00,$7f,$00,$7f,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$c1,$00,$1c
db $00,$f0,$00,$f8,$00,$fc,$00,$fc,$00,$fc,$00,$fe,$00,$fe,$00,$7e
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$07,$07,$0f,$0f,$1e,$1e
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$c0,$c0,$e0,$e0,$f0,$f0
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$03
db $00,$7f,$00,$3f,$00,$3f,$00,$1f,$00,$1f,$00,$0f,$00,$77,$00,$f7
db $00,$9e,$00,$c0,$00,$fc,$00,$fc,$00,$ee,$00,$df,$00,$bf,$00,$7f
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$70,$00,$f8,$00,$fc,$00,$fc
db $3e,$3e,$7c,$7c,$40,$40,$71,$71,$7c,$7c,$7c,$7c,$39,$39,$1b,$1b
db $f8,$f8,$7c,$7c,$04,$04,$1c,$1c,$7c,$7c,$7c,$7c,$38,$38,$b0,$b0
db $00,$07,$00,$07,$00,$0f,$00,$0f,$00,$1f,$00,$1f,$00,$3f,$00,$3f
db $00,$fe,$00,$fe,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $0f,$0f,$07,$07,$00,$00,$00,$01,$00,$87,$00,$8f,$00,$9f,$00,$3f
db $e0,$e0,$c0,$c6,$00,$0e,$00,$fe,$00,$fc,$00,$f8,$00,$e0,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$00,$03,$00,$03
db $00,$7f,$00,$7f,$00,$1f,$00,$2f,$00,$77,$00,$fb,$00,$fd,$00,$fc
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$bf
db $00,$ff,$00,$fe,$00,$fd,$00,$fb,$00,$f7,$00,$f7,$00,$f3,$00,$f1
db $00,$7e,$00,$fc,$00,$f8,$00,$f0,$00,$e0,$00,$c0,$00,$80,$00,$00
db $00,$07,$00,$07,$00,$0f,$00,$0f,$00,$1f,$00,$3f,$00,$fe,$00,$fc
db $00,$f8,$00,$f0,$00,$e0,$00,$c0,$00,$80,$00,$00,$00,$00,$00,$00
db $00,$3f,$00,$3f,$00,$3f,$00,$3f,$00,$3f,$00,$3f,$00,$7f,$00,$60
db $00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$f0
db $00,$07,$00,$7f,$00,$7f,$00,$01,$00,$03,$00,$00,$00,$00,$00,$00
db $00,$f8,$00,$f0,$00,$f0,$00,$e0,$00,$80,$00,$00,$00,$00,$00,$00
db $00,$1f,$00,$3f,$00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$7f
db $00,$e7,$00,$f8,$00,$fe,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$f0,$00,$f8,$00,$00,$00,$f8,$00,$f8,$00,$f8,$00,$f8,$00,$f8
db $00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$3f,$00,$3f
db $00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$fc
db $00,$3f,$00,$3f,$00,$1f,$00,$1f,$00,$1f,$00,$0f,$00,$0f,$00,$0f
db $00,$fd,$00,$fd,$00,$fd,$00,$fb,$00,$fb,$00,$f7,$00,$f7,$00,$f7
db $00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$f8,$00,$f0,$00,$f0
db $00,$f8,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$00,$03
db $00,$1f,$00,$1f,$00,$3f,$00,$7f,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$e7,$00,$ef,$00,$ef,$00,$ef,$00,$cf,$00,$cf,$00,$8f,$00,$8f
db $00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$e0,$00,$e0,$00,$e0
db $00,$ff,$00,$fe,$00,$fc,$00,$fc,$00,$f8,$00,$f8,$00,$f8,$00,$f0
db $00,$0f,$00,$0f,$00,$0f,$00,$0f,$00,$1f,$00,$1f,$00,$1f,$00,$1f
db $00,$e0,$00,$e0,$00,$e0,$00,$e0,$00,$e0,$00,$e0,$00,$e0,$00,$e0
db $00,$ff,$00,$ff,$00,$ff,$00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fe
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0f
.KeyArtTilesEnd:
.BackgroundCopy: ; tiles start at 26
db $1a, $1a, $1a, $1a, $1a, $1a, $1a, $1a
db $1a, $1a, $1a, $38, $39, $1a, $1a, $1a
db $1a, $1a, $1a, $3a, $3b, $3c, $3d, $3e
db $1a, $1a, $3f, $40, $41, $42, $43, $44
db $1a, $1a, $45, $26, $26, $46, $47, $48
db $1a, $49, $4a, $4b, $26, $4c, $4d, $1a
db $4e, $4f, $50, $51, $26, $52, $1a, $1a
db $53, $54, $1a, $55, $56, $57, $1a, $1a
db $1a, $1a, $1a, $58, $59, $5a, $1a, $1a
db $1a, $1a, $5b, $5c, $5d, $5e, $1a, $1a
db $1a, $1a, $5f, $60, $61, $62, $1a, $1a
db $1a, $1a, $63, $64, $65, $66, $1a, $1a
db $1a, $27, $67, $68, $69, $6a, $28, $29
db $36, $26, $2a, $2b, $2c, $2d, $26, $37
db $1a, $1a, $1a, $41, $42, $1a, $1a, $1a
db $1a, $1a, $1a, $43, $44, $1a, $45, $46
db $1a, $1a, $47, $48, $49, $4a, $4b, $4c
db $1a, $1a, $4d, $64, $26, $4e, $4f, $50
db $1a, $51, $52, $53, $26, $54, $55, $1a
db $37, $56, $57, $58, $25, $59, $1a, $1a
db $5a, $5b, $1a, $5c, $5d, $5e, $1a, $1a
db $1a, $1a, $1a, $5f, $6c, $60, $1a, $1a
db $1a, $1a, $1a, $61, $62, $63, $1a, $1a
db $1a, $1a, $65, $66, $67, $68, $1a, $1a
db $1a, $1a, $38, $69, $6a, $6b, $1a, $1a
db $1a, $1a, $39, $3a, $3b, $3c, $1a, $1a
db $6d, $27, $3d, $3e, $3f, $40, $28, $29
db $36, $26, $2a, $2b, $2c, $2d, $26, $26
db $26, $26, $26, $2e, $2f, $26, $26, $26
db $26, $30, $31, $32, $33, $34, $35, $26
.BackgroundCopyEnd:

137
coins12knight.inc Normal file
View File

@ -0,0 +1,137 @@
Coins12Knight:
db 10, "under way "
db 10, "action "
db 10, " "
db 10, "practical "
db 10, "home "
db 10, "patience "
db 10, "under way "
db 10, "inaction "
db 10, " "
db 10, "apathy "
db 10, "gambling "
db 10, "unreliable"
dw .BackgroundCopyEnd - .BackgroundCopy
dw .BackgroundCopy
dw .KeyArtTilesEnd - .KeyArtTiles
dw .KeyArtTiles
dw .SpriteTilesEnd - .SpriteTiles
dw .SpriteTiles
dw .fInit
dw .fUpdate
dw .fDraw
dw .fPrintPrep
.fInit: ret
.fUpdate: ret
.fDraw: ret
.fPrintPrep: ret
.SpriteTiles:
.SpriteTilesEnd:
.KeyArtTiles:
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$07,$00,$0f,$00,$1f
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$f8,$00,$fc,$00,$fc
db $00,$00,$07,$07,$0f,$0f,$1f,$1f,$3f,$3f,$3f,$3f,$3f,$3f,$3f,$3f
db $00,$00,$e0,$e0,$f0,$f0,$f8,$f8,$f8,$f8,$fc,$fc,$fc,$fc,$fe,$fe
db $00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1f
db $00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fc,$00,$fc,$00,$fc
db $3f,$3f,$3f,$3f,$1f,$1f,$1f,$1f,$0f,$0f,$00,$00,$00,$00,$00,$00
db $fe,$fe,$fe,$fe,$fe,$fe,$fc,$fc,$fc,$fc,$00,$00,$00,$00,$00,$60
db $00,$1f,$00,$0f,$00,$37,$00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$7f
db $00,$f8,$00,$e0,$00,$c0,$00,$80,$00,$ff,$00,$ff,$00,$80,$00,$80
db $00,$01,$00,$07,$00,$0f,$00,$3a,$00,$fc,$00,$f0,$00,$00,$00,$00
db $00,$f0,$00,$e0,$00,$c0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$7b
db $00,$81,$00,$83,$00,$0f,$00,$1f,$00,$ff,$00,$fe,$00,$fc,$00,$f0
db $00,$80,$00,$c0,$00,$c0,$00,$80,$00,$80,$00,$81,$00,$83,$00,$43
db $00,$00,$00,$0f,$00,$1f,$00,$3f,$00,$ff,$00,$fc,$00,$ff,$00,$ff
db $00,$7f,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$c0,$00,$f0,$00,$f8,$00,$fc,$00,$fe,$00,$ff,$00,$f7
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$f8
db $00,$78,$00,$78,$00,$78,$00,$78,$00,$78,$00,$78,$00,$78,$00,$7c
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$7f,$00,$ff,$00,$ff
db $00,$47,$00,$6f,$00,$3f,$00,$07,$00,$73,$00,$f8,$00,$fe,$00,$ff
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$fe,$00,$3e,$00,$c4
db $00,$ff,$00,$8f,$00,$03,$00,$00,$00,$00,$00,$00,$00,$03,$00,$0e
db $00,$e7,$00,$ef,$00,$de,$00,$dc,$00,$40,$00,$80,$00,$00,$00,$00
db $03,$ff,$07,$ff,$67,$ff,$f3,$f3,$f0,$ff,$66,$ff,$0f,$ff,$0f,$ff
db $00,$fc,$80,$fc,$80,$fc,$30,$36,$78,$fe,$78,$ff,$30,$ff,$00,$ff
db $00,$7e,$00,$7f,$00,$3f,$00,$1f,$00,$0f,$00,$0f,$00,$87,$00,$c3
db $00,$7f,$00,$3f,$00,$3f,$00,$bf,$00,$df,$00,$ff,$00,$ff,$00,$ef
db $00,$ff,$00,$ff,$00,$ff,$00,$ef,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$f1,$00,$fc,$00,$f8,$00,$f8,$00,$f0,$00,$f0,$00,$e0,$00,$80
db $00,$f0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $06,$ff,$00,$ff,$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,$00,$ff,$00,$ff
db $00,$c3,$00,$c1,$00,$e1,$00,$e0,$00,$f0,$00,$f0,$00,$f0,$00,$f0
db $00,$ef,$00,$ff,$00,$f7,$00,$f7,$00,$f7,$00,$f7,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$80,$00,$80,$00,$80,$00,$80,$00,$80
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$c7
db $00,$f8,$00,$f8,$00,$f8,$00,$f0,$00,$f0,$00,$f0,$00,$e0,$00,$c0
db $00,$ff,$00,$ff,$00,$ff,$00,$f7,$00,$f7,$00,$f3,$00,$f0,$00,$f0
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$9f,$00,$07,$00,$07
db $00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$e0,$00,$f0,$00,$f8,$00,$fc
db $00,$c0,$00,$c0,$00,$c0,$00,$e0,$00,$f0,$00,$f8,$00,$fc,$00,$fc
db $00,$01,$00,$03,$00,$07,$00,$07,$00,$03,$00,$00,$00,$00,$00,$00
db $00,$f0,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$00,$00,$00,$00,$01
db $00,$01,$00,$80,$00,$c0,$00,$c0,$00,$80,$00,$30,$00,$78,$00,$f8
db $00,$fe,$00,$ff,$00,$5f,$00,$0f,$00,$0f,$00,$07,$00,$0f,$00,$0f
db $00,$00,$00,$00,$00,$00,$00,$80,$00,$80,$00,$80,$00,$80,$00,$00
db $00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$fe
db $00,$03,$00,$03,$00,$03,$00,$03,$00,$07,$00,$0f,$00,$1f,$00,$3f
db $00,$f8,$00,$f0,$00,$e0,$00,$e0,$00,$e0,$00,$c1,$00,$81,$00,$01
db $00,$0f,$00,$1f,$00,$1e,$00,$1e,$00,$7e,$00,$fe,$00,$fc,$00,$fc
db $00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$f8,$00,$f0
db $00,$00,$00,$01,$00,$07,$00,$0f,$00,$0f,$00,$07,$00,$00,$00,$00
db $00,$7e,$00,$fd,$00,$f8,$00,$e8,$00,$c0,$00,$80,$00,$04,$00,$00
db $00,$01,$00,$00,$00,$40,$00,$00,$00,$00,$00,$00,$00,$00,$00,$60
db $00,$fc,$00,$f8,$00,$60,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$c0,$00,$80,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0f
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$00,$0f,$00,$ff
db $00,$00,$00,$00,$00,$3e,$00,$3e,$00,$3f,$00,$8f,$00,$e0,$00,$ff
db $00,$00,$00,$0f,$00,$ff,$00,$3f,$00,$bf,$00,$bf,$00,$3f,$00,$ff
db $00,$c6,$00,$f3,$00,$f8,$00,$fe,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$20,$00,$00,$00,$c1,$00,$20,$00,$8c,$00,$e1,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$7c,$00,$7f,$00,$7f,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$80,$00,$c0,$00,$e0,$00,$f8,$00,$f8
db $00,$bf,$00,$9b,$00,$97,$00,$8f,$00,$97,$00,$9b,$00,$dd,$00,$ff
db $00,$8d,$00,$95,$00,$95,$00,$95,$00,$99,$00,$9d,$00,$dd,$00,$ff
db $00,$ef,$00,$e7,$00,$e7,$00,$e7,$00,$e7,$00,$e7,$00,$f7,$00,$ff
db $00,$87,$00,$9b,$00,$9f,$00,$9f,$00,$91,$00,$9b,$00,$c3,$00,$ff
db $00,$bf,$00,$9d,$00,$9d,$00,$81,$00,$9d,$00,$9d,$00,$dd,$00,$ff
db $00,$81,$00,$a5,$00,$e7,$00,$e7,$00,$e7,$00,$e7,$00,$f7,$00,$ff
db $00,$ff,$00,$c7,$00,$9b,$00,$9b,$00,$9b,$00,$c7,$00,$ff,$00,$ff
db $00,$f1,$00,$e7,$00,$c3,$00,$e7,$00,$e7,$00,$e7,$00,$ff,$00,$ff
db $00,$fc,$00,$f8,$00,$f9,$00,$f9,$00,$f9,$00,$f9,$00,$fc,$00,$ff
db $00,$3c,$00,$d9,$00,$d9,$00,$f9,$00,$f9,$00,$dc,$00,$3e,$00,$ff
db $00,$3e,$00,$9e,$00,$de,$00,$de,$00,$de,$00,$de,$00,$1f,$00,$ff
db $00,$f8,$00,$79,$00,$79,$00,$79,$00,$79,$00,$79,$00,$7d,$00,$ff
db $00,$dc,$00,$59,$00,$59,$00,$5c,$00,$9f,$00,$d9,$00,$dc,$00,$ff
db $00,$7f,$00,$bf,$00,$ff,$00,$7f,$00,$bf,$00,$bf,$00,$7f,$00,$ff
.KeyArtTilesEnd:
.BackgroundCopy: ; tiles start at 26
db $1a, $1a, $1a, $1a, $1a, $1a, $1a, $1a
db $1a, $1a, $1b, $1c, $1d, $1e, $1a, $1a
db $1a, $1a, $1f, $20, $21, $22, $1a, $1a
db $1a, $1a, $23, $24, $25, $26, $1a, $1a
db $1a, $1a, $27, $28, $29, $2a, $2b, $2c
db $2d, $2e, $2f, $30, $31, $32, $33, $34
db $35, $36, $37, $38, $39, $3a, $3b, $1a
db $3c, $3d, $3e, $3f, $3d, $40, $1a, $1a
db $41, $3d, $42, $43, $44, $45, $1a, $1a
db $46, $1a, $47, $48, $49, $4a, $4b, $1a
db $4c, $1a, $1a, $4d, $4e, $4f, $1a, $1a
db $50, $1a, $51, $52, $53, $54, $1a, $1a
db $55, $56, $57, $58, $59, $5a, $5b, $5c
db $3d, $5d, $5e, $5f, $60, $61, $62, $3d
db $3d, $3d, $3d, $63, $64, $3d, $3d, $3d
db $3d, $65, $66, $67, $68, $69, $6a, $3d
.BackgroundCopyEnd:

View File

@ -1,17 +1,14 @@
; this is a card struct
; starts with five length-prefixed strings in memory
; then a 16bit value of the offset between the tile set and the end
; then the 16bit address of the tile set
; then a 16bit value of the offset between tile map and end
; then the 16bit address of the tile map
Cups11Page:
db 10, "PAGE OF "
db 10, "CUPS "
db 10, "good news "
db 10, "messenger "
db 10, " "
db 10, "dreamer "
db 10, "new love "
db 10, "imagine "
db 10, "bad news "
db 10, "messenger "
db 10, " "
db 10, "childish "
db 10, "seduction "
db 10, "envy "
@ -43,22 +40,20 @@ Cups11Page:
db $00,$00,$00,$00,$00,$7f,$00,$fe,$00,$fd,$00,$fb,$00,$e7,$00,$df
db $00,$00,$00,$00,$00,$7e,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$80,$00,$80,$00,$40
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$11,$00,$1b,$00,$1f,$00,$1f
db $00,$00,$00,$00,$00,$00,$00,$c0,$00,$f0,$00,$f0,$00,$f0,$00,$e0
db $00,$07,$00,$07,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$df,$00,$90,$00,$27,$00,$0f,$00,$0f,$00,$0f,$00,$07,$00,$01
db $00,$df,$00,$d0,$00,$27,$00,$0f,$00,$0f,$00,$0f,$00,$07,$00,$01
db $00,$fe,$00,$01,$00,$fb,$00,$fb,$00,$fb,$00,$fb,$00,$fb,$00,$f9
db $00,$c0,$00,$c0,$00,$e0,$00,$e0,$00,$e0,$00,$c0,$00,$c0,$00,$d0
db $00,$1f,$00,$0f,$00,$0f,$00,$0f,$00,$0f,$00,$0f,$00,$0f,$00,$0f
db $00,$e0,$00,$e0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$80,$00,$80
db $00,$1b,$00,$1f,$00,$1f,$00,$1f,$00,$0f,$00,$0f,$00,$0f,$00,$0f
db $00,$f0,$00,$f0,$00,$e0,$00,$e0,$00,$e0,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$3f,$3f,$3f,$3f,$1f,$1f,$0f,$0f,$07,$07
db $00,$f8,$00,$fe,$00,$00,$ff,$ff,$ff,$ff,$fe,$fe,$fc,$fc,$f8,$f8
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$00,$01,$00,$01,$00,$01
db $00,$01,$00,$02,$00,$7f,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$f4,$00,$06,$00,$fe,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$dc,$00,$df,$00,$1f,$00,$3f,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$0f,$00,$0f,$00,$8f,$00,$cf,$00,$e0,$00,$fe,$00,$ff,$00,$ff
db $00,$80,$00,$80,$00,$80,$00,$80,$00,$80,$00,$00,$00,$80,$00,$c0
db $00,$0f,$00,$0f,$00,$8f,$00,$cf,$00,$e1,$00,$fe,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$80,$00,$80,$00,$80,$00,$00,$00,$80,$00,$c0
db $07,$07,$03,$03,$01,$01,$00,$00,$00,$00,$00,$01,$00,$01,$00,$01
db $f8,$f8,$f0,$f0,$e0,$e0,$c0,$c0,$00,$00,$00,$e0,$00,$f0,$00,$ff
db $00,$03,$00,$03,$00,$07,$00,$1f,$00,$3f,$00,$3f,$00,$ff,$00,$7f
@ -68,7 +63,7 @@ Cups11Page:
db $00,$01,$00,$01,$00,$01,$00,$01,$00,$00,$00,$00,$01,$01,$07,$07
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$07,$c0,$c0,$e0,$e0,$f8,$f8
db $00,$bf,$00,$bf,$00,$df,$00,$df,$00,$ef,$00,$0f,$00,$07,$00,$00
db $00,$fb,$00,$fb,$00,$f7,$00,$f7,$00,$f7,$00,$ef,$00,$c7,$00,$07
db $00,$ff,$00,$ff,$00,$f7,$00,$f7,$00,$f7,$00,$e7,$00,$c7,$00,$07
db $00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$f8,$00,$f8,$00,$f8
db $07,$07,$01,$01,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $f8,$f8,$e0,$e0,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
@ -91,12 +86,12 @@ Cups11Page:
db $00,$07,$00,$0f,$00,$0f,$00,$0f,$00,$0f,$00,$1f,$00,$1f,$00,$1f
db $00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$f0
db $00,$0f,$00,$0f,$00,$0f,$00,$0f,$00,$1f,$00,$1f,$00,$1f,$00,$1f
db $00,$e0,$00,$e0,$00,$e0,$00,$f0,$00,$f0,$00,$e0,$00,$e0,$00,$e0
db $00,$e0,$00,$e0,$00,$e0,$00,$e0,$00,$e0,$00,$e0,$00,$e0,$00,$e0
db $00,$3f,$00,$3f,$00,$3f,$00,$3f,$00,$3f,$00,$0f,$00,$30,$00,$3e
db $00,$e0,$00,$e0,$00,$e0,$00,$c0,$00,$c0,$00,$80,$00,$00,$00,$00
db $00,$1f,$00,$1f,$00,$1f,$00,$0f,$00,$0f,$00,$0f,$00,$00,$00,$07
db $00,$e0,$00,$e0,$00,$e0,$00,$c0,$00,$c0,$00,$c0,$00,$00,$00,$e0
db $00,$00,$00,$00,$00,$00,$00,$01,$00,$07,$00,$3f,$00,$3f,$00,$3f
db $00,$e0,$00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$00,$00,$c0
db $00,$00,$00,$00,$00,$00,$00,$01,$00,$07,$00,$1f,$00,$3f,$00,$3f
db $00,$7e,$00,$7e,$00,$7e,$00,$fe,$00,$fe,$00,$fe,$00,$fe,$00,$e0
db $00,$07,$00,$07,$00,$07,$00,$07,$00,$07,$00,$07,$00,$07,$00,$03
db $00,$c0,$00,$c0,$00,$c0,$00,$e0,$00,$f0,$00,$f8,$00,$f8,$00,$fc
@ -104,7 +99,7 @@ Cups11Page:
db $00,$fe,$00,$1e,$00,$c0,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$07,$00,$1f,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$80,$00,$f0,$00,$fe,$00,$ff,$00,$ff,$00,$fe
db $00,$00,$00,$00,$00,$80,$00,$f0,$00,$fe,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$fe,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$0e,$00,$1e,$00,$3e,$00,$6a,$00,$7e
@ -117,23 +112,26 @@ Cups11Page:
db $00,$c3,$00,$8d,$00,$9d,$00,$9f,$00,$9f,$00,$9d,$00,$c3,$00,$ff
db $00,$bf,$00,$9d,$00,$9d,$00,$9d,$00,$9d,$00,$9d,$00,$c3,$00,$ff
db $00,$c7,$00,$9b,$00,$9f,$00,$c7,$00,$fb,$00,$9b,$00,$c7,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$11
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$c0,$00,$f0
.KeyArtTilesEnd:
.BackgroundCopy: ; tiles start at 26
db $1a, $1a, $1c, $1d, $1e, $1f, $20, $21
db $1a, $60, $22, $23, $24, $25, $26, $27
db $28, $29, $2a, $2b, $2c, $2d, $2e, $2f
db $30, $31, $32, $1b, $1b, $33, $34, $35
db $36, $37, $38, $39, $1b, $3a, $1a, $1a
db $3b, $3c, $1a, $3d, $3e, $3f, $1a, $1a
db $1a, $1a, $40, $41, $1b, $42, $43, $1a
db $1a, $1a, $44, $45, $46, $47, $48, $1a
db $1a, $1a, $49, $4a, $4b, $4c, $1a, $1a
db $1a, $1a, $4d, $4e, $4f, $50, $1a, $1a
db $1a, $1a, $51, $52, $53, $54, $1a, $1a
db $1a, $55, $56, $1a, $57, $58, $1a, $1a
db $5b, $59, $5e, $5e, $5f, $5a, $5c, $5d
db $1b, $1b, $61, $62, $63, $64, $1b, $1b
db $1b, $1b, $1b, $65, $66, $1b, $1b, $1b
db $1b, $1b, $67, $68, $61, $69, $1b, $1b
db $1a, $1a, $1c, $1d, $1e, $1f, $68, $69
db $1a, $5e, $20, $21, $22, $23, $24, $25
db $26, $27, $28, $29, $2a, $2b, $2c, $2d
db $2e, $2f, $30, $1b, $1b, $31, $32, $33
db $34, $35, $36, $37, $1b, $38, $1a, $1a
db $39, $3a, $1a, $3b, $3c, $3d, $1a, $1a
db $1a, $1a, $3e, $3f, $1b, $40, $41, $1a
db $1a, $1a, $42, $43, $44, $45, $46, $1a
db $1a, $1a, $47, $48, $49, $4a, $1a, $1a
db $1a, $1a, $4b, $4c, $4d, $4e, $1a, $1a
db $1a, $1a, $4f, $50, $51, $52, $1a, $1a
db $1a, $53, $54, $1a, $55, $56, $1a, $1a
db $59, $57, $5c, $5c, $5d, $58, $5a, $5b
db $1b, $1b, $5f, $60, $61, $62, $1b, $1b
db $1b, $1b, $1b, $63, $64, $1b, $1b, $1b
db $1b, $1b, $65, $66, $5f, $67, $1b, $1b
.BackgroundCopyEnd:

223
main.asm
View File

@ -24,6 +24,7 @@ def CARD_INIT equ INTERRUPT_LCD + 4
def CARD_UPDATE equ CARD_INIT + 4
def CARD_DRAW equ CARD_UPDATE + 4
def CARD_PRINT_PREP equ CARD_DRAW + 4
println "Card Draw is ", CARD_DRAW
; each of these sections is way bgger than it needs to be
@ -81,7 +82,7 @@ SECTION "Header", ROM0[$100]
jp EntryPoint
ds $143 - @, 0
db $00 ; mark this game as not gbc compatible
db $80 ; mark this game as gbc compatible
ds $147 - @, 0 ; skip to the mbc byte
db CART_ROM_MBC1 ; MBC1 with no ram or battery :)
db CART_ROM_128KB
@ -107,6 +108,16 @@ EntryPoint:
ldh [rIE], a
ldh [rIF], a
ld a, [rDeviceType]
cp a, 0
jp z, .doneWithSpeedMode
di
ld a, 1
ld [rSPD], a
stop
ei
.doneWithSpeedMode
ld a, 0
ld hl, ZEROES
ld bc, $200
@ -269,6 +280,8 @@ EntryPoint:
ld a, %11100100
ldh [rBGP], a
ldh [rOBP0], a
call AdjustBGP
call AdjustOBP0
ld a, LCDCF_BLK21 | LCDCF_ON | LCDCF_BGON | LCDCF_OBJON
ldh [rLCDC], a
@ -415,6 +428,214 @@ ArrayClamp:
dec a
ret
AdjustBGP: ; copies the palettes from the DMG mode to the CGB mode
ld a, [rDeviceType]
cp a, 0
ret z ; if we're in DMG mode, we don't need to do anything. else...
ld a, %1000_0000 ; we want to start at bgp color zero and autoincrement BGPI_AUTOINC
ldh [rBCPS], a ; set that
; assume we've just set rBGP to something like %11_10_01_00
ld b, 0
ldh a, [rBGP]
and a, %00000011
ld c, a
sla c
ld hl, DefaultPaletteBGP
add hl, bc ; index into bgp palette so now hl points to color x0 of default bgp
ld a, [hl+]
ldh [rBCPD], a
ld a, [hl]
ldh [rBCPD], a
ld b, 0
ldh a, [rBGP]
and a, %00001100
ld c, a
sra c
ld hl, DefaultPaletteBGP
add hl, bc ; index into bgp palette so now hl points to color x1 of default bgp
ld a, [hl+]
ldh [rBCPD], a
ld a, [hl]
ldh [rBCPD], a
ld b, 0
ldh a, [rBGP]
and a, %00110000
ld c, a
swap c
sla c
ld hl, DefaultPaletteBGP
add hl, bc ; index into bgp palette so now hl points to color x2 of default bgp
ld a, [hl+]
ldh [rBCPD], a
ld a, [hl]
ldh [rBCPD], a
ld b, 0
ldh a, [rBGP]
and a, %11000000
ld c, a
swap c
sra c
ld hl, DefaultPaletteBGP
add hl, bc ; index into bgp palette so now hl points to color x3 of default bgp
ld a, [hl+]
ldh [rBCPD], a
ld a, [hl]
ldh [rBCPD], a
ret
AdjustOBP0:
ld a, [rDeviceType]
cp a, 0
ret z ; if we're in DMG mode, we don't need to do anything. else...
ld a, %1000_0000 ; we want to start at obp color zero and autoincrement BGPI_AUTOINC
ldh [rOCPS], a ; set that
ld b, 0
; assume we've just set rOBP0 to something like %11_10_01_00
ldh a, [rOBP0]
and a, %00000011
ld c, a
sla c
ld hl, DefaultPaletteOBP0
add hl, bc
ld a, [hl+]
ldh [rOCPD], a
ld a, [hl]
ldh [rOCPD], a
ld a, [rOBP0]
and a, %00001100
ld c, a
sra c
ld hl, DefaultPaletteOBP0
add hl, bc ; index into bgp palette so now hl points to color x1 of default bgp
ld a, [hl+]
ldh [rOCPD], a
ld a, [hl]
ldh [rOCPD], a
ldh a, [rOBP0]
and a, %00110000
ld c, a
swap c
sla c
ld hl, DefaultPaletteOBP0
add hl, bc ; index into bgp palette so now hl points to color x2 of default bgp
ld a, [hl+]
ldh [rOCPD], a
ld a, [hl]
ldh [rOCPD], a
ldh a, [rOBP0]
and a, %11000000
ld c, a
swap c
sra c
ld hl, DefaultPaletteOBP0
add hl, bc ; index into bgp palette so now hl points to color x3 of default bgp
ld a, [hl+]
ldh [rOCPD], a
ld a, [hl]
ldh [rOCPD], a
ret
AdjustOBP1:
ld a, [rDeviceType]
cp a, 0
ret z ; if we're in DMG mode, we don't need to do anything. else...
ld a, %1000_0000 | 8 ; we want to start at bgp color zero and autoincrement BGPI_AUTOINC
ldh [rOCPS], a ; set that
; assume we've just set rBGP to something like %11_10_01_00
ld b, 0
ldh a, [rOBP1]
and a, %00000011
ld c, a
sla c
ld hl, DefaultPaletteOBP1
add hl, bc
ld a, [hl+]
ldh [rOCPD], a
ld a, [hl]
ldh [rOCPD], a
ld a, [rOBP1]
and a, %00001100
ld c, a
sra c
ld hl, DefaultPaletteOBP1
add hl, bc ; index into bgp palette so now hl points to color x1 of default bgp
ld a, [hl+]
ldh [rOCPD], a
ld a, [hl]
ldh [rOCPD], a
ldh a, [rOBP1]
and a, %00110000
ld c, a
swap c
sla c
ld hl, DefaultPaletteOBP1
add hl, bc ; index into bgp palette so now hl points to color x2 of default bgp
ld a, [hl+]
ldh [rOCPD], a
ld a, [hl]
ldh [rOCPD], a
ldh a, [rOBP1]
and a, %11000000
ld c, a
swap c
sra c
ld hl, DefaultPaletteOBP1
add hl, bc ; index into bgp palette so now hl points to color x3 of default bgp
ld a, [hl+]
ldh [rOCPD], a
ld a, [hl]
ldh [rOCPD], a
ret
DefaultPaletteBGP:
DefaultPaletteOBP0:
DefaultPaletteOBP1:
; colors are dw %0_Bbbbb_Ggggg_Rrrrr (capitals indicate MSB)
; palette to use for everything
dw %0_11111_11111_11111 ;GBCColorFromRGB(0xFFFFFF)
dw %0_11101_10000_01110 ;GBCColorFromRGB(0x63A5FF)
dw %0_11011_00000_00110 ;GBCColorFromRGB(0x0000FF)
dw %0_00000_00000_00000 ;GBCColorFromRGB(0x000000)
; a different reddish palette
dw %0_11111_11111_11111 ; GBCColorFromRGB(0xFFFFFF)
dw %0_10000_10000_11111 ; GBCColorFromRGB(0xFF8484)
dw %0_00111_00111_10010 ;GBCColorFromRGB(0x943A3A)
dw %0_00000_00000_00000 ; GBCColorFromRGB(0x000000)
PassList: ; hl has the address of a list. step past it.
ld b, 0
ld c, [hl] ; bc has length

Binary file not shown.

View File

@ -1,17 +1,14 @@
; this is a card struct
; starts with five length-prefixed strings in memory
; then a 16bit value of the offset between the tile set and the end
; then the 16bit address of the tile set
; then a 16bit value of the offset between tile map and end
; then the 16bit address of the tile map
Swords11Page:
db 10, "PAGE OF "
db 10, "SWORDS "
db 10, "good news "
db 10, "messenger "
db 10, " "
db 10, "curious "
db 10, "quick wit "
db 10, "direct "
db 10, "bad news "
db 10, "messenger "
db 10, " "
db 10, "defensive "
db 10, "cynical "
db 10, "cold "
@ -37,7 +34,7 @@ Swords11Page:
.KeyArtTiles:
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$03,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$fc,$00,$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,$00,$ff,$00,$ff
db $00,$83,$00,$cd,$00,$cd,$00,$c1,$00,$cf,$00,$cf,$00,$ef,$00,$ff
db $00,$c7,$00,$cb,$00,$cd,$00,$c1,$00,$cd,$00,$cd,$00,$cd,$00,$ff
@ -50,81 +47,85 @@ Swords11Page:
db $00,$07,$00,$9b,$00,$9b,$00,$83,$00,$97,$00,$9b,$00,$dc,$00,$ff
db $00,$07,$00,$9b,$00,$9d,$00,$9d,$00,$9d,$00,$9d,$00,$c3,$00,$ff
db $00,$c7,$00,$9b,$00,$9f,$00,$c7,$00,$fb,$00,$9b,$00,$c7,$00,$ff
db $00,$c0,$00,$fc,$00,$fc,$00,$f8,$00,$f0,$00,$e0,$00,$c7,$00,$1f
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$e0,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$04,$00,$00,$00,$02,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$00,$01,$00,$03,$00,$03
db $00,$07,$00,$1f,$00,$7f,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$03,$00,$03,$00,$03,$00,$01,$00,$01,$00,$01,$00,$01,$00,$01
db $00,$00,$00,$00,$00,$00,$ff,$ff,$ff,$ff,$00,$00,$00,$00,$00,$00
db $00,$f3,$00,$f9,$00,$0c,$e0,$e0,$ff,$ff,$3f,$3f,$00,$00,$00,$1f
db $00,$ff,$00,$ff,$00,$3f,$00,$07,$f8,$f8,$ff,$ff,$01,$01,$00,$fe
db $00,$fc,$00,$fe,$00,$fe,$00,$06,$70,$70,$fc,$fc,$fe,$fe,$fe,$fe
db $00,$1f,$00,$0f,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$ff,$00,$ff,$00,$07,$00,$00,$00,$03,$00,$01,$00,$0f,$00,$1f
db $06,$f6,$07,$f7,$06,$e6,$02,$02,$03,$f3,$01,$f9,$00,$fc,$00,$ff
db $00,$03,$00,$07,$00,$07,$00,$0f,$00,$0f,$00,$0f,$00,$0f,$00,$0f
db $00,$cf,$00,$ef,$00,$ef,$00,$ef,$00,$ef,$00,$e7,$00,$f7,$00,$e7
db $00,$e0,$00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$c0
db $00,$c7,$00,$03,$00,$03,$00,$03,$00,$01,$00,$00,$00,$00,$00,$00
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$3f,$00,$1f,$00,$07
db $00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$a0,$00,$b0,$00,$78,$00,$7c
db $00,$00,$00,$00,$00,$40,$00,$40,$00,$40,$00,$40,$00,$00,$00,$00
db $00,$00,$00,$80,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$ff,$00,$ff,$00,$ff,$00,$fc,$01,$01,$ff,$ff,$ff,$ff,$0f,$0f
db $00,$38,$00,$00,$00,$80,$00,$c0,$00,$e0,$00,$f0,$00,$f8,$00,$fc
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$e0
db $00,$fe,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$80,$00,$80,$00,$c0,$00,$c0,$00,$c0,$00,$e0,$00,$e0,$00,$e0
db $00,$00,$00,$00,$00,$c0,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$f8,$00,$03,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$80,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$e0,$00,$c0,$00,$00,$00,$f8,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$01,$00,$00,$00,$fe,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$0f,$00,$0f,$00,$07,$00,$07,$00,$07,$00,$03,$00,$00,$00,$01
db $00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$f0
db $00,$f0,$00,$f0,$00,$00,$00,$f8,$00,$fc,$00,$fc,$00,$fc,$00,$80
db $00,$01,$00,$01,$00,$00,$00,$0f,$00,$1f,$00,$3f,$00,$7f,$00,$ff
db $00,$e0,$00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$e0,$00,$e0
db $00,$ff,$00,$ff,$00,$fe,$00,$f8,$00,$f0,$00,$c0,$00,$10,$00,$f0
db $00,$01,$00,$01,$00,$01,$00,$01,$00,$01,$00,$01,$00,$01,$00,$01
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$00,$01
db $00,$00,$00,$00,$7f,$7f,$7f,$7f,$01,$01,$00,$00,$00,$00,$00,$00
db $00,$ff,$00,$ef,$00,$ef,$00,$f7,$00,$f7,$00,$f7,$00,$f7,$00,$f7
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$fe,$00,$fc
db $00,$1f,$00,$3f,$00,$3f,$00,$7f,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$ff,$00,$7e,$00,$3e,$00,$1e,$00,$0d,$00,$05,$00,$01,$00,$03
db $00,$00,$00,$c0,$00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$f0
db $00,$03,$00,$03,$00,$03,$00,$03,$00,$01,$00,$01,$00,$01,$00,$01
db $00,$f0,$00,$e0,$00,$e0,$00,$e0,$00,$e0,$00,$e0,$00,$e0,$00,$e0
db $3e,$3e,$9c,$9c,$dc,$dd,$78,$79,$f0,$f3,$f0,$f7,$00,$07,$00,$ff
db $00,$0f,$00,$0f,$00,$07,$00,$07,$00,$0f,$00,$0f,$00,$1f,$00,$1f
db $00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$3f,$00,$3f,$00,$80
db $00,$7f,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$df,$00,$df,$00,$df
db $00,$07,$00,$1f,$00,$3f,$00,$7f,$00,$7f,$00,$03,$00,$3c,$00,$7e
db $00,$00,$00,$c0,$00,$f8,$00,$f8,$00,$fc,$00,$fc,$00,$fc,$00,$38
db $00,$ff,$00,$ff,$00,$3f,$00,$3f,$00,$3f,$00,$3f,$00,$0f,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$06,$00,$06,$00,$06
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$30,$00,$78,$00,$f8
db $00,$f8,$00,$f0,$00,$e0,$00,$80,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$c0,$00,$f8,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$00,$3c,$3c,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$03,$00,$07,$00,$1f,$00,$7f
db $00,$00,$00,$0e,$00,$3f,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$80,$00,$c0,$00,$e0,$00,$e0,$00,$f0
db $00,$7e,$00,$7d,$00,$fb,$00,$fb,$00,$7b,$00,$03,$00,$03,$00,$03
db $00,$07,$00,$fb,$00,$fb,$00,$fb,$00,$fd,$00,$fd,$00,$fe,$00,$ff
db $00,$f0,$00,$f8,$00,$f8,$00,$fc,$00,$fc,$00,$fe,$00,$ff,$00,$7f
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$80
db $00,$03,$00,$01,$00,$00,$00,$00,$00,$00,$00,$00,$00,$03,$00,$06
db $00,$ff,$00,$ff,$00,$ff,$00,$1f,$00,$1f,$00,$ee,$00,$f1,$00,$ff
db $00,$7f,$00,$bf,$00,$bf,$00,$9f,$00,$5f,$00,$ef,$00,$ef,$00,$ef
db $00,$c0,$00,$c0,$00,$e0,$00,$e0,$00,$f0,$00,$f0,$00,$f0,$00,$f0
db $00,$0e,$00,$1e,$00,$1e,$00,$1d,$00,$1d,$00,$1d,$00,$1d,$00,$1d
db $00,$e7,$00,$f7,$00,$f1,$00,$fc,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$f0,$00,$f0,$00,$f0,$00,$70,$00,$00,$00,$f0,$00,$f0,$00,$f0
db $00,$0d,$00,$0c,$00,$0e,$00,$06,$00,$07,$00,$07,$00,$03,$00,$03
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$7f,$00,$07,$00,$f8,$00,$ff
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$1f,$00,$e4
db $00,$f8,$00,$f8,$00,$f8,$00,$f8,$00,$fc,$00,$fc,$00,$fc,$00,$7e
db $00,$00,$00,$00,$07,$07,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$ff,$ff,$ff,$ff,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$01,$00,$00,$ff,$ff,$ff,$ff,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$ff,$00,$00,$ff,$ff,$ff,$ff,$00,$00,$00,$0f,$00,$00,$00,$03
db $03,$f3,$07,$07,$ff,$ff,$fe,$fe,$0d,$0d,$08,$e8,$0d,$0d,$06,$06
db $80,$8e,$f0,$f7,$70,$73,$10,$15,$f0,$f6,$30,$37,$d0,$d7,$30,$37
db $00,$00,$00,$00,$00,$00,$00,$80,$00,$80,$00,$00,$00,$c0,$00,$c0
db $00,$01,$00,$00,$00,$00,$00,$00,$00,$03,$00,$07,$00,$07,$00,$0f
db $07,$77,$00,$78,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $e0,$ef,$00,$1f,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$80,$00,$80,$00,$00
db $00,$1f,$00,$1f,$00,$3f,$00,$3f,$00,$7f,$00,$7f,$00,$7f,$00,$7f
db $00,$fe,$00,$fc,$00,$f8,$00,$f8,$00,$f0,$00,$f0,$00,$e0,$00,$d0
db $00,$00,$00,$00,$00,$01,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$7f,$00,$bf,$00,$cf,$00,$f7
db $00,$ff,$00,$ff,$00,$ff,$00,$fe,$00,$fd,$00,$fb,$00,$f7,$00,$cf
db $00,$d0,$00,$b0,$00,$70,$00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$c8
db $00,$f9,$00,$7e,$00,$7f,$00,$7f,$00,$7f,$00,$3f,$00,$3f,$00,$3f
db $00,$bf,$00,$bc,$00,$33,$00,$0f,$00,$03,$00,$01,$00,$80,$00,$80
db $00,$3c,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$7f,$00,$0f
db $00,$00,$00,$00,$00,$c0,$00,$e0,$00,$f0,$00,$f8,$00,$fb,$00,$fb
db $00,$3f,$00,$3f,$00,$3f,$00,$3f,$00,$3f,$00,$3f,$00,$3f,$00,$3f
db $00,$80,$00,$80,$00,$80,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$03,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$f7,$00,$cf,$00,$1f,$00,$7f,$00,$7f,$00,$ff,$00,$fe,$00,$fc
db $00,$00,$00,$80,$00,$80,$00,$80,$00,$80,$00,$80,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$00,$07,$00,$1f,$00,$3f
db $00,$3f,$00,$3e,$00,$00,$00,$7f,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$c0
db $00,$00,$00,$00,$00,$01,$00,$01,$00,$03,$00,$03,$00,$01,$00,$00
db $00,$f8,$00,$f8,$00,$f0,$00,$f0,$00,$e0,$00,$e0,$00,$c0,$00,$01
db $00,$00,$00,$00,$00,$00,$00,$7f,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$3f,$00,$00,$00,$3f,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$f8,$00,$07,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$1f,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$fe,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$07,$00,$1f,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$f0
db $00,$00,$00,$00,$00,$00,$00,$80,$00,$80,$00,$80,$00,$c0,$00,$60
.KeyArtTilesEnd:
.BackgroundCopy:
db $1a, $1a, $1a, $1a, $1a, $5f, $60, $1a
db $1a, $1a, $5c, $5d, $1a, $58, $61, $1a
db $1a, $1a, $5e, $28, $29, $59, $1a, $1a
db $1a, $2b, $2c, $1c, $3f, $51, $1a, $1a
db $1a, $2d, $50, $1c, $40, $3e, $1a, $1a
db $4f, $2e, $2f, $30, $3d, $31, $1a, $1a
db $1a, $1a, $32, $33, $34, $57, $41, $1a
db $1a, $1a, $4e, $52, $5b, $1c, $4b, $1a
db $1a, $1a, $35, $1c, $36, $1c, $37, $1a
db $1a, $1a, $47, $4c, $38, $39, $3a, $1a
db $1a, $1a, $4d, $48, $1a, $1a, $53, $54
db $1a, $1a, $4a, $49, $1a, $1a, $55, $56
db $42, $1b, $43, $5a, $1c, $44, $46, $45
db $1a, $1a, $2d, $2e, $2f, $1a, $1a, $1a
db $1a, $1a, $30, $31, $32, $33, $1a, $1a
db $1a, $1a, $34, $35, $36, $37, $1a, $1a
db $1a, $1a, $38, $1c, $39, $3a, $1a, $1a
db $1a, $1a, $3b, $3c, $3d, $3e, $1a, $1a
db $3f, $40, $41, $42, $43, $44, $45, $1a
db $1a, $1a, $1a, $46, $47, $48, $49, $1a
db $1a, $1a, $1a, $4a, $1c, $4b, $1a, $1a
db $1a, $1a, $4c, $4d, $4e, $4f, $1a, $1a
db $1a, $1a, $1a, $50, $51, $52, $53, $1a
db $1a, $1a, $1a, $54, $55, $56, $57, $58
db $1a, $1a, $59, $5a, $5b, $5c, $5d, $64
db $2b, $5e, $5f, $60, $61, $62, $63, $1b
db $1c, $1c, $1d, $1e, $1f, $20, $1c, $1c
db $1c, $1c, $1c, $21, $22, $1c, $1c, $1c
db $1c, $27, $23, $24, $25, $26, $27, $1c

View File

@ -1,20 +1,17 @@
; this is a card struct
; starts with five length-prefixed strings in memory
; then a 16bit value of the offset between the tile set and the end
; then the 16bit address of the tile set
; then a 16bit value of the offset between tile map and end
; then the 16bit address of the tile map
Wands11Page:
db 10, "PAGE OF "
db 10, "WANDS "
db 10, "good news "
db 10, "messenger "
db 10, " "
db 10, "energy "
db 10, "optimism "
db 10, "creativity"
db 10, "dreamer "
db 10, "new love "
db 10, "imagine "
db 10, "childish "
db 10, "seduction "
db 10, "envy "
db 10, "bad news "
db 10, "messenger "
db 10, " "
db 10, "setbacks "
db 10, "delays "
db 10, "tantrums "
dw .BackgroundCopyEnd - .BackgroundCopy
dw .BackgroundCopy
@ -53,10 +50,9 @@ Wands11Page:
db $00,$00,$00,$00,$00,$00,$00,$07,$00,$1f,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$07,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$ff,$00,$00,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$c0,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$f0,$00,$00,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$80,$00,$f0,$00,$fe,$00,$ff,$00,$ff,$00,$fe
db $00,$00,$00,$00,$00,$80,$00,$f0,$00,$fe,$00,$ff,$00,$ff,$00,$ff
db $00,$83,$00,$cd,$00,$cd,$00,$c1,$00,$cf,$00,$cf,$00,$ef,$00,$ff
db $00,$c7,$00,$cb,$00,$cd,$00,$c1,$00,$cd,$00,$cd,$00,$cd,$00,$ff
db $00,$87,$00,$9b,$00,$9f,$00,$9f,$00,$91,$00,$9b,$00,$c3,$00,$ff
@ -69,83 +65,76 @@ Wands11Page:
db $00,$d0,$00,$59,$00,$59,$00,$59,$00,$99,$00,$d9,$00,$dc,$00,$ff
db $00,$7c,$00,$b9,$00,$d9,$00,$dc,$00,$df,$00,$d9,$00,$3c,$00,$ff
db $00,$7f,$00,$bf,$00,$ff,$00,$7f,$00,$bf,$00,$bf,$00,$7f,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$0f,$00,$3f,$00,$7f
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$f0,$00,$f8,$00,$f8
db $00,$7f,$00,$7f,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$f8,$00,$f8,$00,$fc,$00,$fc,$00,$fe,$00,$fe,$00,$fc,$00,$fd
db $07,$07,$07,$07,$07,$07,$07,$07,$07,$07,$00,$00,$00,$03,$00,$0f
db $e0,$e0,$e0,$e0,$e0,$e0,$e0,$e0,$c0,$c0,$00,$00,$00,$80,$00,$c0
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$c7,$00,$87,$00,$07,$00,$03
db $00,$fd,$00,$fd,$00,$f9,$00,$e1,$00,$e1,$00,$e1,$00,$f0,$00,$fe
db $00,$f0,$00,$f8,$00,$fc,$00,$fc,$00,$fc,$00,$f8,$00,$f8,$00,$fb
db $00,$00,$00,$00,$00,$01,$00,$07,$00,$0f,$00,$1f,$00,$7f,$00,$ff
db $00,$3f,$00,$ff,$00,$ff,$00,$fc,$01,$f9,$03,$e3,$03,$c3,$03,$83
db $00,$c0,$00,$80,$00,$00,$00,$00,$80,$80,$c0,$c0,$c0,$c0,$c0,$c0
db $00,$38,$00,$3f,$00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$7f
db $00,$3e,$00,$8e,$00,$f0,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$f3,$00,$f7,$00,$f7,$00,$f7,$00,$f7,$00,$f6,$00,$f0,$00,$f8
db $00,$fe,$00,$fc,$00,$f0,$00,$c0,$00,$80,$00,$00,$00,$00,$00,$00
db $00,$3f,$00,$0f,$00,$67,$00,$38,$00,$1e,$00,$1f,$00,$0f,$00,$0f
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$1f,$00,$e0,$00,$ff,$00,$ff
db $00,$f8,$00,$f8,$00,$f8,$00,$f8,$00,$30,$00,$04,$00,$fe,$00,$ff
db $00,$07,$00,$07,$00,$03,$00,$03,$00,$01,$00,$00,$00,$00,$00,$00
db $00,$01,$00,$01,$00,$01,$00,$01,$00,$01,$00,$01,$00,$01,$00,$01
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$80,$00,$80
db $00,$ff,$00,$ff,$00,$7f,$00,$7f,$00,$3f,$00,$3f,$00,$1f,$00,$1f
db $00,$fb,$00,$fb,$00,$fb,$00,$fb,$00,$fb,$00,$f3,$00,$f7,$00,$f7
db $00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$e0,$00,$e0,$00,$e0
db $00,$1f,$00,$0f,$00,$0f,$00,$0f,$00,$07,$00,$07,$00,$0f,$00,$1f
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$00,$03,$00,$07,$00,$07
db $00,$3f,$00,$7f,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$fe,$00,$fe
db $00,$f7,$00,$f7,$00,$e7,$00,$cf,$00,$9f,$00,$3f,$00,$7f,$00,$7f
db $00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$c0
db $00,$07,$00,$0f,$00,$0f,$00,$0f,$00,$1f,$00,$ff,$00,$ff,$00,$ff
db $00,$fc,$00,$f8,$00,$f0,$00,$e0,$00,$c0,$00,$80,$00,$80,$00,$00
db $00,$7f,$00,$7f,$00,$7f,$00,$7f,$00,$3f,$00,$3f,$00,$3f,$00,$3f
db $00,$ff,$00,$ff,$00,$ff,$00,$7f,$00,$3f,$00,$1f,$00,$07,$00,$07
db $00,$00,$00,$80,$00,$80,$00,$c0,$00,$f0,$00,$f8,$00,$f8,$00,$f0
db $00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$0f
db $00,$80,$00,$80,$00,$80,$00,$f0,$00,$fe,$00,$ff,$00,$ff,$00,$ff
db $00,$01,$00,$fe,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$03,$03,$07,$07,$07,$07,$07,$07,$07,$07,$07,$07
db $00,$00,$00,$00,$80,$80,$c0,$c0,$c0,$c0,$e0,$e0,$e0,$e0,$e0,$e0
db $03,$03,$03,$03,$03,$03,$03,$03,$03,$03,$03,$03,$03,$03,$03,$03
db $c0,$c0,$c0,$c0,$80,$80,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0
db $03,$03,$03,$03,$03,$03,$03,$03,$03,$03,$03,$03,$01,$01,$00,$00
db $80,$80,$80,$80,$80,$80,$80,$80,$80,$80,$80,$80,$80,$80,$00,$00
db $c0,$c0,$80,$80,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$c0,$80,$80
db $80,$80,$80,$80,$80,$80,$80,$80,$80,$80,$80,$80,$80,$80,$80,$80
db $00,$00,$00,$00,$00,$01,$00,$07,$00,$0f,$00,$1f,$00,$1f,$00,$1f
db $00,$00,$00,$38,$00,$fe,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$fc
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$80,$00,$80,$00,$80,$00,$00
db $00,$00,$00,$00,$70,$70,$f8,$f8,$f8,$f8,$fc,$fc,$fc,$fc,$fc,$fc
db $00,$3f,$00,$3f,$00,$3f,$00,$3f,$00,$3f,$00,$3f,$00,$1f,$00,$1f
db $00,$80,$00,$c0,$00,$e0,$00,$e0,$00,$e0,$00,$de,$00,$df,$00,$df
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$80
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$00,$03,$00,$0b
db $fc,$fc,$fc,$fc,$00,$00,$00,$3e,$00,$fe,$00,$fe,$00,$fe,$00,$fc
db $00,$1f,$00,$0f,$00,$07,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01
db $00,$df,$00,$df,$00,$de,$00,$1e,$00,$3f,$00,$3f,$00,$7f,$00,$ff
db $00,$df,$00,$9f,$00,$1f,$00,$1f,$00,$03,$00,$ec,$00,$ef,$00,$ef
db $00,$c0,$00,$c0,$00,$c0,$00,$81,$00,$87,$00,$3f,$00,$bf,$00,$bf
db $00,$1d,$00,$3d,$00,$fc,$00,$fc,$00,$f8,$00,$f0,$00,$e0,$00,$c0
db $00,$fc,$00,$fc,$00,$00,$78,$78,$78,$78,$78,$78,$78,$78,$78,$78
db $00,$03,$00,$07,$00,$07,$00,$07,$00,$07,$00,$07,$00,$07,$00,$03
db $00,$ff,$00,$ff,$00,$f8,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$ef,$00,$ef,$00,$ef,$00,$2f,$00,$df,$00,$ff,$00,$ff,$00,$ff
db $00,$7f,$00,$7e,$00,$7c,$00,$78,$00,$60,$00,$00,$00,$80,$00,$80
db $00,$80,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $78,$78,$70,$70,$78,$78,$78,$78,$78,$78,$78,$78,$78,$78,$78,$78
db $00,$04,$00,$07,$00,$03,$00,$01,$00,$01,$00,$00,$00,$00,$00,$00
db $00,$ff,$00,$7f,$00,$8f,$00,$f1,$00,$fe,$00,$ff,$00,$ff,$00,$7f
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$00,$00,$ff,$00,$ff,$00,$ff
db $00,$80,$00,$80,$00,$80,$00,$00,$00,$40,$00,$e0,$00,$f0,$00,$f0
db $70,$70,$78,$78,$78,$78,$78,$78,$78,$78,$78,$78,$70,$70,$70,$70
db $00,$7f,$00,$3f,$00,$3f,$00,$1e,$00,$00,$00,$0f,$00,$1f,$00,$1f
db $00,$ff,$00,$ff,$00,$ff,$00,$03,$00,$f8,$00,$ff,$00,$ff,$00,$ff
db $00,$f8,$00,$f8,$00,$f8,$00,$f8,$00,$78,$00,$80,$00,$fc,$00,$fe
db $70,$70,$70,$70,$70,$70,$70,$70,$70,$70,$70,$70,$70,$70,$70,$70
db $00,$1f,$00,$1f,$00,$1f,$00,$1f,$00,$0f,$00,$0f,$00,$0f,$00,$0f
db $00,$fe,$00,$fe,$00,$ff,$00,$ff,$00,$ff,$00,$ef,$00,$ef,$00,$df
db $00,$07,$00,$07,$00,$03,$00,$03,$00,$03,$00,$01,$00,$01,$00,$01
db $00,$df,$00,$df,$00,$df,$00,$df,$00,$de,$00,$be,$00,$be,$00,$bc
db $70,$70,$70,$70,$70,$70,$70,$70,$70,$70,$30,$30,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$00,$01
db $00,$01,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$e0
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$03
db $00,$07,$00,$07,$00,$07,$00,$07,$00,$07,$00,$07,$00,$0f,$00,$0f
db $00,$0f,$00,$0f,$00,$0f,$00,$0f,$00,$07,$00,$07,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$80,$00,$80,$00,$c0,$00,$c0
db $00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$c0,$00,$80,$00,$80
db $00,$80,$00,$80,$00,$80,$00,$80,$00,$80,$00,$80,$00,$80,$00,$80
db $00,$fe,$00,$fe,$00,$fe,$00,$fc,$00,$fd,$00,$fd,$00,$fd,$00,$f9
db $00,$ff,$00,$ff,$00,$ff,$00,$fe,$00,$30,$00,$87,$00,$ff,$00,$ff
db $00,$e0,$00,$e0,$00,$e0,$00,$f0,$00,$f0,$00,$f0,$00,$f0,$00,$f0
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$fe,$00,$fe
db $00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$e0,$00,$0f,$00,$ff,$00,$ff
db $00,$ff,$00,$ff,$00,$ff,$00,$7f,$00,$7f,$00,$ff,$00,$ff,$00,$ff
db $00,$bc,$00,$bc,$00,$bc,$00,$7c,$00,$7c,$00,$7c,$00,$7c,$00,$7c
db $00,$03,$00,$07,$00,$0f,$00,$0f,$00,$1f,$00,$3f,$00,$7f,$00,$7f
db $00,$ff,$00,$ff,$00,$fe,$00,$fd,$00,$fb,$00,$f3,$00,$e3,$00,$e3
db $00,$7c,$00,$7c,$00,$fc,$00,$fc,$00,$fc,$00,$fc,$00,$f8,$00,$f8
db $00,$00,$00,$01,$00,$03,$00,$01,$00,$00,$00,$03,$00,$07,$00,$0f
db $00,$ff,$00,$ff,$00,$ff,$00,$fe,$00,$fc,$00,$78,$00,$b8,$00,$c0
db $00,$c3,$00,$83,$00,$03,$00,$03,$00,$03,$00,$03,$00,$03,$00,$03
db $00,$f8,$00,$f8,$00,$f8,$00,$f8,$00,$f8,$00,$f8,$00,$f8,$00,$fc
db $00,$1f,$00,$1f,$00,$0f,$00,$07,$00,$03,$00,$01,$00,$00,$00,$00
db $00,$f0,$00,$f8,$00,$f8,$00,$f8,$00,$fe,$00,$ff,$00,$7f,$00,$7f
db $00,$03,$00,$00,$00,$01,$00,$01,$00,$01,$00,$01,$00,$01,$00,$01
db $00,$fc,$00,$3c,$00,$c0,$00,$fe,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$80,$00,$f0,$00,$f8,$00,$f8
db $00,$03,$00,$f8,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff,$00,$ff
db $00,$f1,$00,$c7,$00,$df,$00,$9f,$00,$bf,$00,$bf,$00,$9f,$00,$df
.KeyArtTilesEnd:
.BackgroundCopy: ; tiles start at 26
db $1a, $3a, $3b, $1a, $1a, $60, $61, $1a
db $6b, $3c, $3d, $6a, $1a, $3e, $3f, $1a
db $6c, $40, $41, $42, $43, $44, $45, $1a
db $6d, $46, $47, $48, $49, $62, $63, $1a
db $1a, $4a, $4b, $4c, $1a, $62, $66, $1a
db $1a, $4d, $75, $72, $6e, $62, $67, $1a
db $1a, $4e, $26, $74, $73, $62, $67, $1a
db $1a, $1a, $50, $71, $52, $64, $65, $1a
db $1a, $1a, $53, $51, $57, $1a, $1a, $1a
db $1a, $54, $55, $56, $6f, $1a, $1a, $1a
db $68, $58, $59, $5a, $70, $1a, $1a, $1a
db $69, $5b, $5c, $5d, $5e, $4f, $1a, $1a
db $27, $28, $29, $5f, $2a, $2b, $2c, $2d
db $26, $26, $2e, $2f, $30, $31, $26, $26
db $26, $26, $26, $32, $33, $26, $26, $26
db $26, $34, $35, $36, $37, $38, $39, $26
db $1a, $39, $3a, $3b, $1a, $1a, $3c, $1a
db $1a, $3d, $6c, $3e, $3f, $40, $41, $1a
db $1a, $42, $43, $44, $45, $46, $47, $1a
db $1a, $48, $49, $4a, $4b, $4c, $4d, $1a
db $1a, $4e, $4f, $50, $51, $1a, $52, $1a
db $1a, $1a, $53, $54, $55, $1a, $56, $1a
db $1a, $1a, $57, $26, $58, $1a, $56, $1a
db $1a, $1a, $59, $26, $5a, $1a, $5b, $1a
db $1a, $1a, $5c, $5d, $5e, $1a, $1a, $1a
db $1a, $1a, $5f, $60, $61, $1a, $1a, $1a
db $1a, $62, $63, $64, $65, $1a, $1a, $1a
db $1a, $66, $67, $68, $69, $6a, $1a, $1a
db $27, $28, $29, $29, $6b, $2a, $2b, $2c
db $26, $26, $2d, $2e, $2f, $30, $26, $26
db $26, $26, $26, $31, $32, $26, $26, $26
db $26, $33, $34, $35, $36, $37, $38, $26
.BackgroundCopyEnd: