mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 10:23:34 +12:00

This was surprisingly easy to add, albeit a bit awkward. I learned how to add trainer battles without headers this way, so I may go back to CeladonU and restructure with this in mind. This commit adds a fully functioning Professor Oak fight, using the Rival party choice script as a launchpad. You can desynchronise the choices easily, just a few number changes. I used the S. S. Anne 2F and Route 22 scripts to hodgepodge it together. Because of how I did this, Oak is fully re-fightable, taking inspiration from XY Serena's daily re-fights. I tried to add a Yes/No prompt, but it would still pull you into the fight, presumably because it's calling a beforebattle script before the code. It's a bit of a hassle and my CeladonU code sucked, so I decided to leave it out for now. It's intended to be unlocked once you enter the Hall of Fame, thus that change there. That hasn't been tested properly so uhhhh *shrug*
100 lines
1.5 KiB
NASM
100 lines
1.5 KiB
NASM
_Route1ViridianMartSampleText::
|
|
text "Hi! I work at a"
|
|
line "#MON MART."
|
|
|
|
para "It's a convenient"
|
|
line "shop, so please"
|
|
cont "visit us in"
|
|
cont "VIRIDIAN CITY."
|
|
|
|
para "I know, I'll give"
|
|
line "you a sample!"
|
|
cont "Here you go!"
|
|
prompt
|
|
|
|
_Route1Text_1cae8::
|
|
text "<PLAYER> got"
|
|
line "@"
|
|
text_ram wStringBuffer
|
|
text "!@"
|
|
text_end
|
|
|
|
_Route1Text_1caee::
|
|
text "We also carry"
|
|
line "# BALLs for"
|
|
cont "catching #MON!"
|
|
done
|
|
|
|
_Route1Text_1caf3::
|
|
text "You have too much"
|
|
line "stuff with you!"
|
|
done
|
|
|
|
_Route1Text2::
|
|
text "See those ledges"
|
|
line "along the road?"
|
|
|
|
para "It's a bit scary,"
|
|
line "but you can jump"
|
|
cont "from them."
|
|
|
|
para "You can get back"
|
|
line "to PALLET TOWN"
|
|
cont "quicker that way."
|
|
done
|
|
|
|
_Route1Text3::
|
|
text "ROUTE 1"
|
|
line "PALLET TOWN -"
|
|
cont "VIRIDIAN CITY"
|
|
done
|
|
|
|
_OakBeforeBattleText::
|
|
text "OAK: Oh, my!"
|
|
|
|
para "It seems you"
|
|
line "caught me during"
|
|
cont "during my lunch"
|
|
cont "hour!"
|
|
|
|
para "<PLAYER>, you"
|
|
line "have truly come"
|
|
cont "into your own!"
|
|
|
|
para "Your #MON"
|
|
line "LEAGUE challenge"
|
|
cont "has reignited"
|
|
cont "a spirit that"
|
|
cont "left me a long"
|
|
cont "time ago..."
|
|
|
|
para "How about we"
|
|
line "spar a bit?"
|
|
cont "What say you?"
|
|
|
|
done
|
|
|
|
_OakDefeatedText::
|
|
text "Hmm..."
|
|
|
|
para "I still have a"
|
|
line "lot to learn!"
|
|
prompt
|
|
|
|
_OakWonText::
|
|
text "Back in my day,"
|
|
line "I was a serious"
|
|
cont "TRAINER!"
|
|
prompt
|
|
|
|
_OakYes::
|
|
text "Back in my day,"
|
|
line "I was a serious"
|
|
cont "TRAINER! Prepare"
|
|
cont "yourself, <PLAYER>!"
|
|
prompt
|
|
|
|
_OakNo::
|
|
text "Maybe another"
|
|
line "time!"
|
|
done |