diff --git a/constants/map_constants.asm b/constants/map_constants.asm index eb2bd86f9c1..06414496bc9 100644 --- a/constants/map_constants.asm +++ b/constants/map_constants.asm @@ -513,6 +513,7 @@ ENDM map_const KAGA_FISHING_SHOP, 5, 6 ; 9 map_const KAGA_CAMP, 18, 22 ; 10 map_const KAGA_CASTLE, 14, 12 ; 11 + map_const KAGA_LIBRARY, 8, 6 ; 12 endgroup DEF NUM_MAP_GROUPS EQU const_value ; 27 diff --git a/data/maps/attributes.asm b/data/maps/attributes.asm index 57856271e80..ee231efbbe3 100644 --- a/data/maps/attributes.asm +++ b/data/maps/attributes.asm @@ -411,6 +411,7 @@ ENDM map_attributes RamenShop, RAMEN_SHOP, $00, 0 map_attributes KagaFishingShop, KAGA_FISHING_SHOP, $00, 0 + map_attributes KagaLibrary, KAGA_LIBRARY, $00, 0 map_attributes Route23, ROUTE_23, $0f, 0 map_attributes SproutTower1F, SPROUT_TOWER_1F, $00, 0 map_attributes SproutTower2F, SPROUT_TOWER_2F, $00, 0 diff --git a/data/maps/blocks.asm b/data/maps/blocks.asm index 0a23207c6a0..8d648b9c6c2 100644 --- a/data/maps/blocks.asm +++ b/data/maps/blocks.asm @@ -1083,4 +1083,7 @@ KagaCamp_Blocks: INCBIN "maps/MineyamaCamp.ablk" KagaCastle_Blocks: - INCBIN "maps/KagaCastle.ablk" \ No newline at end of file + INCBIN "maps/KagaCastle.ablk" + +KagaLibrary_Blocks: + INCBIN "maps/KagaLibrary.ablk" \ No newline at end of file diff --git a/data/maps/maps.asm b/data/maps/maps.asm index 673da0fe627..daa3a5e9b4c 100644 --- a/data/maps/maps.asm +++ b/data/maps/maps.asm @@ -552,4 +552,5 @@ MapGroup_Kagawa: map KagaFishingShop, TILESET_HOUSE, ROUTE, LANDMARK_ROUTE_30, MUSIC_DANCING_HALL, FALSE, PALETTE_AUTO, FISHGROUP_SHORE, KELPGROUP_KRABBY map KagaCamp, TILESET_KAGAWA, ROUTE, LANDMARK_ROUTE_30, MUSIC_DANCING_HALL, FALSE, PALETTE_AUTO, FISHGROUP_SHORE, KELPGROUP_KRABBY map KagaCastle, TILESET_KAGAWA, ROUTE, LANDMARK_ROUTE_30, MUSIC_DANCING_HALL, FALSE, PALETTE_AUTO, FISHGROUP_SHORE, KELPGROUP_KRABBY + map KagaLibrary, TILESET_HOUSE, ROUTE, LANDMARK_ROUTE_30, MUSIC_DANCING_HALL, FALSE, PALETTE_AUTO, FISHGROUP_SHORE, KELPGROUP_KRABBY assert_table_length NUM_KAGAWA_MAPS \ No newline at end of file diff --git a/data/maps/scripts.asm b/data/maps/scripts.asm index a42aa2b1648..468700477ba 100644 --- a/data/maps/scripts.asm +++ b/data/maps/scripts.asm @@ -495,5 +495,6 @@ INCLUDE "maps/RamenShop.asm" INCLUDE "maps/KagaFishingShop.asm" INCLUDE "maps/MineyamaCamp.asm" INCLUDE "maps/KagaCastle.asm" +INCLUDE "maps/KagaLibrary.asm" ENDSECTION diff --git a/data/tilesets/house_attributes.bin b/data/tilesets/house_attributes.bin index fbf4e8ab045..2da8ee58c2a 100644 Binary files a/data/tilesets/house_attributes.bin and b/data/tilesets/house_attributes.bin differ diff --git a/data/tilesets/house_collision.asm b/data/tilesets/house_collision.asm index ac1828b6768..9d743784fb3 100644 --- a/data/tilesets/house_collision.asm +++ b/data/tilesets/house_collision.asm @@ -33,3 +33,24 @@ tilecoll WALL, WALL, FLOOR, WALL ; 20 tilecoll WALL, WALL, WALL, WALL ; 21 tilecoll WALL, WALL, FLOOR, FLOOR ; 22 + tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 23 + tilecoll WALL, WALL, FLOOR, FLOOR ; 24 + tilecoll WALL, WALL, WALL, WALL ; 25 + tilecoll FLOOR, FLOOR, WARP_CARPET_DOWN, WARP_CARPET_DOWN ; 26 + tilecoll WALL, WALL, FLOOR, STAIRCASE ; 27 + tilecoll FLOOR, WALL, FLOOR, WALL ; 28 + tilecoll WALL, FLOOR, WALL, FLOOR ; 29 + tilecoll FLOOR, FLOOR, FLOOR, WALL ; 2a + tilecoll FLOOR, FLOOR, WALL, FLOOR ; 2b + tilecoll FLOOR, FLOOR, WALL, WALL ; 2c + tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 2d + tilecoll FLOOR, FLOOR, WALL, WALL ; 2e + tilecoll FLOOR, FLOOR, WALL, WALL ; 2f + tilecoll WALL, WALL, WALL, WALL ; 30 + tilecoll WALL, WALL, WALL, WALL ; 31 + tilecoll WALL, FLOOR, WALL, FLOOR ; 32 + tilecoll FLOOR, WALL, FLOOR, WALL ; 33 + tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 34 + tilecoll WALL, FLOOR, WALL, FLOOR ; 35 + tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 36 + tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 37 diff --git a/data/tilesets/house_metatiles.bin b/data/tilesets/house_metatiles.bin index e6b34fa6275..ea9b5e35dc3 100644 Binary files a/data/tilesets/house_metatiles.bin and b/data/tilesets/house_metatiles.bin differ diff --git a/data/tilesets/kagawa_collision.asm b/data/tilesets/kagawa_collision.asm index 2df0c15256e..2d89acf5103 100644 --- a/data/tilesets/kagawa_collision.asm +++ b/data/tilesets/kagawa_collision.asm @@ -124,7 +124,7 @@ tilecoll WALL, WALL, WALL, WALL ; 7b tilecoll WALL, WALL, WALL, DOOR ; 7c tilecoll WALL, WALL, WALL, WALL ; 7d - tilecoll WALL, WALL, WALL, WALL ; 7e + tilecoll WALL, WALL, DOOR, WALL ; 7e tilecoll WALL, WALL, WALL, WALL ; 7f tilecoll WALL, WALL, WALL, WALL ; 80 tilecoll WALL, WALL, WALL, WALL ; 81 diff --git a/gfx/pokemon/taillow/back.png b/gfx/pokemon/taillow/back.png index aa486a1fa23..4e64a2c4469 100644 Binary files a/gfx/pokemon/taillow/back.png and b/gfx/pokemon/taillow/back.png differ diff --git a/gfx/pokemon/taillow/front.png b/gfx/pokemon/taillow/front.png index 9529b806d13..757b4938f07 100644 Binary files a/gfx/pokemon/taillow/front.png and b/gfx/pokemon/taillow/front.png differ diff --git a/gfx/tilesets.asm b/gfx/tilesets.asm index 6ce1328c1ea..f6e691b4b85 100644 --- a/gfx/tilesets.asm +++ b/gfx/tilesets.asm @@ -267,12 +267,6 @@ INCBIN "data/tilesets/house_metatiles.bin" TilesetHouseColl:: INCLUDE "data/tilesets/house_collision.asm" -TilesetLighthouseGFX:: -INCBIN "gfx/tilesets/lighthouse.2bpp.lz" - -TilesetLighthouseMeta:: -INCBIN "data/tilesets/lighthouse_metatiles.bin" - TilesetLighthouseColl:: INCLUDE "data/tilesets/lighthouse_collision.asm" @@ -321,6 +315,12 @@ INCBIN "data/tilesets/ruins_of_alph_metatiles.bin" TilesetRuinsOfAlphColl:: INCLUDE "data/tilesets/ruins_of_alph_collision.asm" +TilesetLighthouseGFX:: +INCBIN "gfx/tilesets/lighthouse.2bpp.lz" + +TilesetLighthouseMeta:: +INCBIN "data/tilesets/lighthouse_metatiles.bin" + SECTION "Tileset Data 8", ROMX diff --git a/gfx/tilesets/house.png b/gfx/tilesets/house.png index f15750c5012..88544b50768 100644 Binary files a/gfx/tilesets/house.png and b/gfx/tilesets/house.png differ diff --git a/maps/KagaLibrary.ablk b/maps/KagaLibrary.ablk new file mode 100644 index 00000000000..2ecceb9870a --- /dev/null +++ b/maps/KagaLibrary.ablk @@ -0,0 +1 @@ +%%5$1%%5########%%%%2607######4#2#*,,+#32&(--)&3 \ No newline at end of file diff --git a/maps/KagaLibrary.asm b/maps/KagaLibrary.asm new file mode 100644 index 00000000000..889a868edbc --- /dev/null +++ b/maps/KagaLibrary.asm @@ -0,0 +1,22 @@ + object_const_def + +KagaLibrary_MapScripts: + def_scene_scripts + + def_callbacks + +KagaLibrary_MapEvents: + db 0, 0 ; filler + + def_warp_events + warp_event 2, 11, KAGA_TOWN, 1 + warp_event 3, 11, KAGA_TOWN, 1 + warp_event 12, 11, KAGA_TOWN, 3 + warp_event 13, 11, KAGA_TOWN, 3 + + def_coord_events + + def_bg_events + + def_object_events + diff --git a/maps/KagaTown.asm b/maps/KagaTown.asm index 12df7f55ae0..f1ddb884868 100644 --- a/maps/KagaTown.asm +++ b/maps/KagaTown.asm @@ -11,6 +11,8 @@ KagaTown_MapEvents: def_warp_events warp_event 23, 27, KAGA_FISHING_SHOP, 1 + warp_event 19, 35, KAGA_LIBRARY, 1 + warp_event 22, 35, KAGA_LIBRARY, 3 def_coord_events