Skip to content

Commit

Permalink
Split banks
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectroDeoxys committed Jul 13, 2024
1 parent bb5b3ec commit f89c665
Show file tree
Hide file tree
Showing 36 changed files with 3,026 additions and 3,027 deletions.
89 changes: 89 additions & 0 deletions src/data/clear/framesets.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
Frameset_d5045::
db $00, 3
db $01, 3
db $ff

Frameset_d504a::
db $02, 3
db $03, 3
db $ff

Frameset_d504f::
db $04, 3
db $05, 3
db $ff

Frameset_d5054::
db $06, 3
db $07, 3
db $ff

Frameset_d5059:
db $08, 4
db $ff

Frameset_d505c:
db $09, 4
db $ff

Frameset_d505f:
db $0a, 4
db $ff

Frameset_d5062:
db $0b, 4
db $ff

Frameset_d5065:
db $0c, 4
db $ff

Frameset_d5068:
db $0d, 4
db $ff

Frameset_d506b:
db $0e, 4
db $0f, 4
db $10, 4
db $10, 4
db $0f, 4
db $0e, 4
db $11, 4
db $12, 4
db $12, 4
db $11, 4
db $ff

Frameset_d5080:
db $13, 4
db $14, 4
db $15, 4
db $15, 4
db $14, 4
db $13, 4
db $16, 4
db $17, 4
db $17, 4
db $16, 4
db $ff

Frameset_d5095:
db $18, 4
db $ff

Frameset_d5098:
db $19, 4
db $ff

Frameset_d509b:
db $1a, 4
db $ff

Frameset_d509e:
db $1b, 4
db $ff

Frameset_d50a1:
db $1c, 4
db $ff
26 changes: 26 additions & 0 deletions src/data/clear/musical_coin_pals.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
MusicalCoinLevelBGPals:
db 4 ; LEVEL_OUT_OF_THE_WOODS
db 4 ; LEVEL_THE_PEACEFUL_VILLAGE
db 4 ; LEVEL_THE_VAST_PLAIN
db 4 ; LEVEL_BANK_OF_THE_WILD_RIVER
db 4 ; LEVEL_THE_TIDAL_COAST
db 6 ; LEVEL_SEA_TURTLE_ROCKS
db 7 ; LEVEL_DESERT_RUINS
db 6 ; LEVEL_THE_VOLCANOS_BASE
db 7 ; LEVEL_THE_POOL_OF_RAIN
db 7 ; LEVEL_A_TOWN_IN_CHAOS
db 6 ; LEVEL_BENEATH_THE_WAVES
db 6 ; LEVEL_THE_WEST_CRATER
db 6 ; LEVEL_THE_GRASSLANDS
db 7 ; LEVEL_THE_BIG_BRIDGE
db 7 ; LEVEL_TOWER_OF_REVIVAL
db 7 ; LEVEL_THE_STEEP_CANYON
db 7 ; LEVEL_CAVE_OF_FLAMES
db 7 ; LEVEL_ABOVE_THE_CLOUDS
db 7 ; LEVEL_THE_STAGNANT_SWAMP
db 7 ; LEVEL_THE_FRIGID_SEA
db 7 ; LEVEL_CASTLE_OF_ILLUSIONS
db 7 ; LEVEL_THE_COLOSSAL_HOLE
db 7 ; LEVEL_THE_WARPED_VOID
db 7 ; LEVEL_THE_EAST_CRATER
db 7 ; LEVEL_FOREST_OF_FEAR
231 changes: 231 additions & 0 deletions src/data/clear/oam.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,231 @@
OAM_d4e26:
dw .frame_0
dw .frame_1
dw .frame_2
dw .frame_3
dw .frame_4
dw .frame_5
dw .frame_6
dw .frame_7
dw .frame_8
dw .frame_9
dw .frame_10
dw .frame_11
dw .frame_12
dw .frame_13
dw .frame_14
dw .frame_15
dw .frame_16
dw .frame_17
dw .frame_18
dw .frame_19
dw .frame_20
dw .frame_21
dw .frame_22
dw .frame_23
dw .frame_24
dw .frame_25
dw .frame_26
dw .frame_27
dw .frame_28

.frame_0
frame_oam -16, -8, $90, 7
frame_oam -16, 0, $92, 7
frame_oam -16, -12, $ba, 0
frame_oam -16, 4, $ba, 0 | OAMF_XFLIP
frame_oam -16, -4, $d6, 0
db $80

.frame_1
frame_oam -16, -8, $90, 7
frame_oam -16, 0, $92, 7
frame_oam -16, -12, $b6, 0
frame_oam -16, 4, $b6, 0 | OAMF_XFLIP
frame_oam -16, -4, $d8, 0
db $80

.frame_2
frame_oam -16, -8, $94, 7
frame_oam -16, 0, $96, 7
frame_oam -16, -12, $ba, 0
frame_oam -16, 4, $ba, 0 | OAMF_XFLIP
frame_oam -16, -4, $d6, 0
db $80

.frame_3
frame_oam -16, -8, $94, 7
frame_oam -16, 0, $96, 7
frame_oam -16, -12, $b6, 0
frame_oam -16, 4, $b6, 0 | OAMF_XFLIP
frame_oam -16, -4, $d8, 0
db $80

.frame_4
frame_oam -16, -8, $98, 7
frame_oam -16, 0, $9a, 7
frame_oam -16, -12, $ba, 0
frame_oam -16, 4, $ba, 0 | OAMF_XFLIP
frame_oam -16, -4, $d6, 0
db $80

.frame_5
frame_oam -16, -8, $98, 7
frame_oam -16, 0, $9a, 7
frame_oam -16, -12, $b6, 0
frame_oam -16, 4, $b6, 0 | OAMF_XFLIP
frame_oam -16, -4, $d8, 0
db $80

.frame_6
frame_oam -16, -8, $9c, 7
frame_oam -16, 0, $9e, 7
frame_oam -16, -12, $ba, 0
frame_oam -16, 4, $ba, 0 | OAMF_XFLIP
frame_oam -16, -4, $d6, 0
db $80

.frame_7
frame_oam -16, -8, $9c, 7
frame_oam -16, 0, $9e, 7
frame_oam -16, -12, $b6, 0
frame_oam -16, 4, $b6, 0 | OAMF_XFLIP
frame_oam -16, -4, $d8, 0
db $80

.frame_8
frame_oam -34, -12, $d0, 3
frame_oam -34, -4, $d2, 3
frame_oam -34, 4, $d4, 3
frame_oam -18, -14, $f0, 3
frame_oam -18, -6, $f2, 3
frame_oam -18, 2, $f4, 3
frame_oam -18, 10, $f6, 3
frame_oam -34, 50, $da, 3
frame_oam -34, 58, $dc, 3
frame_oam -34, 66, $de, 3
frame_oam -18, 46, $f8, 3
frame_oam -18, 54, $fa, 3
frame_oam -18, 62, $fc, 3
frame_oam -18, 70, $fe, 3
db $80

.frame_9
frame_oam -16, -8, $c0, 4
frame_oam -16, 0, $c2, 4
db $80

.frame_10
frame_oam -16, -8, $c4, 2
frame_oam -16, 0, $c6, 2
db $80

.frame_11
frame_oam -16, -8, $c8, 6
frame_oam -16, 0, $ca, 6
db $80

.frame_12
frame_oam -16, -8, $cc, 5
frame_oam -16, 0, $ce, 5
db $80

.frame_13
frame_oam -16, -8, $e0, 4
frame_oam -16, 0, $e2, 4
db $80

.frame_14
frame_oam -22, -16, $e4, 0
frame_oam -16, -8, $e6, 0
frame_oam -16, 0, $e8, 0
frame_oam -22, 8, $ea, 0
db $80

.frame_15
frame_oam -24, -16, $e4, 0
frame_oam -18, -8, $e6, 0
frame_oam -18, 0, $e8, 0
frame_oam -24, 8, $ea, 0
db $80

.frame_16
frame_oam -25, -16, $e4, 0
frame_oam -19, -8, $e6, 0
frame_oam -19, 0, $e8, 0
frame_oam -25, 8, $ea, 0
db $80

.frame_17
frame_oam -20, -16, $e4, 0
frame_oam -14, -8, $e6, 0
frame_oam -14, 0, $e8, 0
frame_oam -20, 8, $ea, 0
db $80

.frame_18
frame_oam -19, -16, $e4, 0
frame_oam -13, -8, $e6, 0
frame_oam -13, 0, $e8, 0
frame_oam -19, 8, $ea, 0
db $80

.frame_19
frame_oam -16, -16, $e0, 0 | OAMF_BANK1
frame_oam -16, -8, $e2, 0 | OAMF_BANK1
frame_oam -16, 0, $e4, 0 | OAMF_BANK1
frame_oam -16, 8, $e6, 0 | OAMF_BANK1
db $80

.frame_20
frame_oam -18, -16, $e0, 0 | OAMF_BANK1
frame_oam -18, -8, $e2, 0 | OAMF_BANK1
frame_oam -18, 0, $e4, 0 | OAMF_BANK1
frame_oam -18, 8, $e6, 0 | OAMF_BANK1
db $80

.frame_21
frame_oam -19, -16, $e0, 0 | OAMF_BANK1
frame_oam -19, -8, $e2, 0 | OAMF_BANK1
frame_oam -19, 0, $e4, 0 | OAMF_BANK1
frame_oam -19, 8, $e6, 0 | OAMF_BANK1
db $80

.frame_22
frame_oam -14, -16, $e0, 0 | OAMF_BANK1
frame_oam -14, -8, $e2, 0 | OAMF_BANK1
frame_oam -14, 0, $e4, 0 | OAMF_BANK1
frame_oam -14, 8, $e6, 0 | OAMF_BANK1
db $80

.frame_23
frame_oam -13, -16, $e0, 0 | OAMF_BANK1
frame_oam -13, -8, $e2, 0 | OAMF_BANK1
frame_oam -13, 0, $e4, 0 | OAMF_BANK1
frame_oam -13, 8, $e6, 0 | OAMF_BANK1
db $80

.frame_24
frame_oam -16, -8, $ec, 4
frame_oam -16, 0, $ee, 4
db $80

.frame_25
frame_oam -16, -8, $ec, 5
frame_oam -16, 0, $ee, 5
db $80

.frame_26
frame_oam -16, -8, $ec, 6
frame_oam -16, 0, $ee, 6
db $80

.frame_27
frame_oam -16, -8, $ec, 2
frame_oam -16, 0, $ee, 2
db $80

.frame_28
frame_oam -16, -8, $e8, 7 | OAMF_BANK1
frame_oam -16, -1, $e8, 7 | OAMF_BANK1 | OAMF_XFLIP
db $80
Loading

0 comments on commit f89c665

Please sign in to comment.