Add a separate file for dialogue

This commit is contained in:
The Gears of Progress 2025-01-26 17:46:26 -05:00
parent f4f64d0e07
commit 9f2dc4f653
5 changed files with 132 additions and 130 deletions

49
include/dialogue.h Normal file
View File

@ -0,0 +1,49 @@
#ifndef DIALOGUE_H
#define DIALOGUE_H
#include <string>
// Dialogue
#define DIA_OPEN 0
#define DIA_E4 1
#define DIA_MG_FRLGE 2
#define DIA_MG_RS 3
#define DIA_LETS_START 4
#define DIA_START 5
#define DIA_TRANS_GOOD 6
#define DIA_NEW_DEX 7
#define DIA_NO_NEW_DEX 8
#define DIA_SEND_FRIEND_KANTO 9
#define DIA_SEND_FRIEND_HOENN_RS 10
#define DIA_SEND_FRIEND_HOENN_E 11
#define DIA_THANK 12
#define DIA_GET_MON 13
#define DIA_MG_OTHER_EVENT 14
#define DIA_PKMN_TO_COLLECT 15
#define DIA_NO_VALID_PKMN 16
#define DIA_ASK_QUEST 17
#define DIA_WHAT_GAME_TRANS 18
#define DIA_WHAT_LANG_TRANS 19
#define DIA_NO_GB_ROM 20
#define DIA_IN_BOX 21
#define DIA_MYTHIC_CONVERT 22
#define DIA_CANCEL 23
#define DIA_SOME_INVALID_PKMN 24
#define DIA_MENU_BACK 25
#define DIA_IS_MISSINGNO 26
#define DIA_ERROR_COLOSSEUM 27
#define DIA_ERROR_COM_ENDED 28
#define DIA_ERROR_DISCONNECT 29
#define DIA_ERROR_TIME_ONE 30
#define DIA_ERROR_TIME_TWO 31
#define DIA_WHAT_LANG_EVENT 32
#define DIA_WHAT_GAME_EVENT 33
#define DIA_K_DEX_NOT_FULL 34
#define DIA_J_DEX_NOT_FULL 35
#define DIA_SIZE 36
#define DIA_END DIA_SIZE
extern const std::string_view dialogue[DIA_SIZE];
#endif

View File

@ -4,98 +4,55 @@
#include "script_obj.h"
#include "pokemon_party.h"
#include "rom_data.h"
// Dialouge
#define DIA_OPEN 0
#define DIA_E4 1
#define DIA_MG_RS 2
#define DIA_MG_FRLGE 3
#define DIA_START 4
#define DIA_LETS_START 5
#define DIA_ERROR_1 6
#define DIA_CONN_GOOD 7
#define DIA_LINK_GOOD 8
#define DIA_TRANS_GOOD 9
#define DIA_NEW_DEX 10
#define DIA_NO_NEW_DEX 11
#define DIA_SEND_FRIEND_HOENN_RS 12
#define DIA_SEND_FRIEND_KANTO 13
#define DIA_THANK 14
#define DIA_GET_MON 15
#define DIA_ERROR_TIME_ONE 16
#define DIA_ERROR_TIME_TWO 17
#define DIA_ERROR_DISCONNECT 18
#define DIA_ERROR_COM_ENDED 19
#define DIA_ERROR_COLOSSEUM 20
#define DIA_MG_OTHER_EVENT 21
#define DIA_PKMN_TO_COLLECT 22
#define DIA_NO_VALID_PKMN 23
#define DIA_WHAT_GAME_TRANS 24
#define DIA_WHAT_LANG_TRANS 25
#define DIA_ASK_QUEST 26
#define DIA_NO_GB_ROM 27
#define DIA_IN_BOX 28
#define DIA_MYTHIC_CONVERT 29
#define DIA_CANCEL 30
#define DIA_WHAT_LANG_EVENT 31
#define DIA_WHAT_GAME_EVENT 32
#define DIA_K_DEX_NOT_FULL 33
#define DIA_J_DEX_NOT_FULL 34
#define DIA_SOME_INVALID_PKMN 35
#define DIA_MENU_BACK 36
#define DIA_SEND_FRIEND_HOENN_E 37
#define DIA_IS_MISSINGNO 38
#define DIA_SIZE 39
#define DIA_END DIA_SIZE
#include "dialogue.h"
// Commands
#define T_SCRIPT_START DIA_END + 0
#define E_SCRIPT_START DIA_END + 1
#define CMD_START_LINK DIA_END + 2
#define CMD_IMPORT_POKEMON DIA_END + 3 // This one is special because it can be true or false
#define CMD_BACK_TO_MENU DIA_END + 4
#define CMD_SHOW_PROF DIA_END + 5
#define CMD_HIDE_PROF DIA_END + 6
#define CMD_SET_TUTOR_TRUE DIA_END + 7
#define CMD_END_SCRIPT DIA_END + 8
#define CMD_GAME_MENU DIA_END + 9
#define CMD_LANG_MENU DIA_END + 10
#define CMD_SLIDE_PROF_LEFT DIA_END + 11
#define CMD_SLIDE_PROF_RIGHT DIA_END + 12
#define CMD_CONTINUE_LINK DIA_END + 13
#define CMD_BOX_MENU DIA_END + 14
#define CMD_MYTHIC_MENU DIA_END + 15
#define CMD_LOAD_SIMP DIA_END + 16
#define CMD_CANCEL_LINK DIA_END + 17
#define CMD_END_MISSINGNO DIA_END + 18
#define T_SCRIPT_START DIA_END + 0
#define E_SCRIPT_START DIA_END + 1
#define CMD_START_LINK DIA_END + 2
#define CMD_IMPORT_POKEMON DIA_END + 3 // This one is special because it can be true or false
#define CMD_BACK_TO_MENU DIA_END + 4
#define CMD_SHOW_PROF DIA_END + 5
#define CMD_HIDE_PROF DIA_END + 6
#define CMD_SET_TUTOR_TRUE DIA_END + 7
#define CMD_END_SCRIPT DIA_END + 8
#define CMD_GAME_MENU DIA_END + 9
#define CMD_LANG_MENU DIA_END + 10
#define CMD_SLIDE_PROF_LEFT DIA_END + 11
#define CMD_SLIDE_PROF_RIGHT DIA_END + 12
#define CMD_CONTINUE_LINK DIA_END + 13
#define CMD_BOX_MENU DIA_END + 14
#define CMD_MYTHIC_MENU DIA_END + 15
#define CMD_LOAD_SIMP DIA_END + 16
#define CMD_CANCEL_LINK DIA_END + 17
#define CMD_END_MISSINGNO DIA_END + 18
#define CMD_SIZE 19
#define CMD_SIZE 19
#define CMDS_END DIA_END + CMD_SIZE
// Conditionals
#define COND_ERROR_TIMEOUT_ONE CMDS_END + 0 // Didn't talk to the Cable Club attendant fast enough or cable not connected
#define COND_ERROR_DISCONNECT CMDS_END + 1 // If you unplug the cable after starting SPI
#define COND_ERROR_COM_ENDED CMDS_END + 2 // If you don't save the game
#define COND_ERROR_TIMEOUT_TWO CMDS_END + 3 // ???
#define COND_ERROR_COLOSSEUM CMDS_END + 4 // If the player selects the battle colosseum (shouldn't be possible)
#define COND_BEAT_E4 CMDS_END + 5
#define COND_MG_ENABLED CMDS_END + 6
#define COND_TUTORIAL_COMPLETE CMDS_END + 7
#define COND_NEW_POKEMON CMDS_END + 8
#define COND_IS_HOENN_RS CMDS_END + 9
#define COND_IS_FRLGE CMDS_END + 10
#define COND_MG_OTHER_EVENT CMDS_END + 11
#define COND_PKMN_TO_COLLECT CMDS_END + 12
#define COND_GB_ROM_EXISTS CMDS_END + 13
#define COND_CHECK_MYTHIC CMDS_END + 14
#define COND_CHECK_DEX CMDS_END + 15
#define COND_CHECK_KANTO CMDS_END + 16
#define COND_SOME_INVALID_PKMN CMDS_END + 17
#define COND_IS_HOENN_E CMDS_END + 18
#define COND_CHECK_MISSINGNO CMDS_END + 19
#define COND_ERROR_TIMEOUT_ONE CMDS_END + 0 // Didn't talk to the Cable Club attendant fast enough or cable not connected
#define COND_ERROR_DISCONNECT CMDS_END + 1 // If you unplug the cable after starting SPI
#define COND_ERROR_COM_ENDED CMDS_END + 2 // If you don't save the game
#define COND_ERROR_TIMEOUT_TWO CMDS_END + 3 // ???
#define COND_ERROR_COLOSSEUM CMDS_END + 4 // If the player selects the battle colosseum (shouldn't be possible)
#define COND_BEAT_E4 CMDS_END + 5
#define COND_MG_ENABLED CMDS_END + 6
#define COND_TUTORIAL_COMPLETE CMDS_END + 7
#define COND_NEW_POKEMON CMDS_END + 8
#define COND_IS_HOENN_RS CMDS_END + 9
#define COND_IS_FRLGE CMDS_END + 10
#define COND_MG_OTHER_EVENT CMDS_END + 11
#define COND_PKMN_TO_COLLECT CMDS_END + 12
#define COND_GB_ROM_EXISTS CMDS_END + 13
#define COND_CHECK_MYTHIC CMDS_END + 14
#define COND_CHECK_DEX CMDS_END + 15
#define COND_CHECK_KANTO CMDS_END + 16
#define COND_SOME_INVALID_PKMN CMDS_END + 17
#define COND_IS_HOENN_E CMDS_END + 18
#define COND_CHECK_MISSINGNO CMDS_END + 19
#define COND_SIZE 20
#define COND_SIZE 20
#define COND_END CMDS_END + COND_SIZE
// Ends
@ -107,7 +64,6 @@ extern script_obj event_script[];
extern rom_data curr_rom;
void populate_script();
void populate_dialogue();
void populate_lang_menu();
void populate_game_menu(int lang);
bool run_conditional(int index);

40
source/dialogue.cpp Normal file
View File

@ -0,0 +1,40 @@
#include "dialogue.h"
const std::string_view dialogue[DIA_SIZE] = {
"Hey there! I'm Professor\nFennel. As you can see, I'm\na scientist.|In fact, the subject I'm \nresearching is Trainers!|My dream is to collect save files of various trainers, \nbut I haven't had any \nbreakthroughs yet...|So in the meantime, I've\nbeen working on a different\nproject with one of my old\nfriends!|In my home region, there's a\nlocation that can make a\nPok@mon's dreams into\nreality.|This means that any other\nPok@mon they meet in their\ndreams become real!|That's fantastic, but my\ngoal is to do the same-\njust with a trainer's dream\ninstead!|That's why I need your help!\nI want to bring as many\nPok@mon out of your dreams\nas possible!|There's just over 250\nPok@mon I want to catalogue\nin my Dream Pok@Dex-\nor Dream Dex for short.|But I'll let you keep any\nPok@mon- they're from your\ndreams after all!|One last note, save data\nbackups are recommended-\njust on the off chance that\nsomething goes wrong!|I think that's everything...\nwhenever you're ready to\nstart, just let me know!",
"Hi trainer! I'm thrilled\nyou've decided to help with our research, but we need\nthe best of the best!|Come back after you've\nbeaten the Elite Four and\nbecome the Champion!",
"Sorry trainer, one more\nthing to take care of before\nwe can begin- you need to\nenable MYSTERY GIFT!|Head to the nearest Pok@\nMart and fill out the\nquestionnaire as follows:\nLINK TOGETHER WITH ALL|After that, you should be\nall set to go!|See you soon!",
"Sorry trainer, one more\nthing to take care of before\nwe can begin- you need to\nenable MYSTERY EVENT!|Head to the PETALBURG\nPok@mon Center and tell the\nman next to the PC:\nMYSTERY EVENT IS EXCITING|After that, you should be\nall set to go!|See you soon!",
"Perfect, that's all the\ninformation I need! Let's\nget started!",
"On a second Game Boy family\nsystem, please load the Game\nBoy Pok@mon game you wish to\ntransfer from.|In your Game Boy Pok@mon\ngame, make your current box\nthe one you want to transfer\nfrom.|Then connect this Game Boy\nAdvance to the other Game\nBoy family system using a\nGame Boy Color link cable.|Once you're ready, press A\non this device, talk to the Cable Club attendant, and\nthen initiate a trade.",
"Amazing! Fantastic!\nEverything went perfectly!",
"It looks like there's at\nleast one new Pok@mon here\nthat isn't in the Dream Dex!|I'll give them something\nextra sweet as a reward for you both.",
"It doesn't look like there's\nanything new for your Dream\nDex, but that's okay!|It's important to confirm\nresearch results with\nmultiple tests!",
"I'm going to send these\nPok@mon to one of my friends\nso that you can pick them\nup!|They live just south of the Pok@mon center on Seven\nIsland!",
"I'm going to send these\nPok@mon to one of my friends\nso that you can pick them\nup!|They live just southeast of the Pok@mon center in\nMossdeep City!",
"I'm going to send these\nPok@mon to one of my friends\nso that you can pick them\nup!|They live just southeast of the Pok@mon center in\nSootopolis City!",
"Thank you so much for your\nhelp! Whenever you want to\ntransfer more Pok@mon, just\nlet me know!|See you around!",
"Let's get started! Please connect Load the Game Boy Pok@mon game you want to transfer from, and put the Pok@mon you want to transfer into your party. ",
"Hi Trainer! It looks like\nyou have a different event\ncurrently loaded.|That's no problem, but it\nwill be overwritten if you\ncontinue.|Turn off the system now if\nyou want to experience your\ncurrent event,\nbut otherwise-",
"Hi Trainer! It looks like\nyou still have Pok@mon to\npick up...|I can't send over new\nPok@mon until you pick those\nup.|Come back after you've\nreceived them!",
"Sorry Trainer, it doesn't\nlook like you have any valid\nPok@mon in your current box\nright now.|Go double check your current\nbox and we can give it\nanother shot!",
"Hi trainer! Before we begin,\nI need to ask you a few\nquestions.",
"And which Game Boy Pok@mon\ngame are you transferring\nfrom?",
"What language is the Game\nBoy Pok@mon game that you're\ntransferring from?",
"I'm sorry, but that version\nin that language is not\ncurrently supported.",
"Alright! Let's take a look\nat the Pok@mon that will be\ntransfered.|Please remember, once a\nPok@mon is transfered, it\nCANNOT be returned to the\nGame Boy Game Pak.|Select confirm once you're\nready, or select cancel if\nyou want to keep the Pok@mon\non your Game Boy Game Pak.",
"It looks like you have a\nrare Mythical Pok@mon!|Due to their rarity, it\nseems they've overloaded the\nmachine.|I can stablize them if you'd\nlike, but it'll change some\nthings like met location,\nOT, TID, and Shininess.|Otherwise I can leave them\nas is, but there's no\nguarentee that they'll be\ntransferrable in the future.|Do you want me to stablize\nthem? This will apply to\nall of the Mythical Pok@mon\ncurrently in your box.",
"No worries! Feel free to\ncome back if you change your\nmind!|See you around!",
"I see there is at least one\nPok@mon that cannot be\ntransferred from your\ncurrent box.|Pok@mon holding items or\nmodified incorrectly through\nunintended means cannot\nbe transferred.|The other Pok@mon will\ntransfer just fine though!",
"No worries! Feel free to\ncome back any time!",
"...It seems like one of your Pok@mon is messing with the machine...|It looks to only be graphical though, so we can continue!",
"It looks like you went to\nthe colosseum instead of the\ntrading room!|Let's try that again!",
"Communication with the other\ndevice was terminated.|Let's try that again!",
"It looks like the Game Boy\nColor link cable was\ndisconnected...|Let's try that again!",
"It looks like the connection\ntimed out...|Let's try that again!",
"It seems like the connection\ntimed out...|Let's try that again!",
"What language is the Game\nBoy Pok@mon game that you\nwant to send an event to?",
"And which Game Boy Pok@mon\ngame do you want to send an event to?",
"Sorry trainer, it looks like\nyou haven't caught all 150\nPok@mon from the Kanto\nregion yet.|Go out and catch them all\nand then we'll be able to\nsend over the event!",
"Sorry trainer, it looks like\nyou haven't caught all 99\nnew Pok@mon from the Johto\nregion yet.|Go out and catch them all\nand then we'll be able to\nsend over the event!",
};

View File

@ -132,7 +132,6 @@ void initalization_script(void)
load_graphics();
// Prepare dialouge
populate_dialogue();
populate_script();
init_text_engine();

View File

@ -11,6 +11,7 @@
#include <tonc.h>
#include "background_engine.h"
#include "select_menu.h"
#include "dialogue.h"
int last_error;
Pokemon_Party party_data = Pokemon_Party();
@ -21,49 +22,6 @@ Box_Menu box_viewer;
script_obj transfer_script[SCRIPT_SIZE];
script_obj event_script[SCRIPT_SIZE];
std::string_view dialogue[DIA_SIZE];
void populate_dialogue()
{
dialogue[DIA_OPEN] = "Hey there! I'm Professor\nFennel. As you can see, I'm\na scientist.|In fact, the subject I'm \nresearching is Trainers!|My dream is to collect save files of various trainers, \nbut I haven't had any \nbreakthroughs yet...|So in the meantime, I've\nbeen working on a different\nproject with one of my old\nfriends!|In my home region, there's a\nlocation that can make a\nPok@mon's dreams into\nreality.|This means that any other\nPok@mon they meet in their\ndreams become real!|That's fantastic, but my\ngoal is to do the same-\njust with a trainer's dream\ninstead!|That's why I need your help!\nI want to bring as many\nPok@mon out of your dreams\nas possible!|There's just over 250\nPok@mon I want to catalogue\nin my Dream Pok@Dex-\nor Dream Dex for short.|But I'll let you keep any\nPok@mon- they're from your\ndreams after all!|One last note, save data\nbackups are recommended-\njust on the off chance that\nsomething goes wrong!|I think that's everything...\nwhenever you're ready to\nstart, just let me know!";
dialogue[DIA_E4] = "Hi trainer! I'm thrilled\nyou've decided to help with our research, but we need\nthe best of the best!|Come back after you've\nbeaten the Elite Four and\nbecome the Champion!";
dialogue[DIA_MG_FRLGE] = "Sorry trainer, one more\nthing to take care of before\nwe can begin- you need to\nenable MYSTERY GIFT!|Head to the nearest Pok@\nMart and fill out the\nquestionnaire as follows:\nLINK TOGETHER WITH ALL|After that, you should be\nall set to go!|See you soon!";
dialogue[DIA_MG_RS] = "Sorry trainer, one more\nthing to take care of before\nwe can begin- you need to\nenable MYSTERY EVENT!|Head to the PETALBURG\nPok@mon Center and tell the\nman next to the PC:\nMYSTERY EVENT IS EXCITING|After that, you should be\nall set to go!|See you soon!";
dialogue[DIA_LETS_START] = "Perfect, that's all the\ninformation I need! Let's\nget started!";
dialogue[DIA_START] = "On a second Game Boy family\nsystem, please load the Game\nBoy Pok@mon game you wish to\ntransfer from.|In your Game Boy Pok@mon\ngame, make your current box\nthe one you want to transfer\nfrom.|Then connect this Game Boy\nAdvance to the other Game\nBoy family system using a\nGame Boy Color link cable.|Once you're ready, press A\non this device, talk to the Cable Club attendant, and\nthen initiate a trade.";
dialogue[DIA_TRANS_GOOD] = "Amazing! Fantastic!\nEverything went perfectly!";
dialogue[DIA_NEW_DEX] = "It looks like there's at\nleast one new Pok@mon here\nthat isn't in the Dream Dex!|I'll give them something\nextra sweet as a reward for you both.";
dialogue[DIA_NO_NEW_DEX] = "It doesn't look like there's\nanything new for your Dream\nDex, but that's okay!|It's important to confirm\nresearch results with\nmultiple tests!";
dialogue[DIA_SEND_FRIEND_KANTO] = "I'm going to send these\nPok@mon to one of my friends\nso that you can pick them\nup!|They live just south of the Pok@mon center on Seven\nIsland!";
dialogue[DIA_SEND_FRIEND_HOENN_RS] = "I'm going to send these\nPok@mon to one of my friends\nso that you can pick them\nup!|They live just southeast of the Pok@mon center in\nMossdeep City!";
dialogue[DIA_SEND_FRIEND_HOENN_E] = "I'm going to send these\nPok@mon to one of my friends\nso that you can pick them\nup!|They live just southeast of the Pok@mon center in\nSootopolis City!";
dialogue[DIA_THANK] = "Thank you so much for your\nhelp! Whenever you want to\ntransfer more Pok@mon, just\nlet me know!|See you around!";
dialogue[DIA_GET_MON] = "Let's get started! Please connect Load the Game Boy Pok@mon game you want to transfer from, and put the Pok@mon you want to transfer into your party. ";
dialogue[DIA_MG_OTHER_EVENT] = "Hi Trainer! It looks like\nyou have a different event\ncurrently loaded.|That's no problem, but it\nwill be overwritten if you\ncontinue.|Turn off the system now if\nyou want to experience your\ncurrent event,\nbut otherwise-";
dialogue[DIA_PKMN_TO_COLLECT] = "Hi Trainer! It looks like\nyou still have Pok@mon to\npick up...|I can't send over new\nPok@mon until you pick those\nup.|Come back after you've\nreceived them!";
dialogue[DIA_NO_VALID_PKMN] = "Sorry Trainer, it doesn't\nlook like you have any valid\nPok@mon in your current box\nright now.|Go double check your current\nbox and we can give it\nanother shot!";
dialogue[DIA_ASK_QUEST] = "Hi trainer! Before we begin,\nI need to ask you a few\nquestions.";
dialogue[DIA_WHAT_GAME_TRANS] = "And which Game Boy Pok@mon\ngame are you transferring\nfrom?";
dialogue[DIA_WHAT_LANG_TRANS] = "What language is the Game\nBoy Pok@mon game that you're\ntransferring from?";
dialogue[DIA_NO_GB_ROM] = "I'm sorry, but that version\nin that language is not\ncurrently supported.";
dialogue[DIA_IN_BOX] = "Alright! Let's take a look\nat the Pok@mon that will be\ntransfered.|Please remember, once a\nPok@mon is transfered, it\nCANNOT be returned to the\nGame Boy Game Pak.|Select confirm once you're\nready, or select cancel if\nyou want to keep the Pok@mon\non your Game Boy Game Pak.";
dialogue[DIA_MYTHIC_CONVERT] = "It looks like you have a\nrare Mythical Pok@mon!|Due to their rarity, it\nseems they've overloaded the\nmachine.|I can stablize them if you'd\nlike, but it'll change some\nthings like met location,\nOT, TID, and Shininess.|Otherwise I can leave them\nas is, but there's no\nguarentee that they'll be\ntransferrable in the future.|Do you want me to stablize\nthem? This will apply to\nall of the Mythical Pok@mon\ncurrently in your box.";
dialogue[DIA_CANCEL] = "No worries! Feel free to\ncome back if you change your\nmind!|See you around!";
dialogue[DIA_SOME_INVALID_PKMN] = "I see there is at least one\nPok@mon that cannot be\ntransferred from your\ncurrent box.|Pok@mon holding items or\nmodified incorrectly through\nunintended means cannot\nbe transferred.|The other Pok@mon will\ntransfer just fine though!";
dialogue[DIA_MENU_BACK] = "No worries! Feel free to\ncome back any time!";
dialogue[DIA_IS_MISSINGNO] = "...It seems like one of your Pok@mon is messing with the machine...|It looks to only be graphical though, so we can continue!";
dialogue[DIA_ERROR_COLOSSEUM] = "It looks like you went to\nthe colosseum instead of the\ntrading room!|Let's try that again!";
dialogue[DIA_ERROR_COM_ENDED] = "Communication with the other\ndevice was terminated.|Let's try that again!";
dialogue[DIA_ERROR_DISCONNECT] = "It looks like the Game Boy\nColor link cable was\ndisconnected...|Let's try that again!";
dialogue[DIA_ERROR_TIME_ONE] = "It looks like the connection\ntimed out...|Let's try that again!";
dialogue[DIA_ERROR_TIME_TWO] = "It seems like the connection\ntimed out...|Let's try that again!";
dialogue[DIA_WHAT_LANG_EVENT] = "What language is the Game\nBoy Pok@mon game that you\nwant to send an event to?";
dialogue[DIA_WHAT_GAME_EVENT] = "And which Game Boy Pok@mon\ngame do you want to send an event to?";
dialogue[DIA_K_DEX_NOT_FULL] = "Sorry trainer, it looks like\nyou haven't caught all 150\nPok@mon from the Kanto\nregion yet.|Go out and catch them all\nand then we'll be able to\nsend over the event!";
dialogue[DIA_J_DEX_NOT_FULL] = "Sorry trainer, it looks like\nyou haven't caught all 99\nnew Pok@mon from the Johto\nregion yet.|Go out and catch them all\nand then we'll be able to\nsend over the event!";
}
void populate_script()
{