diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-06-27 17:02:08 -0400 |
---|---|---|
committer | Rangi <35663410+Rangi42@users.noreply.github.com> | 2020-06-27 21:43:32 -0400 |
commit | e770ee77cebcb56facf2b011dfd011435dc16f46 (patch) | |
tree | 1dc59ccb7b330ba283f711b5428b00fdc4670178 | |
parent | d5089d3c623e2b147b035cf12569810d604bf47d (diff) |
Replace .tilecoll files with tile ID db data
-rw-r--r-- | .gitattributes | 1 | ||||
-rw-r--r-- | data/collision.asm | 24 | ||||
-rw-r--r-- | data/collision_tile_ids.asm | 82 | ||||
-rw-r--r-- | gfx/tilesets/cavern.tilecoll | 1 | ||||
-rw-r--r-- | gfx/tilesets/cemetery.tilecoll | 1 | ||||
-rw-r--r-- | gfx/tilesets/club.tilecoll | 1 | ||||
-rw-r--r-- | gfx/tilesets/facility.tilecoll | 1 | ||||
-rw-r--r-- | gfx/tilesets/forest.tilecoll | 1 | ||||
-rw-r--r-- | gfx/tilesets/gate.tilecoll | 1 | ||||
-rw-r--r-- | gfx/tilesets/gym.tilecoll | 1 | ||||
-rw-r--r-- | gfx/tilesets/house.tilecoll | 1 | ||||
-rw-r--r-- | gfx/tilesets/interior.tilecoll | 1 | ||||
-rw-r--r-- | gfx/tilesets/lab.tilecoll | 1 | ||||
-rw-r--r-- | gfx/tilesets/lobby.tilecoll | 1 | ||||
-rw-r--r-- | gfx/tilesets/mansion.tilecoll | 1 | ||||
-rw-r--r-- | gfx/tilesets/overworld.tilecoll | bin | 20 -> 0 bytes | |||
-rw-r--r-- | gfx/tilesets/plateau.tilecoll | 1 | ||||
-rw-r--r-- | gfx/tilesets/pokecenter.tilecoll | 1 | ||||
-rw-r--r-- | gfx/tilesets/reds_house.tilecoll | 1 | ||||
-rw-r--r-- | gfx/tilesets/ship.tilecoll | 1 | ||||
-rw-r--r-- | gfx/tilesets/ship_port.tilecoll | 2 | ||||
-rw-r--r-- | gfx/tilesets/underground.tilecoll | 1 | ||||
-rw-r--r-- | home.asm | 2 |
23 files changed, 83 insertions, 45 deletions
diff --git a/.gitattributes b/.gitattributes index 4f4d8c38..48b1085c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -10,7 +10,6 @@ *.2bpp binary *.1bpp binary *.rle binary -*.tilecoll binary *.bst binary *.tilemap binary *.wav binary diff --git a/data/collision.asm b/data/collision.asm deleted file mode 100644 index 78579242..00000000 --- a/data/collision.asm +++ /dev/null @@ -1,24 +0,0 @@ -Underground_Coll:: INCBIN "gfx/tilesets/underground.tilecoll" -Overworld_Coll:: INCBIN "gfx/tilesets/overworld.tilecoll" -RedsHouse1_Coll:: -RedsHouse2_Coll:: INCBIN "gfx/tilesets/reds_house.tilecoll" -Mart_Coll:: -Pokecenter_Coll:: INCBIN "gfx/tilesets/pokecenter.tilecoll" -Dojo_Coll:: -Gym_Coll:: INCBIN "gfx/tilesets/gym.tilecoll" -Forest_Coll:: INCBIN "gfx/tilesets/forest.tilecoll" -House_Coll:: INCBIN "gfx/tilesets/house.tilecoll" -ForestGate_Coll:: -Museum_Coll:: -Gate_Coll:: INCBIN "gfx/tilesets/gate.tilecoll" -Ship_Coll:: INCBIN "gfx/tilesets/ship.tilecoll" -ShipPort_Coll:: INCBIN "gfx/tilesets/ship_port.tilecoll" -Cemetery_Coll:: INCBIN "gfx/tilesets/cemetery.tilecoll" -Interior_Coll:: INCBIN "gfx/tilesets/interior.tilecoll" -Cavern_Coll:: INCBIN "gfx/tilesets/cavern.tilecoll" -Lobby_Coll:: INCBIN "gfx/tilesets/lobby.tilecoll" -Mansion_Coll:: INCBIN "gfx/tilesets/mansion.tilecoll" -Lab_Coll:: INCBIN "gfx/tilesets/lab.tilecoll" -Club_Coll:: INCBIN "gfx/tilesets/club.tilecoll" -Facility_Coll:: INCBIN "gfx/tilesets/facility.tilecoll" -Plateau_Coll:: INCBIN "gfx/tilesets/plateau.tilecoll" diff --git a/data/collision_tile_ids.asm b/data/collision_tile_ids.asm new file mode 100644 index 00000000..c18a7e72 --- /dev/null +++ b/data/collision_tile_ids.asm @@ -0,0 +1,82 @@ +Underground_Coll:: + db $0b, $0c, $13, $15, $18 + db -1 ; end + +Overworld_Coll:: + db $00, $10, $1b, $20, $21, $23, $2c, $2d, $2e, $30, $31, $33, $39, $3c, $3e, $52, $54, $58, $5b + db -1 ; end + +RedsHouse1_Coll:: +RedsHouse2_Coll:: + db $01, $02, $03, $11, $12, $13, $14, $1c, $1a + db -1 ; end + +Mart_Coll:: +Pokecenter_Coll:: + db $11, $1a, $1c, $3c, $5e + db -1 ; end + +Dojo_Coll:: +Gym_Coll:: + db $11, $16, $19, $2b, $3c, $3d, $3f, $4a, $4c, $4d, $03 + db -1 ; end + +Forest_Coll:: + db $1e, $20, $2e, $30, $34, $37, $39, $3a, $40, $51, $52, $5a, $5c, $5e, $5f + db -1 ; end + +House_Coll:: + db $01, $12, $14, $28, $32, $37, $44, $54, $5c + db -1 ; end + +ForestGate_Coll:: +Museum_Coll:: +Gate_Coll:: + db $01, $12, $14, $1a, $1c, $37, $38, $3b, $3c, $5e + db -1 ; end + +Ship_Coll:: + db $04, $0d, $17, $1d, $1e, $23, $34, $37, $39, $4a + db -1 ; end + +ShipPort_Coll:: + db $0a, $1a, $32, $3b + db -1 ; end + +Cemetery_Coll:: + db $01, $10, $13, $1b, $22, $42, $52 + db -1 ; end + +Interior_Coll:: + db $04, $0f, $15, $1f, $3b, $45, $47, $55, $56 + db -1 ; end + +Cavern_Coll:: + db $05, $15, $18, $1a, $20, $21, $22, $2a, $2d, $30 + db -1 ; end + + db -1 ; unused + +Lobby_Coll:: + db $14, $17, $1a, $1c, $20, $38, $45 + db -1 ; end + +Mansion_Coll:: + db $01, $05, $11, $12, $14, $1a, $1c, $2c, $53 + db -1 ; end + +Lab_Coll:: + db $0c, $26, $16, $1e, $34, $37 + db -1 ; end + +Club_Coll:: + db $0f, $1a, $1f, $26, $28, $29, $2c, $2d, $2e, $2f, $41 + db -1 ; end + +Facility_Coll:: + db $01, $10, $11, $13, $1b, $20, $21, $22, $30, $31, $32, $42, $43, $48, $52, $55, $58, $5e + db -1 ; end + +Plateau_Coll:: + db $1b, $23, $2c, $2d, $3b, $45 + db -1 ; end diff --git a/gfx/tilesets/cavern.tilecoll b/gfx/tilesets/cavern.tilecoll deleted file mode 100644 index dab3e10f..00000000 --- a/gfx/tilesets/cavern.tilecoll +++ /dev/null @@ -1 +0,0 @@ - !"*-0ÿÿ
\ No newline at end of file diff --git a/gfx/tilesets/cemetery.tilecoll b/gfx/tilesets/cemetery.tilecoll deleted file mode 100644 index f4bee2ee..00000000 --- a/gfx/tilesets/cemetery.tilecoll +++ /dev/null @@ -1 +0,0 @@ -"BRÿ
\ No newline at end of file diff --git a/gfx/tilesets/club.tilecoll b/gfx/tilesets/club.tilecoll deleted file mode 100644 index 9bd5f3ba..00000000 --- a/gfx/tilesets/club.tilecoll +++ /dev/null @@ -1 +0,0 @@ -&(),-./Aÿ
\ No newline at end of file diff --git a/gfx/tilesets/facility.tilecoll b/gfx/tilesets/facility.tilecoll deleted file mode 100644 index d55b119b..00000000 --- a/gfx/tilesets/facility.tilecoll +++ /dev/null @@ -1 +0,0 @@ - !"012BCHRUX^ÿ
\ No newline at end of file diff --git a/gfx/tilesets/forest.tilecoll b/gfx/tilesets/forest.tilecoll deleted file mode 100644 index 45bf737e..00000000 --- a/gfx/tilesets/forest.tilecoll +++ /dev/null @@ -1 +0,0 @@ - .0479:@QRZ\^_ÿ
\ No newline at end of file diff --git a/gfx/tilesets/gate.tilecoll b/gfx/tilesets/gate.tilecoll deleted file mode 100644 index dd06b044..00000000 --- a/gfx/tilesets/gate.tilecoll +++ /dev/null @@ -1 +0,0 @@ -78;<^ÿ
\ No newline at end of file diff --git a/gfx/tilesets/gym.tilecoll b/gfx/tilesets/gym.tilecoll deleted file mode 100644 index 916e2579..00000000 --- a/gfx/tilesets/gym.tilecoll +++ /dev/null @@ -1 +0,0 @@ -+<=?JLMÿ
\ No newline at end of file diff --git a/gfx/tilesets/house.tilecoll b/gfx/tilesets/house.tilecoll deleted file mode 100644 index 95497e70..00000000 --- a/gfx/tilesets/house.tilecoll +++ /dev/null @@ -1 +0,0 @@ -(27DT\ÿ
\ No newline at end of file diff --git a/gfx/tilesets/interior.tilecoll b/gfx/tilesets/interior.tilecoll deleted file mode 100644 index b5d32687..00000000 --- a/gfx/tilesets/interior.tilecoll +++ /dev/null @@ -1 +0,0 @@ -;EGUVÿ
\ No newline at end of file diff --git a/gfx/tilesets/lab.tilecoll b/gfx/tilesets/lab.tilecoll deleted file mode 100644 index c171ba99..00000000 --- a/gfx/tilesets/lab.tilecoll +++ /dev/null @@ -1 +0,0 @@ -&47ÿ
\ No newline at end of file diff --git a/gfx/tilesets/lobby.tilecoll b/gfx/tilesets/lobby.tilecoll deleted file mode 100644 index 6388083c..00000000 --- a/gfx/tilesets/lobby.tilecoll +++ /dev/null @@ -1 +0,0 @@ - 8Eÿ
\ No newline at end of file diff --git a/gfx/tilesets/mansion.tilecoll b/gfx/tilesets/mansion.tilecoll deleted file mode 100644 index e07ea10a..00000000 --- a/gfx/tilesets/mansion.tilecoll +++ /dev/null @@ -1 +0,0 @@ -,Sÿ
\ No newline at end of file diff --git a/gfx/tilesets/overworld.tilecoll b/gfx/tilesets/overworld.tilecoll Binary files differdeleted file mode 100644 index dae824f1..00000000 --- a/gfx/tilesets/overworld.tilecoll +++ /dev/null diff --git a/gfx/tilesets/plateau.tilecoll b/gfx/tilesets/plateau.tilecoll deleted file mode 100644 index 5958688e..00000000 --- a/gfx/tilesets/plateau.tilecoll +++ /dev/null @@ -1 +0,0 @@ -#,-;Eÿ
\ No newline at end of file diff --git a/gfx/tilesets/pokecenter.tilecoll b/gfx/tilesets/pokecenter.tilecoll deleted file mode 100644 index 928af693..00000000 --- a/gfx/tilesets/pokecenter.tilecoll +++ /dev/null @@ -1 +0,0 @@ -<^ÿ
\ No newline at end of file diff --git a/gfx/tilesets/reds_house.tilecoll b/gfx/tilesets/reds_house.tilecoll deleted file mode 100644 index b19db300..00000000 --- a/gfx/tilesets/reds_house.tilecoll +++ /dev/null @@ -1 +0,0 @@ -ÿ
\ No newline at end of file diff --git a/gfx/tilesets/ship.tilecoll b/gfx/tilesets/ship.tilecoll deleted file mode 100644 index d78bcc45..00000000 --- a/gfx/tilesets/ship.tilecoll +++ /dev/null @@ -1 +0,0 @@ -
#479Jÿ
\ No newline at end of file diff --git a/gfx/tilesets/ship_port.tilecoll b/gfx/tilesets/ship_port.tilecoll deleted file mode 100644 index 2dc99b5c..00000000 --- a/gfx/tilesets/ship_port.tilecoll +++ /dev/null @@ -1,2 +0,0 @@ - -2;ÿ
\ No newline at end of file diff --git a/gfx/tilesets/underground.tilecoll b/gfx/tilesets/underground.tilecoll deleted file mode 100644 index 75efd22b..00000000 --- a/gfx/tilesets/underground.tilecoll +++ /dev/null @@ -1 +0,0 @@ -ÿ
\ No newline at end of file @@ -910,7 +910,7 @@ InterlaceMergeSpriteBuffers:: jp CopyVideoData -INCLUDE "data/collision.asm" +INCLUDE "data/collision_tile_ids.asm" INCLUDE "home/copy2.asm" INCLUDE "home/text.asm" INCLUDE "home/vcopy.asm" |