Bill's Garden, add Rowan NPC

Rowan NPC added to Cinnabar Lab, just a little cute thing.

Bill's Garden could see many revisions, what's here is the bare minimum. Here's what's done:
- Nidorino NPC blocks it off and is unlocked in the post-game. This currently contradicts the myth - I have a plan for this soon.
- Wild Pokemon are the "non-reproducibles" given in Stadium; starters and eevee are mandatory given those were common in the myth
- Hisui forms should be added when possible
- I had to remake Martha's map in the forest tileset so leaving would be possible
- Everything is at a point where it functions
This commit is contained in:
May Evans 2023-03-03 10:41:28 +00:00
parent 1d49a84b7e
commit bcb67db573
20 changed files with 113 additions and 28 deletions

View file

@ -247,4 +247,5 @@ DEF SHOW EQU $15
const HS_ROUTE_1_OAK ; EB
const HS_MT_MOON_CRATER_GUARD ; EC
const HS_MANSION_GUARD ; ED
const HS_BILLS_NIDORINO ; EE
DEF NUM_HS_OBJECTS EQU const_value

View file

@ -263,7 +263,7 @@ DEF FIRST_INDOOR_MAP EQU const_value
mapconst CELADON_UNIVERSITY_OUTSIDE, 20, 21 ; $F1 - Was UNUSED_MAP_F1
mapconst CELADON_UNIVERSITY_INSIDE, 10, 11 ; $F2 - Was UNUSED_MAP_F2
mapconst CELADON_UNIVERSITY_POKECENTER, 4, 7 ; $F3 - Was UNUSED_MAP_F3
mapconst UNUSED_MAP_F4, 0, 0 ; $F4 - Unused, will be Bill's Garden
mapconst BILLS_GARDEN, 9, 8 ; $F4 - Was UNUSED_MAP_F4
mapconst LORELEIS_ROOM, 6, 5 ; $F5
mapconst BRUNOS_ROOM, 6, 5 ; $F6
mapconst AGATHAS_ROOM, 6, 5 ; $F7 - Maps F8 - FE currently have no data

View file

@ -0,0 +1,2 @@
map_header BillsGarden, BILLS_GARDEN, FOREST, 0
end_map_header

View file

@ -247,7 +247,7 @@ MapHSPointers:
dw NoHS
dw NoHS
dw NoHS
dw UnusedMapF4HS
dw BillsGardenHS
dw NoHS
dw NoHS
dw NoHS
@ -397,6 +397,7 @@ BillsHouseHS:
db BILLS_HOUSE, $01, SHOW
db BILLS_HOUSE, $02, HIDE
db BILLS_HOUSE, $03, HIDE
db BILLS_HOUSE, $04, SHOW
ViridianForestHS:
db VIRIDIAN_FOREST, $05, SHOW
db VIRIDIAN_FOREST, $06, SHOW
@ -507,8 +508,8 @@ SilphCo11FHS:
db SILPH_CO_11F, $03, SHOW
db SILPH_CO_11F, $04, SHOW
db SILPH_CO_11F, $05, SHOW
UnusedMapF4HS:
db UNUSED_MAP_F4, $02, SHOW
BillsGardenHS: ; could be used for the dragonite boss fight, so not removing this part of UNUSED_MAP_F4
db BILLS_GARDEN, $02, SHOW
CinnabarVolcanoHS:
db CINNABAR_VOLCANO, $01, SHOW
PokemonMansion2FHS:

View file

@ -245,7 +245,7 @@ MapHeaderBanks::
db BANK(CeladonUniversityOutside_h) ; $11 UNUSED_MAP_F1
db BANK(CeladonUniversityInside_h) ; $11 UNUSED_MAP_F2
db BANK(CeladonUniversityPokecenter_h) ; UNUSED_MAP_F3
db $11 ; UNUSED_MAP_F4
db BANK(BillsGarden_h) ; UNUSED_MAP_F4, $11
db BANK(LoreleisRoom_h)
db BANK(BrunosRoom_h)
db BANK(AgathasRoom_h)

View file

@ -245,7 +245,7 @@ MapHeaderPointers::
dw CeladonUniversityOutside_h ; UNUSED_MAP_F1
dw CeladonUniversityInside_h ; UNUSED_MAP_F2
dw CeladonUniversityPokecenter_h ; UNUSED_MAP_F3
dw SilphCo2F_h ; UNUSED_MAP_F4
dw BillsGarden_h ; UNUSED_MAP_F4, used to use SilphCo2F_h
dw LoreleisRoom_h
dw BrunosRoom_h
dw AgathasRoom_h

View file

@ -0,0 +1,12 @@
BillsGarden_Object:
db $03 ; border block
def_warp_events
warp_event 6, 17, BILLS_HOUSE, 1
warp_event 7, 17, BILLS_HOUSE, 1
def_bg_events
def_object_events
def_warps_to BILLS_GARDEN

View file

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

View file

@ -16,5 +16,6 @@ CinnabarLab_Object:
def_object_events
object_event 1, 3, SPRITE_FISHING_GURU, STAY, NONE, 1 ; person
object_event 11, 6, SPRITE_SCIENTIST, WALK, ANY_DIR, 2 ; person
def_warps_to CINNABAR_LAB

View file

@ -0,0 +1,26 @@
BillsGardenWildMons: ; wild mons are definitely edit-able
def_grass_wildmons 10 ; encounter rate
db 46, EEVEE
db 46, EEVEE
db 46, CHARMANDER
db 49, BULBASAUR
db 49, HITMONTOP
db 52, HITMONCHAN
db 49, HITMONLEE
db 52, KABUTO
db 53, OMANYTE
db 53, AERODACTYL
end_grass_wildmons
def_water_wildmons 10 ; encounter rate
db 40, SQUIRTLE
db 40, SQUIRTLE
db 40, SQUIRTLE
db 40, SQUIRTLE
db 40, SQUIRTLE
db 40, SQUIRTLE
db 40, SQUIRTLE
db 40, BLASTOISE
db 40, BLASTOISE
db 40, TOTARTLE
end_water_wildmons

View file

@ -1296,4 +1296,9 @@ PokemonMansionB2F_Blocks: INCBIN "maps/PokemonMansionB2F.blk"
INCLUDE "data/maps/headers/MtMoonCrater.asm"
INCLUDE "scripts/MtMoonCrater.asm"
INCLUDE "data/maps/objects/MtMoonCrater.asm"
MtMoonCrater_Blocks: INCBIN "maps/MtMoonCrater.blk"
MtMoonCrater_Blocks: INCBIN "maps/MtMoonCrater.blk"
INCLUDE "data/maps/headers/BillsGarden.asm"
INCLUDE "scripts/BillsGarden.asm"
INCLUDE "data/maps/objects/BillsGarden.asm"
BillsGarden_Blocks: INCBIN "maps/BillsGarden.blk"

View file

@ -1,9 +1 @@
,,;QQQQ>,,,+%tt
t$*,,)
(,,)eCd (,,)
t (,,)t
(,,)
t
(,,,?;tt>?,,WWW%
$WWW
ACEEEE?ACF((((D?B\QR @BZ-[@B( @B (@B( (@K=> @AABY<==J

View file

@ -1,2 +1,2 @@

 
!"
$8%+ 

View file

@ -1,16 +1,15 @@
Exception: STATUS_ACCESS_VIOLATION at rip=00100401246
rax=FFFFFFF7FFF91B01 rbx=0000000000006048 rcx=0000000800000010
rdx=0000000000000000 rsi=000000080006C835 rdi=0000000000000000
r8 =00000000FFFFC744 r9 =0000000000000000 r10=0000000100000000
r11=0000000100401282 r12=000000080006E500 r13=0000000100403148
rax=FFFFFFF7FFF8CCA1 rbx=0000000000000064 rcx=0000000800000010
rdx=0000000000000000 rsi=0000000800063279 rdi=0000000000000000
r8 =00000000FFFFC7C4 r9 =0000000000000000 r10=0000000100000000
r11=0000000100401282 r12=0000000800073360 r13=0000000100403148
r14=0000000000000000 r15=0000000000000001
rbp=0000000100403156 rsp=00000000FFFFC9E0
program=C:\cygwin64\home\chipp\kep-hack\tools\scan_includes.exe, pid 1692, thread main
rbp=0000000100403156 rsp=00000000FFFFCA60
program=C:\cygwin64\home\chipp\kep-hack\tools\scan_includes.exe, pid 1444, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame Function Args
00100403156 00100401246 (0080006C835, 00000000022, 00100403166, 00100403148)
00100403156 00100401409 (0080005A44B, 00000000022, 00100403166, 000FFFFCB90)
00100403156 00100401246 (00800063279, 00000000022, 00100403166, 000FFFFCB90)
00100403156 00100401409 (00000000000, 00100000001, 00180227860, 00100407000)
00100403178 00100401C87 (00000000020, 00000000000, 00180049B11, 00180048A70)
000FFFFCD30 00180049B7D (00000000000, 00000000000, 00000000000, 00000000000)

6
scripts/BillsGarden.asm Normal file
View file

@ -0,0 +1,6 @@
BillsGarden_Script:
jp EnableAutoTextBoxDrawing
BillsGarden_TextPointers:
text_end ; unused

View file

@ -11,6 +11,7 @@ BillsHouse_ScriptPointers:
dw BillsHouseScript3
dw BillsHouseScript4
dw BillsHouseScript5
dw BillsHouseNidorino
BillsHouseScript0:
ret
@ -212,3 +213,11 @@ BillsHouseText3:
BillsHouseText_1e8da:
text_far _BillsHouseText_1e8da
text_end
BillsHouseNidorino:
text_far _BillsHouseNidorino
text_asm
ld a, NIDORINO
call PlayCry
text_far _BillWarning
jp TextScriptEnd

View file

@ -8,6 +8,7 @@ CinnabarLab_TextPointers:
dw Lab1Text3
dw Lab1Text4
dw Lab1Text5
dw Lab1Text6 ; rowan
Lab1Text1:
text_far _Lab1Text1
@ -28,3 +29,7 @@ Lab1Text4:
Lab1Text5:
text_far _Lab1Text5
text_end
Lab1Text6:
text_far _Lab1Text6
text_end

View file

@ -103,6 +103,9 @@ HallofFameRoomScript1:
ld a, HS_ROUTE_1_OAK
ld [wMissableObjectIndex], a
predef ShowObject
ld a, HS_BILLS_NIDORINO
ld [wMissableObjectIndex], a
predef HideObject
ld a, HS_MANSION_GUARD
ld [wMissableObjectIndex], a
predef HideObject

View file

@ -86,3 +86,17 @@ _BillsHouseText_1e8da::
cont "some of my rare"
cont "#MON on my PC!"
done
_BillsHouseNidorino::
text "NIDORINO stares"
line "you down..."
done
_BillWarning::
text "BILL: Hey, bud!"
line "Stay away from"
cont "there, would ya?"
para "My prized #MON"
line "are in there!"
done

View file

@ -27,3 +27,10 @@ _Lab1Text5::
text "#MON LAB"
line "Testing Room"
done
_Lab1Text6::
text "I came here from"
line "afar to research"
cont "the myths of"
cont "KANTO."
done