Nihon Route 49, Folage, and Barreau

This commit adds Nihon Route 49. It has everything necessary to work, but the wild Pokemon don't seem to spawn. I've added infrastructure that should allow this to happen, and it works for Kanto, so I am presuming that some other tomfoolery is at work.

I've also added Folage and Barreau, and implemented Folage into the Headbutt Tree table. This was to give them to the Bug Catcher on the route.
This commit is contained in:
Llinos Evans 2023-11-03 22:17:30 +00:00
parent e9cab6db16
commit 9c824b3c5e
65 changed files with 369 additions and 59 deletions

View file

@ -8,12 +8,12 @@ DebugRoom_MapScripts:
DebugPokemon1Script:
opentext
getmonname STRING_BUFFER_3, PALSSIO
getmonname STRING_BUFFER_3, FOLAGE
writetext ReceivedDebugPokemonText
playsound SFX_CAUGHT_MON
waitsfx
promptbutton
givepoke PALSSIO, 42, RARE_CANDY
givepoke FOLAGE, 42, RARE_CANDY
closetext
end

1
maps/Route49.ablk Normal file
View file

@ -0,0 +1 @@
)))($eeeeee$))(&$$$$$$`*,%&.$dee'%*&#$$-$'''%VV\]]"`]]]]]]]]]]]]$

53
maps/Route49.asm Normal file
View file

@ -0,0 +1,53 @@
object_const_def
const ROUTE_49_BUG_CATCHER
Route49_MapScripts:
def_scene_scripts
def_callbacks
TrainerBugCatcherSioned:
trainer BUG_CATCHER, SIONED, EVENT_BEAT_BUG_CATCHER_SIONED, BugCatcherSionedSeenText, BugCatcherSionedBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext BugCatcherSionedAfterText
waitbutton
closetext
end
BugCatcherSionedSeenText:
text "I haven't seen"
line "you around here"
cont "before!"
done
BugCatcherSionedBeatenText:
text "You're good,"
line "too!"
done
BugCatcherSionedAfterText:
text "Foreigners often"
line "say this place"
cont "feels familiar."
para "What's so special"
line "about this place,"
cont "anyhow?"
done
Route49_MapEvents:
db 0, 0 ; filler
def_warp_events
;warp_event 8, 9, SILENT_CAVE, 1
;warp_event 8, 8, SILENT_CAVE, 1
def_coord_events
def_bg_events
def_object_events
object_event 23, 7, SPRITE_BUG_CATCHER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 5, TrainerBugCatcherSioned, -1