shithub: pokered

Download patch

ref: cd433d32ee269ec9cb4506e9739b1f30382d9916
parent: 11aa33e49c2c4a8c9c6033d62da43292283ff675
parent: 4000d7a23ab9a9d46bea6e937ab12d63c3194b89
author: U-Fish-PC\Daniel <corrnondacqb@yahoo.com>
date: Mon Sep 16 09:18:37 EDT 2013

Merge branch 'comments'

--- a/constants.asm
+++ b/constants.asm
@@ -2727,7 +2727,7 @@
 TRASHED_HOUSE_HEIGHT EQU $04
 TRASHED_HOUSE_WIDTH  EQU $04
 
-; CeruleanHouse2_h map_id=63
+; CeruleanHouse_h map_id=63
 CERULEAN_HOUSE_HEIGHT EQU $04
 CERULEAN_HOUSE_WIDTH  EQU $04
 
@@ -2924,12 +2924,12 @@
 CELADON_MART_4_WIDTH  EQU $0a
 
 ; CeladonMartRoof_h map_id=126
-CELADON_MART_5_HEIGHT EQU $04
-CELADON_MART_5_WIDTH  EQU $0a
+CELADON_MART_ROOF_HEIGHT EQU $04
+CELADON_MART_ROOF_WIDTH  EQU $0a
 
 ; CeladonMartElevator_h map_id=127
-CELADON_MART_6_HEIGHT EQU $02
-CELADON_MART_6_WIDTH  EQU $02
+CELADON_MART_ELEVATOR_HEIGHT EQU $02
+CELADON_MART_ELEVATOR_WIDTH  EQU $02
 
 ; CeladonMansion1_h map_id=128
 CELADON_MANSION_1_HEIGHT EQU $06
@@ -2964,8 +2964,8 @@
 GAME_CORNER_WIDTH  EQU $0a
 
 ; CeladonMart5_h map_id=136
-CELADON_HOUSE_HEIGHT EQU $04
-CELADON_HOUSE_WIDTH  EQU $0a
+CELADON_MART_5_HEIGHT EQU $04
+CELADON_MART_5_WIDTH  EQU $0a
 
 ; CeladonPrizeRoom_h map_id=137
 CELADONPRIZE_ROOM_HEIGHT EQU $04
@@ -2976,8 +2976,8 @@
 CELADON_DINER_WIDTH  EQU $05
 
 ; CeladonHouse_h map_id=139
-CELADON_HOUSE_2_HEIGHT EQU $04
-CELADON_HOUSE_2_WIDTH  EQU $04
+CELADON_HOUSE_HEIGHT EQU $04
+CELADON_HOUSE_WIDTH  EQU $04
 
 ; CeladonHotel_h map_id=140
 CELADONHOTEL_HEIGHT EQU $04
@@ -3323,9 +3323,9 @@
 NAME_RATERS_HOUSE_HEIGHT EQU $04
 NAME_RATERS_HOUSE_WIDTH  EQU $04
 
-; CeruleanHouse3_h map_id=230
-CERULEAN_HOUSE_3_HEIGHT EQU $04
-CERULEAN_HOUSE_3_WIDTH  EQU $04
+; CeruleanHouse2_h map_id=230
+CERULEAN_HOUSE_2_HEIGHT EQU $04
+CERULEAN_HOUSE_2_WIDTH  EQU $04
 
 ; RockTunnel2_h map_id=232
 ROCK_TUNNEL_2_HEIGHT EQU $12
binary files /dev/null b/gfx/blocksets/04.bst differ
binary files /dev/null b/gfx/blocksets/06.bst differ
binary files /dev/null b/gfx/blocksets/07.bst differ
binary files /dev/null b/gfx/blocksets/0a.bst differ
binary files /dev/null b/gfx/blocksets/0c.bst differ
binary files /dev/null b/gfx/tilesets/00.png differ
binary files /dev/null b/gfx/tilesets/01.png differ
binary files /dev/null b/gfx/tilesets/02.png differ
binary files /dev/null b/gfx/tilesets/03.png differ
binary files /dev/null b/gfx/tilesets/04.png differ
binary files /dev/null b/gfx/tilesets/05.png differ
binary files /dev/null b/gfx/tilesets/06.png differ
binary files /dev/null b/gfx/tilesets/07.png differ
binary files /dev/null b/gfx/tilesets/08.png differ
binary files /dev/null b/gfx/tilesets/09.png differ
binary files /dev/null b/gfx/tilesets/0a.png differ
binary files /dev/null b/gfx/tilesets/0b.png differ
binary files /dev/null b/gfx/tilesets/0c.png differ
binary files /dev/null b/gfx/tilesets/0d.png differ
binary files /dev/null b/gfx/tilesets/0e.png differ
binary files /dev/null b/gfx/tilesets/0f.png differ
binary files /dev/null b/gfx/tilesets/10.png differ
binary files /dev/null b/gfx/tilesets/11.png differ
binary files /dev/null b/gfx/tilesets/12.png differ
binary files /dev/null b/gfx/tilesets/13.png differ
binary files /dev/null b/gfx/tilesets/14.png differ
binary files /dev/null b/gfx/tilesets/15.png differ
binary files /dev/null b/gfx/tilesets/16.png differ
binary files /dev/null b/gfx/tilesets/17.png differ
--- a/main.asm
+++ b/main.asm
@@ -246,7 +246,7 @@
 	dw MtMoon2_h ;id=60
 	dw MtMoon3_h
 	dw CeruleanHouseTrashed_h
-	dw CeruleanHouse2_h
+	dw CeruleanHouse_h
 	dw CeruleanPokecenter_h
 	dw CeruleanGym_h
 	dw BikeShop_h
@@ -374,7 +374,7 @@
 	dw Route16House_h
 	dw Route12House_h
 	dw Route18Gate_h ;id=190
-	dw Route18GateHeader_h
+	dw Route18GateUpstairs_h
 	dw SeafoamIslands1_h
 	dw Route22Gate_h
 	dw VictoryRoad2_h
@@ -413,7 +413,7 @@
 	dw UnknownDungeon3_h
 	dw UnknownDungeon1_h
 	dw NameRater_h
-	dw CeruleanHouse3_h
+	dw CeruleanHouse2_h
 	dw Route16GateMap_h ; unused
 	dw RockTunnel2_h
 	dw SilphCo9_h
@@ -18671,7 +18671,7 @@
 	db BANK(MtMoon2_h)
 	db BANK(MtMoon3_h)
 	db BANK(CeruleanHouseTrashed_h)
-	db BANK(CeruleanHouse2_h)
+	db BANK(CeruleanHouse_h)
 	db BANK(CeruleanPokecenter_h)
 	db BANK(CeruleanGym_h)
 	db BANK(BikeShop_h)
@@ -18799,7 +18799,7 @@
 	db BANK(Route16House_h)
 	db BANK(Route12House_h)
 	db BANK(Route18Gate_h)
-	db BANK(Route18GateHeader_h)
+	db BANK(Route18GateUpstairs_h)
 	db BANK(SeafoamIslands1_h)
 	db BANK(Route22Gate_h)
 	db BANK(VictoryRoad2_h)
@@ -18838,7 +18838,7 @@
 	db BANK(UnknownDungeon3_h)
 	db BANK(UnknownDungeon1_h)
 	db BANK(NameRater_h)
-	db BANK(CeruleanHouse3_h)
+	db BANK(CeruleanHouse2_h)
 	db $01
 	db BANK(RockTunnel2_h)
 	db BANK(SilphCo9_h)
@@ -37267,7 +37267,7 @@
 NameRaterBlocks: ; 1c1de (7:41de)
 LavenderHouse1Blocks: ; 1c1de (7:41de)
 LavenderHouse2Blocks: ; 1c1de (7:41de)
-CeruleanHouse2Blocks: ; 1c1de (7:41de)
+CeruleanHouseBlocks: ; 1c1de (7:41de)
 PewterHouse1Blocks: ; 1c1de (7:41de)
 PewterHouse2Blocks: ; 1c1de (7:41de)
 ViridianHouseBlocks: ; 0x1c1de 41DE size=16
@@ -39382,26 +39382,26 @@
 	EVENT_DISP $4, $7, $3
 	EVENT_DISP $4, $0, $3
 
-CeruleanHouse2_h: ; 0x1d6ea to 0x1d6f6 (12 bytes) (bank=7) (id=63)
+CeruleanHouse_h: ; 0x1d6ea to 0x1d6f6 (12 bytes) (bank=7) (id=63)
 	db $08 ; tileset
 	db CERULEAN_HOUSE_HEIGHT, CERULEAN_HOUSE_WIDTH ; dimensions (y, x)
-	dw CeruleanHouse2Blocks, CeruleanHouse2Texts, CeruleanHouse2Script ; blocks, texts, scripts
+	dw CeruleanHouseBlocks, CeruleanHouseTexts, CeruleanHouseScript ; blocks, texts, scripts
 	db $00 ; connections
 
-	dw CeruleanHouse2Object ; objects
+	dw CeruleanHouseObject ; objects
 
-CeruleanHouse2Script: ; 1d6f6 (7:56f6)
+CeruleanHouseScript: ; 1d6f6 (7:56f6)
 	jp EnableAutoTextBoxDrawing
 ; 0x1d6f9
 
-CeruleanHouse2Texts: ; 1d6f9 (7:56f9)
-	dw CeruleanHouse2Text1, CeruleanHouse2Text2
+CeruleanHouseTexts: ; 1d6f9 (7:56f9)
+	dw CeruleanHouseText1, CeruleanHouseText2
 
-CeruleanHouse2Text1: ; 1d6fd (7:56fd)
-	TX_FAR _CeruleanHouse2Text1
+CeruleanHouseText1: ; 1d6fd (7:56fd)
+	TX_FAR _CeruleanHouseText1
 	db $50
 
-CeruleanHouse2Text2: ; 1d702 (7:5702)
+CeruleanHouseText2: ; 1d702 (7:5702)
 	db $08 ; asm
 	ld a, $6
 	ld [W_WHICHTRADE], a
@@ -39409,7 +39409,7 @@
 	call Predef
 	jp TextScriptEnd
 
-CeruleanHouse2Object: ; 0x1d710 (size=32)
+CeruleanHouseObject: ; 0x1d710 (size=32)
 	db $a ; border tile
 
 	db $2 ; warps
@@ -73794,7 +73794,7 @@
 Route11GateBlocks: ; 480c7 (12:40c7)
 	INCBIN "maps/route11gate.blk"
 
-Route18GateHeaderBlocks: ; 480db (12:40db)
+Route18GateUpstairsBlocks: ; 480db (12:40db)
 Route16GateUpstairsBlocks: ; 480db (12:40db)
 Route12GateUpstairsBlocks: ; 480db (12:40db)
 Route15GateUpstairsBlocks: ; 480db (12:40db)
@@ -74183,7 +74183,7 @@
 
 CeladonMartRoof_h: ; 0x483c9 to 0x483d5 (12 bytes) (bank=12) (id=126)
 	db $12 ; tileset
-	db CELADON_MART_5_HEIGHT, CELADON_MART_5_WIDTH ; dimensions (y, x)
+	db CELADON_MART_ROOF_HEIGHT, CELADON_MART_ROOF_WIDTH ; dimensions (y, x)
 	dw CeladonMartRoofBlocks, CeladonMartRoofTexts, CeladonMartRoofScript ; blocks, texts, scripts
 	db $00 ; connections
 
@@ -74453,11 +74453,11 @@
 	EVENT_DISP $a, $2, $f ; CELADON_MART_5
 
 CeladonMartRoofBlocks: ; 485cc (12:45cc)
-	INCBIN "maps/celadonmart5.blk"
+	INCBIN "maps/celadonmartroof.blk"
 
 CeladonMartElevator_h: ; 0x485f4 to 0x48600 (12 bytes) (bank=12) (id=127)
 	db $12 ; tileset
-	db CELADON_MART_6_HEIGHT, CELADON_MART_6_WIDTH ; dimensions (y, x)
+	db CELADON_MART_ELEVATOR_HEIGHT, CELADON_MART_ELEVATOR_WIDTH ; dimensions (y, x)
 	dw CeladonMartElevatorBlocks, CeladonMartElevatorTexts, CeladonMartElevatorScript ; blocks, texts, scripts
 	db $00 ; connections
 
@@ -74532,7 +74532,7 @@
 	EVENT_DISP $2, $3, $2 ; CELADON_MART_1
 
 CeladonMartElevatorBlocks: ; 48684 (12:4684)
-	INCBIN "maps/celadonmart6.blk"
+	INCBIN "maps/celadonmartelevator.blk"
 
 CeladonMansion1_h: ; 0x48688 to 0x48694 (12 bytes) (bank=12) (id=128)
 	db $13 ; tileset
@@ -75787,7 +75787,7 @@
 
 CeladonMart5_h: ; 0x4905d to 0x49069 (12 bytes) (bank=12) (id=136)
 	db $12 ; tileset
-	db CELADON_HOUSE_HEIGHT, CELADON_HOUSE_WIDTH ; dimensions (y, x)
+	db CELADON_MART_5_HEIGHT, CELADON_MART_5_WIDTH ; dimensions (y, x)
 	dw CeladonMart5Blocks, CeladonMart5Texts, CeladonMart5Script ; blocks, texts, scripts
 	db $00 ; connections
 
@@ -75835,7 +75835,7 @@
 	EVENT_DISP $a, $1, $1 ; CELADON_MART_ELEVATOR
 
 CeladonMart5Blocks: ; 490bc (12:50bc)
-	INCBIN "maps/celadonhouse.blk"
+	INCBIN "maps/celadonmart5.blk"
 
 CeladonPrizeRoom_h: ; 0x490e4 to 0x490f0 (12 bytes) (bank=12) (id=137)
 	db $12 ; tileset
@@ -75988,7 +75988,7 @@
 
 CeladonHouse_h: ; 0x49202 to 0x4920e (12 bytes) (bank=12) (id=139)
 	db $13 ; tileset
-	db CELADON_HOUSE_2_HEIGHT, CELADON_HOUSE_2_WIDTH ; dimensions (y, x)
+	db CELADON_HOUSE_HEIGHT, CELADON_HOUSE_WIDTH ; dimensions (y, x)
 	dw CeladonHouseBlocks, CeladonHouseTexts, CeladonHouseScript ; blocks, texts, scripts
 	db $00 ; connections
 
@@ -76033,7 +76033,7 @@
 	EVENT_DISP $4, $7, $3
 
 CeladonHouseBlocks: ; 4924d (12:524d)
-	INCBIN "maps/celadonhouse2.blk"
+	INCBIN "maps/celadonhouse.blk"
 
 CeladonHotel_h: ; 0x4925d to 0x49269 (12 bytes) (bank=12) (id=140)
 	db $06 ; tileset
@@ -76999,22 +76999,22 @@
 	EVENT_DISP $4, $5, $7
 	EVENT_DISP $4, $8, $6 ; ROUTE_18_GATE_2F
 
-Route18GateHeader_h: ; 0x49969 to 0x49975 (12 bytes) (id=191)
+Route18GateUpstairs_h: ; 0x49969 to 0x49975 (12 bytes) (id=191)
 	db $0c ; tileset
 	db ROUTE_18_GATE_2F_HEIGHT, ROUTE_18_GATE_2F_WIDTH ; dimensions (y, x)
-	dw Route18GateHeaderBlocks, Route18GateHeaderTexts, Route18GateHeaderScript ; blocks, texts, scripts
+	dw Route18GateUpstairsBlocks, Route18GateUpstairsTexts, Route18GateUpstairsScript ; blocks, texts, scripts
 	db $00 ; connections
 
-	dw Route18GateHeaderObject ; objects
+	dw Route18GateUpstairsObject ; objects
 
-Route18GateHeaderScript: ; 49975 (12:5975)
+Route18GateUpstairsScript: ; 49975 (12:5975)
 	jp DisableAutoTextBoxDrawing
 ; 0x49978
 
-Route18GateHeaderTexts: ; 49978 (12:5978)
-	dw Route18GateHeaderText1, Route18GateHeaderText2, Route18GateHeaderText3
+Route18GateUpstairsTexts: ; 49978 (12:5978)
+	dw Route18GateUpstairsText1, Route18GateUpstairsText2, Route18GateUpstairsText3
 
-Route18GateHeaderText1: ; 4997e (12:597e)
+Route18GateUpstairsText1: ; 4997e (12:597e)
 	db $08 ; asm
 	ld a, $5
 	ld [W_WHICHTRADE], a
@@ -77022,7 +77022,7 @@
 	call Predef
 	jp TextScriptEnd
 
-Route18GateHeaderText2: ; 4998c (12:598c)
+Route18GateUpstairsText2: ; 4998c (12:598c)
 	db $8
 	ld hl, UnnamedText_49993 ; $5993
 	jp Unnamed_55c9
@@ -77033,7 +77033,7 @@
 	db $50
 ; 0x49993 + 5 bytes
 
-Route18GateHeaderText3: ; 49998 (12:5998)
+Route18GateUpstairsText3: ; 49998 (12:5998)
 	db $8
 	ld hl, UnnamedText_4999f ; $599f
 	jp Unnamed_55c9
@@ -77044,7 +77044,7 @@
 	db $50
 ; 0x4999f + 5 bytes
 
-Route18GateHeaderObject: ; 0x499a4 (size=24)
+Route18GateUpstairsObject: ; 0x499a4 (size=24)
 	db $a ; border tile
 
 	db $1 ; warps
@@ -77051,8 +77051,8 @@
 	db $7, $7, $4, ROUTE_18_GATE_1F
 
 	db $2 ; signs
-	db $2, $1, $2 ; Route18GateHeaderText2
-	db $2, $6, $3 ; Route18GateHeaderText3
+	db $2, $1, $2 ; Route18GateUpstairsText2
+	db $2, $6, $3 ; Route18GateUpstairsText3
 
 	db $1 ; people
 	db SPRITE_BUG_CATCHER, $2 + 4, $4 + 4, $fe, $2, $1 ; person
@@ -104320,8 +104320,8 @@
 FuchsiaPokecenterBlocks: ; 74030 (1d:4030)
 	INCBIN "maps/fuchsiapokecenter.blk"
 
-CeruleanHouse3Blocks: ; 7404c (1d:404c)
-	INCBIN "maps/ceruleanhouse3.blk"
+CeruleanHouse2Blocks: ; 7404c (1d:404c)
+	INCBIN "maps/ceruleanhouse2.blk"
 
 ; known jump sources: 5a4c8 (16:64c8)
 Func_7405c: ; 7405c (1d:405c)
@@ -105628,15 +105628,15 @@
 UnknownDungeon1Blocks: ; 74d76 (1d:4d76)
 	INCBIN "maps/unknowndungeon1.blk"
 
-CeruleanHouse3_h: ; 0x74dfd to 0x74e09 (12 bytes) (id=230)
+CeruleanHouse2_h: ; 0x74dfd to 0x74e09 (12 bytes) (id=230)
 	db $0d ; tileset
-	db CERULEAN_HOUSE_3_HEIGHT, CERULEAN_HOUSE_3_WIDTH ; dimensions (y, x)
-	dw CeruleanHouse3Blocks, CeruleanHouse3Texts, CeruleanHouse3Script ; blocks, texts, scripts
+	db CERULEAN_HOUSE_2_HEIGHT, CERULEAN_HOUSE_2_WIDTH ; dimensions (y, x)
+	dw CeruleanHouse2Blocks, CeruleanHouse2Texts, CeruleanHouse2Script ; blocks, texts, scripts
 	db $00 ; connections
 
-	dw CeruleanHouse3Object ; objects
+	dw CeruleanHouse2Object ; objects
 
-CeruleanHouse3Script: ; 74e09 (1d:4e09)
+CeruleanHouse2Script: ; 74e09 (1d:4e09)
 	ld a, $1
 	ld [$cf0c], a
 	dec a
@@ -105644,10 +105644,10 @@
 	ret
 ; 0x74e13
 
-CeruleanHouse3Texts: ; 74e13 (1d:4e13)
-	dw CeruleanHouse3Text1
+CeruleanHouse2Texts: ; 74e13 (1d:4e13)
+	dw CeruleanHouse2Text1
 
-CeruleanHouse3Text1: ; 74e15 (1d:4e15)
+CeruleanHouse2Text1: ; 74e15 (1d:4e15)
 	db $8
 	ld hl, UnnamedText_74e77
 	call PrintText
@@ -105759,7 +105759,7 @@
 	db $50
 ; 0x74eb9 + 5 bytes
 
-CeruleanHouse3Object: ; 0x74ebe (size=34)
+CeruleanHouse2Object: ; 0x74ebe (size=34)
 	db $c ; border tile
 
 	db $3 ; warps
@@ -108518,7 +108518,7 @@
 	EVENT_DISP $5, $0, $5 ; BRUNOS_ROOM
 
 LoreleiBlocks: ; 762ac (1d:62ac)
-	INCBIN "maps/loreli.blk"
+	INCBIN "maps/lorelei.blk"
 
 Bruno_h: ; 0x762ca to 0x762d6 (12 bytes) (id=246)
 	db $07 ; tileset
@@ -123918,7 +123918,7 @@
 	db $0, "TEAM ROCKET left", $4f
 	db "a way out!", $57
 
-_CeruleanHouse2Text1: ; 9888c (26:488c)
+_CeruleanHouseText1: ; 9888c (26:488c)
 	db $0, "My husband likes", $4f
 	db "trading #MON.", $51
 	db "If you are a", $4f
--- a/maps/celadonhouse.blk
+++ b/maps/celadonhouse.blk
@@ -1,4 +1,1 @@
-
%
-
-
-
+D@?DBCFG6A6
\ No newline at end of file
--- a/maps/celadonhouse2.blk
+++ /dev/null
@@ -1,1 +1,0 @@
-D@?DBCFG6A6
\ No newline at end of file
--- a/maps/celadonmart5.blk
+++ b/maps/celadonmart5.blk
@@ -1,1 +1,4 @@
-6;??A6!  <C*A6  !   A677777777A
\ No newline at end of file
+
%
+
+
+
--- a/maps/celadonmart6.blk
+++ /dev/null
@@ -1,1 +1,0 @@
-*+()
\ No newline at end of file
--- /dev/null
+++ b/maps/celadonmartelevator.blk
@@ -1,0 +1,1 @@
+*+()
\ No newline at end of file
--- /dev/null
+++ b/maps/celadonmartroof.blk
@@ -1,0 +1,1 @@
+6;??A6!  <C*A6  !   A677777777A
\ No newline at end of file
--- /dev/null
+++ b/maps/ceruleanhouse.blk
@@ -1,0 +1,1 @@
+	

\ No newline at end of file
--- a/maps/ceruleanhouse2.blk
+++ b/maps/ceruleanhouse2.blk
@@ -1,1 +1,1 @@
-	

\ No newline at end of file
+=	==,5
\ No newline at end of file
--- a/maps/ceruleanhouse3.blk
+++ /dev/null
@@ -1,1 +1,0 @@
-=	==,5
\ No newline at end of file
--- /dev/null
+++ b/maps/lorelei.blk
@@ -1,0 +1,1 @@
+!!$!!  DD
\ No newline at end of file
--- a/maps/loreli.blk
+++ /dev/null
@@ -1,1 +1,0 @@
-!!$!!  DD
\ No newline at end of file
binary files /dev/null b/maps/route15gateupstairs.blk differ
binary files a/maps/route18gateheader.blk /dev/null differ
binary files /dev/null b/maps/route18gateupstairs.blk differ