Fix Bill's House

Bill's House is now finished and fully functional, save for the PC. I've left some commented-out code to have the dex entries in case someone wants to do that.

I did some groundwork for a Blastyke starter but it's really difficult and unwieldy, so I've left it out of this commit and likely won't bother. Pikachu and Eevee mode is definitely in the cards though.
This commit is contained in:
May Evans 2023-03-25 10:43:58 +00:00
parent bd067fa5a4
commit f099436f8d
6 changed files with 26 additions and 11 deletions

View file

@ -107,7 +107,7 @@ DEF FIRST_INDOOR_MAP EQU const_value
mapconst DIGLETTS_CAVE_ROUTE_11, 4, 4 ; $55 mapconst DIGLETTS_CAVE_ROUTE_11, 4, 4 ; $55
mapconst ROUTE_11_GATE_2F, 4, 4 ; $56 mapconst ROUTE_11_GATE_2F, 4, 4 ; $56
mapconst ROUTE_12_GATE_1F, 4, 5 ; $57 mapconst ROUTE_12_GATE_1F, 4, 5 ; $57
mapconst BILLS_HOUSE, 4, 4 ; $58 mapconst BILLS_HOUSE, 4, 7 ; $58
mapconst VERMILION_POKECENTER, 4, 7 ; $59 mapconst VERMILION_POKECENTER, 4, 7 ; $59
mapconst POKEMON_FAN_CLUB, 4, 4 ; $5A mapconst POKEMON_FAN_CLUB, 4, 4 ; $5A
mapconst VERMILION_MART, 4, 4 ; $5B mapconst VERMILION_MART, 4, 4 ; $5B

View file

@ -552,7 +552,7 @@ VictoryRoad2HiddenObjects:
db -1 ; end db -1 ; end
BillsHouseHiddenObjects: BillsHouseHiddenObjects:
hidden_object 1, 4, SPRITE_FACING_UP, BillsHousePC hidden_object 3, 4, SPRITE_FACING_UP, BillsHousePC
db -1 ; end db -1 ; end
ViridianCityHiddenObjects: ViridianCityHiddenObjects:

View file

@ -2,16 +2,16 @@ BillsHouse_Object:
db $d ; border block db $d ; border block
def_warp_events def_warp_events
warp_event 2, 9, LAST_MAP, 1 warp_event 2, 7, LAST_MAP, 1
warp_event 3, 9, LAST_MAP, 1 warp_event 3, 7, LAST_MAP, 1
warp_event 11, 0, BILLS_GARDEN, 1 warp_event 11, 0, BILLS_GARDEN, 1
def_bg_events def_bg_events
def_object_events def_object_events
object_event 6, 5, SPRITE_MONSTER, STAY, NONE, 1 ; person object_event 6, 5, SPRITE_MONSTER, STAY, NONE, 1 ; person
object_event 4, 4, SPRITE_SUPER_NERD, STAY, NONE, 2 ; person object_event 1, 4, SPRITE_SUPER_NERD, STAY, NONE, 2 ; person
object_event 6, 5, SPRITE_SUPER_NERD, STAY, NONE, 3 ; person object_event 6, 5, SPRITE_SUPER_NERD, STAY, NONE, 3 ; person
object_event 11, 1, SPRITE_MONSTER, STAY, NONE, 4 ; nidorino object_event 11, 1, SPRITE_MONSTER, STAY, NONE, 5 ; nidorino
def_warps_to BILLS_HOUSE def_warps_to BILLS_HOUSE

View file

@ -107,6 +107,16 @@ BillsHousePokemonList::
jr z, .displayPokedex jr z, .displayPokedex
cp VAPOREON cp VAPOREON
jr z, .displayPokedex jr z, .displayPokedex
;cp ESPEON
;jr z, .displayPokedex
;cp UMBREON
;jr z, .displayPokedex
;cp LEAFEON
;jr z, .displayPokedex
;cp GLACEON
;jr z, .displayPokedex
;cp SYLVEON
;jr z, .displayPokedex - these are weird and don't work well
jr .cancel jr .cancel
.displayPokedex .displayPokedex
call DisplayPokedex call DisplayPokedex
@ -127,6 +137,11 @@ BillsMonListText:
next "FLAREON" next "FLAREON"
next "JOLTEON" next "JOLTEON"
next "VAPOREON" next "VAPOREON"
;next "ESPEON" The menu needs to scroll - the first few work fine.
;next "UMBREON"
;next "LEAFEON"
;next "GLACEON"
;next "SYLVEON"
next "CANCEL@" next "CANCEL@"
BillsHousePokemonListText2: BillsHousePokemonListText2:

View file

@ -1,2 +1,2 @@
!" !"
$8%+  $+ 

View file

@ -11,7 +11,6 @@ BillsHouse_ScriptPointers:
dw BillsHouseScript3 dw BillsHouseScript3
dw BillsHouseScript4 dw BillsHouseScript4
dw BillsHouseScript5 dw BillsHouseScript5
dw BillsHouseNidorino
BillsHouseScript0: BillsHouseScript0:
ret ret
@ -90,9 +89,9 @@ BillsHouseScript3:
MovementData_1e807: MovementData_1e807:
db NPC_MOVEMENT_DOWN db NPC_MOVEMENT_DOWN
db NPC_MOVEMENT_RIGHT ;db NPC_MOVEMENT_RIGHT
db NPC_MOVEMENT_RIGHT ;db NPC_MOVEMENT_RIGHT
db NPC_MOVEMENT_RIGHT ;db NPC_MOVEMENT_RIGHT
db NPC_MOVEMENT_DOWN db NPC_MOVEMENT_DOWN
db -1 ; end db -1 ; end
@ -121,6 +120,7 @@ BillsHouse_TextPointers:
dw BillsHouseText2 dw BillsHouseText2
dw BillsHouseText3 dw BillsHouseText3
dw BillsHouseText4 dw BillsHouseText4
dw BillsHouseNidorino ; DO. NOT. TOUCH. PLEASE GOD.
BillsHouseText4: BillsHouseText4:
script_bills_pc script_bills_pc