--[Patch]--
Title("Cave of Bad Dreams")
Author("Knuxfan24")
Platform("Xbox 360")

--[Functions]--
--Editing existing message tables--
BeginBlock("core\archives\text.arc")
TextEdit("core\text\english\msg_mainmenu.e.mst"|"waveocean_blaze"|""|"CAVE OF BAD DREAMS")
TextEdit("core\text\english\msg_twn_silver.e.mst"|"stg_vulca"|""|"Find the Elixir of Life!")
TextEdit("core\text\english\msg_twn_silver.e.mst"|"stg_vulca_treasure"|""|"Retire from Adventuring!")
TextAdd("core\text\english\msg_hint.e.mst"|"hint_vulca_e00_jn"|"sound(vulca_e00a_jn),sound(vulca_e00b_jn),rgba(255,153,0),color,sound(vulca_e00c_jn),sound(vulca_e00d_jn),sound(vulca_e00e_jn),sound(vulca_e00f_jn),sound(vulca_e00g_jn)"|"$I can read your mind...\nYou know the name of this place.\f$You are now ready to enter the\n$Cave of Bad Dreams$.\f$But, before you come in, I must tell you something...\f$I have hidden a precious treasure inside.\f$You can keep it for yourself, if you beat me to it.\f$I'll give you a head start, but don't waste any time!\f$If I catch you, I'll show you no mercy...")
TextAdd("core\text\english\msg_hint.e.mst"|"hint_vulca_e01_jn"|"sound(vulca_e01_jn),rgba(255,0,0),color"|"$Your trip ends $here$...!")
TextAdd("core\text\english\msg_hint.e.mst"|"hint_vulca_e02_sv"|"sound(vulca_e02_sv),rgba(255,153,0),color"|"$Unbelievable... It's $gold$!")
TextAdd("core\text\english\msg_hint.e.mst"|"hint_vulca_e03_jn"|"sound(vulca_e03a_jn),sound(vulca_e03b_jn),rgba(255,153,0),color"|"$You have defeated me...\f$My $treasure$ is yours.\nTake whatever you want.")
TextAdd("core\text\english\msg_hint.e.mst"|"hint_vulca_e04_sv"|"sound(vulca_e04_sv),rgba(255,153,0),color"|"$I want the $treasure$!")
TextAdd("core\text\english\msg_hint.e.mst"|"hint_vulca_e05_sv"|"sound(vulca_e05_sv),rgba(255,153,0),color"|"$No $treasure$ for me...")
TextAdd("core\text\english\msg_hint.e.mst"|"hint_vulca_e06a_jn"|"sound(vulca_e06a_jn)"|"$You made the right decision.")
TextAdd("core\text\english\msg_hint.e.mst"|"hint_vulca_e06b_jn"|"sound(vulca_e06b_jn)"|"$You deserve this!")
TextAdd("core\text\english\msg_hint.e.mst"|"hint_vulca_e06c_jn"|"sound(vulca_e06c_jn),rgba(255,153,0),color"|"$This is the $Elixir of Life$.\nGuard it preciously.")
TextAdd("core\text\english\msg_hint.e.mst"|"hint_vulca_theend"|"sound(vulca_treasure)"|"$THE END")
EndBlock("core\archives\text.arc")

--Add pole entries to Silver's PKG--
BeginBlock("core\archives\player.arc")
PackageEdit("core\player\silver.pkg"|"motion"|"poll_s"|"player/silver/sv_hang00_l_Root.xnm")
PackageEdit("core\player\silver.pkg"|"motion"|"poll_l"|"player/silver/sv_hang00_l_Root.xnm")
PackageEdit("core\player\silver.pkg"|"motion"|"poll_e"|"player/silver/sv_hang00_l_Root.xnm")
EndBlock("core\archives\player.arc")
