Metarkrai

Emerald 3-star TAS Route

Mar 28th, 2016
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.83 KB | None | 0 0
  1. ~~~~---- Pokémon Emerald, 3-star TAS ----~~~~
  2.  
  3.  
  4. Version 1.0 : 28/03
  5. Version 1.1 : 29/03, 00:19
  6. Version 1.2 : 31/03
  7. Version 1.3 : 14/04
  8.  
  9. New changes :
  10. Tested IFG on Battle Dome (Not faster)
  11.  
  12.  
  13. -) To do :
  14. Make clearer parts in the route.
  15. List the harmless contest opponents.
  16. Determine the best contest opponents to have. (the fastest contest move types, moves that make nervous being really useful, and moves that startle being avoided)
  17. List the Battle Frontier "good" Pokémon, and the ones to avoid. (depending on Base HP and HP EVs, avoiding Sturdy too).
  18. (helpful source : http://upcarchive.playker.info/0/upokecenter/content/pokemon-emerald-in-depth-guides.html)
  19. Check for that damn Wally script.
  20. Time a trip from Battle Frontier to Move Deleter, with 2 moves deleted. (more or less than 40 seconds ?)
  21.  
  22.  
  23.  
  24.  
  25. ---// Goal
  26. 3-star consists of beating League, obtaining 7 Gold Symbols, and obtaining 5 paintings, as I don't know if filling the regional Pokédex would be entertaining in a TAS.
  27.  
  28.  
  29. --// Beginning of the run
  30. -- Use the global route for the any% TAS.
  31. - Start with a SID of 0xXYYY, X being 0,1,2,3,8,9,A or B. (YYY being anything)
  32.  
  33. - Pick up a Berry from a near Berry bush.
  34. - Buy 3 Fluffy Tails at Verdanturf's Mart.
  35. - Do not deposit the KO Abra in PC at Fortree. (Only Castform)
  36.  
  37.  
  38. --// First Pomeg Glitch data corruption
  39. - Obtain an invisible Bad Egg with the first Pomeg Glitch corruption. (a corrupted empty slot)
  40. ~It will be useful later for Decaswitch, a technique allowing to perform Pomeg Glitch without Pomeg Berries and 1HP Pokémon.
  41. This corruption unlocks the Ever Grande Fly Location and corrupts Castform. Castform's Bad Egg knows an Instang Flee Glitch Move.
  42.  
  43. - Pick Castform's Bad Egg and beat Fortree's Gym to obtain Fly Badge.
  44. - Fly at Ever Grande.
  45. - Beat Victory Road and enter League.
  46. - Exit League and Fly to Ever Grande's beginning.
  47. - Surf to Route 128 and pick up the hidden Heart Scale.
  48.  
  49.  
  50. --// Catching Wailmer/lord
  51. -a) Surf towards Lilycove to unlock its Fly location. Make a detour through Route 129 to encounter a Lv 27 Wailord (1%, 1/6) with a Corruption Type of 3 (1/6) and a "good" PID (the 8th hexadecimal character of its PID must have a specific value out of 8 possible, 1/2). (Total : 1/7200)
  52.  
  53. -a) Surf towards Mossdeep to unlock its Fly Location, then go towards Lilycove to unlock its Fly Location.
  54. Fly to Mossdeep and obtain Super Rod.
  55. Fish a Lv 27 Wailmer (30%, 1/6) with a Corruption Type of 3 (1/6) and a "good" PID (the 8th hexadecimal character of its PID must have a specific value out of 8 possible, 1/2). (Total : 1/240)
  56. ~A Pokémon with a Corruption Type of 3 and 16.486 Exp is required. Pokémon with a Fluctuating exp curve require the less experience to do this (Lv27 + 346 exp) (Other exp groups require 740 exp or more to get to 16.486 exp)
  57. A Corruption Type of 3 is needed to obtain an OHKO Glitch Move from Experience.
  58. This is one of the fastest ways to obtain a Glitch Move.
  59. And 0x4066 is the fastest OHKO Glitch Move on US Emerald.
  60.  
  61. This strategy is here in case manipulating for a convenient Wailord is too tedious.
  62. 346 Exp needs to be gained at Day Care.
  63.  
  64.  
  65. --// Item Duplication and shopping
  66. - Fly to Lilycove. (The Wailmer barrier is still here and blocks the way)
  67. - Deposit Abra and Bad Egg to PC.
  68. - Switch Wailmer/lord with the invisible Bad Egg. (Decaswitch)
  69. ~Invisible Bad Eggs (corrupted empty slots) can be swapped with the last party Pokémon alive.
  70. This makes an easy way to obtain a fully KO party in order to set up a Pomeg Glitch. That party must have more than 2 Pokémon too.
  71.  
  72. - Open Wailmer/lord summaru and put Astonish/Water Gun as their 1st Move.
  73. ~Astonish will give Pelipper, Water Gun Golduck.
  74. - Deposit Heart Scale in PC and put it in 1st Slot.
  75.  
  76. - Exit Pokémon Center and go to the Contest hall.
  77. - Pick up the Pokéblock case and make a Pokéblock with the picked Berry.
  78. ~The optimal blender (1/2/3 NPCs) is unknown as of now.
  79. - Go to the shore and collect the hidden PP Up.
  80. - Put that PP Up in Slot 2.
  81. - Surf and make a wild battle to perform a Pomeg Glitch corruption.
  82. ~Use that Pomeg Glitch corruption to duplicate PP Ups and Heart Scales.
  83. - Use a Fluffy Tail and flee.
  84. - Fly to Slateport.
  85. - Go to the market. Sell some PP Ups and buy X Energy Roots.
  86. - Buy 6 HP Up too.
  87. - Fly to Lilycove.
  88. - Go in Route 121 and enter Safari Zone entrance.
  89. ~Since you have no alive Pokémon, the twins won't fight you.
  90. - Open PC.
  91. - Withdraw Wailmer/lord and Castform's Bad Egg.
  92. Deposit Invisible Bad Egg and Marshtomp.
  93. - Exit PC.
  94.  
  95.  
  96. --// Catching Wobbuffet
  97. - Enter Safari Zone.
  98. - In the beginning Zone, catch a Wobbuffet (10%) with Corruption Type 7 (1/12), "good" IVs (SpAtk and SpDef IVs that aren't too low, 13/16) and a "good" PID (the 7th hexadecimal character of its PID must have a specific value out of 4 possible, 1/4)(the 8th hexadecimal character of its PID must have a specific value out of 8 possible, 1/2). (Total : 1/960*13/16 ~1/1181)
  99. ~This Wobbuffet will become the Pokémon that will beat contests.
  100. Corruption Type 7 was required to manipulate Ribbons with PP Bonuses and Friendship and Species with EVs.
  101.  
  102. The combination of Contest moves that will be used can be directly made with Regice/Registeel/Regirock, or with Meditite/Poliwrath + Explosion/Destiny Bond.
  103. Poliwrath is the fastest one to obtain with EV manipulation.
  104. And catching a Wobbuffet is the fastest way to obtain a Pokémon knowing Explosion/Destiny Bond.
  105.  
  106.  
  107. --// Beating League
  108. - Once Wobbuffet is caught, fly to Ever Grande.
  109. - Enter Victory Road. Make a wild battle. Send Wobbuffet, let it die, then flee.
  110. - Exit Victory Road and Fly to the League.
  111. - Enter League.
  112. - Open PC.
  113. - Switch Castform's Bad Egg with Wobbuffet.
  114. Swich Wailmer/lord with Invisible Bad Egg.
  115. ~Like this, Castform's Bad Egg is at the slot of the "currently/last fighting Pokémon", and the whole party is KO.
  116.  
  117. - Close PC.
  118. - Beat League.
  119. ~Wobbuffet needs to obtain the League's ribbon.
  120. Invisible Bad Egg is here to have a fully KO party once Wobbuffet is caught (and killed).
  121. Taillow is here for Fly.
  122. Castform's Bad Egg has the Instant Flee Glitch Move.
  123. Thus, you can't beat league with less Pokémon in order to have a shorter Hall of Fame.
  124.  
  125.  
  126. --// After beating League
  127. - Continue the run.
  128. - Fly back to Mauville. Go to Route 117 and enter Day Care.
  129. - Open Day Care PC.
  130. - Deposit the invisible Bad Egg and withdraw Wailmer/lord.
  131. - Withdraw 3 Heart Scales.
  132. - Deposit Wailmer/lord in Day Care.
  133. - Go back to Route 117 and go near the pond on the left.
  134. - Surf and fight a Marill for Wobbuffet. (+2 HP EVs)
  135. ~Wobbuffet needs 62 HP Evs to become a Poliwrath.
  136. - Give an HP Up to Wobbuffet.
  137. - Give the Pokéblock made earlier to Wobbuffet.
  138. - Put Wobbuffet in 3rd party slot or higher.
  139. - Make a wild battle to decrease Wobbuffet's Friendship to 0.
  140. Switch to let Wobbuffet take a hit.
  141. Use an Energy Root on Wobbuffet and take another hit after that. (-10 Friendship)
  142. Repeat until Wobbuffet hits 0 Friendship.
  143. Flee.
  144.  
  145. - Bike the required amount of steps for Wailmer/lord.
  146. - Enter Day Care and pick up Wailmer/lord.
  147. - Go near the Day Care PC.
  148. - Give an Energy Root to Wobbuffet.
  149. ~As a step cycle happened between the last fight and the way to PC, this one is needed.
  150. - Give 6 PP Ups to Wobbuffet. 1 for Move 2, 2 for Move 3, 3 for Move 4.
  151. ~They will also increase Wobbuffet's friendship by 30.
  152. - Give Wobbuffet 5 HP Ups. (62 HP EVs, 55 Friendship)
  153.  
  154. - Open PC and deposit Wobbuffet in Box 2 Slot 19.
  155. - Deposit Wailmer/lord in Box 2 Slot 24.
  156. ~A Double Corruption will be performed on Wobbuffet and Wailmer/lord.
  157. As the PC Pokémon corruption from Pomeg Glitch is mainly 5-periodic, and as this corruption starts from Box 2 Slot 24, this placement will corrupt these 2 Pokémon in the least time (least amount of Up pushes).
  158. A Double Corruption is required for Wobbuffet because Ribbons and Level can't be kept with a single corruption.
  159.  
  160.  
  161. --// Performing a Double Corruption
  162. - Perform a Decaswitch to have a party with : Castform Bad Egg, Invisible Bad Egg
  163. ~Invisible Bad Eggs can be switched with the last alive Party Pokémon.
  164. Thus, you end up with a party full of KO/Egg/Bad Egg, and that contains more than 2 Pokémon, which will allow to set up a Pomeg Glitch without relying on Pomeg Berries anymore.
  165.  
  166. - Perform a Pomeg Glitch data corruption to corrupt Wailmer/lord and Wobbuffet once. Use a Fluffy Tail to flee.
  167. ~This first corruption will corrupt either the TID (ID, SID couple), or the PID of these Pokémon.
  168. The condition on the leftmost hexadecimal character of SID and PID is needed in order to corrupt PID and TID with this setup. (else, a corruption initiator would be needed)
  169.  
  170. - Perform a second Pomeg Glitch data corruption to corrupt Wailmer/lord and Wobbuffet. Black out to the Pokémon Center.
  171. ~Wailmer/lord will become a Lv 100 Pokémon knowing Fake Tears/Air Cutter and Glitch Move 0x4066.
  172. That Pokémon will either be Pelipper or Golduck. (due to 1st Move) (Pelipper/Golduck will be chosen depending on their cry lenght)
  173.  
  174. Wobbuffet will become a Poliwrath at Lv 100 (due to Beauty and Coolness) with some Contest stats (due to its IVs), knowing Destiny Bond, and with all Hyper ribbons (due to PP Bonuses and Friendship).
  175.  
  176. --//A finishing touch
  177. - Fly at Fallarbor. Make Poliwrath learn Submission and Mind Reader. (leave Counter to Poliwrath)
  178. Make Golduck/Pelipper learn Hydro Pump, and put 0x4066 in first slot.
  179. - Give Pokeblocks from Belue and Watmel Berries to Poliwrath.
  180.  
  181.  
  182. --//Beating Battle Frontier
  183. - Fly to Battle Frontier and beat all 7 Battle Frontier buildings with this Golduck/Pelipper.
  184. ~ The order of the Symbols hasn't been decided yet.
  185.  
  186. - Battle Factory :
  187. It still needs to be beaten without any tricks as changing your winning streak it too tedious (requires other Glitch Pokémon to also restaure trainer name and other things), and as you can't easily change your 3 Pokémon party. (The only way is to change the number of the previously selected Pokémon, then corrupt the receptionist's script to be taken to the Factory with the previously selected Pokémon)
  188.  
  189. - Buy a Focus Band for Golduck before going into Battle Pike.
  190. - Battle Pike :
  191. Avoid every battle, except the Leader.
  192. Hydro Pump and Focus Band required to get through Shuckle (Silver) and Steelix (Gold).
  193.  
  194. Shuckle fight : (181 HP)
  195. Hydro Pump hits (92-110) (80%)
  196. Shuckle uses Double Team/Toxic (chance of ?)
  197. Hydro Pump hits (92-110), KO (80%)
  198.  
  199. Steelix fight : (291 HP)
  200. Hydro Pump hits (204-240) (80%)
  201. Steelix uses Earthquake (can he use something else ?), Focus Band activates. (10%)
  202. Hydro Pump hits (204-240), KO. (80%)
  203.  
  204. Golduck has nearly no IVs and EVs, whereas Steelix has 31 IVs/255 EVs in Atk. Earthquake is a sure kill. (unless the IA can choose to use another move that can miss, like Iron Tail).
  205.  
  206.  
  207. - Battle Tower :
  208. All Sturdy/Shedinja fights will be avoided.
  209. The OHKO Move will take care of everything.
  210. If Golduck/Pelipper knows Air Cutter, Shedinja can be taken care of. (and it would be a fast Pokémon to kill)
  211.  
  212. Battle Arena :
  213. The OHKO Move will take care of everything, except Leader's Shedinja. (Silver)
  214. If Pelipper/Golduck doesn't know Air Cutter, a move will be learned with a Held Item. (Peck from a Protein)
  215.  
  216. Battle Pyramid :
  217. All trainers will be avoided, except the Leader.
  218. OHKO Move will take care of his Pokémon.
  219.  
  220. Battle Dome :
  221. OHKO Move will take care of everything.
  222. Using an Instant Flee Glitch Move here causes a tie. The winner is then decided based on the raking of the players in the tournament (made upon the Base Stats of the selected Pokémon, their types, and the highest level you have). But this can only be used against very few people at the beginning and against nobody after few tournaments because of the medium Base Stats of the Pokémon that would be selected (Golduck and 2 others).
  223.  
  224. Battle Palace :
  225. OHKO Move will take care of everything.
  226. Having Hydro Pump on Pelipper/Golduck would be an hindrance to get a series of 3 OHKO Glitch Move choices.
  227. Moves are separated into 3 categories (Offensive, Defensive, Sneaky, O,D,S) depending on their targets (and the effect for some cases, I don't remember well).
  228. The chance to use a Move on one of these categories depends on the Pokémon's nature. (there's also a specific case when the Pokémon's HP is below 50%)
  229.  
  230. Here, the chance to use 0x4066 would be :
  231. 0x4066, Hydro Pump, Air Cutter (1)
  232. 0x4066, Hydro Pump, Fake Tears (2)
  233.  
  234. (1) (0x4066 chance) = 1/3*( (O chance) + 1/2*(D chance) + 1/2*(S chance) ) = 1/6 + 1/6*(O chance) (around 1/4)
  235. (2) (0x4066 chance) = 1/2*( (O chance) + 1/2*(D chance) ) = 1/2*(O chance) + 1/4*(D chance)
  236.  
  237. If we removed Hydro Pump and Air Cutter/Fake Tears at Lilycove, we would have :
  238. 0x4066 (3)
  239. (3) (0x4066 chance) = (O chance) + 1/2*( (D chance) + (S chance) ) = 1/2 + 1/2*(O chance) (around 3/4)
  240. Which is 3 times higher than in case (1)
  241.  
  242. With (1), we have around 1/64 chance to use 0x4066 three times in a row per battle, so an average of 64 waiting frames for RNG manipulation.
  243. After 42 battles, this makes 2688 frames = 44.8 seconds.
  244. Thus, removing Air Cutter and Hyro Pump may save time overall.
  245.  
  246.  
  247. --//Beating Lilycove Contests
  248. - Once the 7 Gold Symbols are obtained, Fly to Lilycove and enter the Contest Hall.
  249. - Enter a Master class contest with Poliwrath.
  250. - Win them with a total score higher than 800 to obtain a painting of Poliwrath in that contest.
  251. - Repeat this step for the 5 Contests.
  252. ~Thanks to his ribbons, Poliwrath can directly enter Master class contests.
  253. He needs to win with a final score higher than 800 to trigger the painting event.
  254. Final Score = 20*Hearts + Voting Score.
  255.  
  256. Here, the combo : Mind Reader (3) - Submission (6*2) - Mind Reader (3) - Submission (6*2) - Destiny Bond (8) will be used.
  257. The amount of hearts it gives is : Cool (40), Beauty (38), Cute (38), Smart (41), Tough (38).
  258. Ovations can add few more hearts in Cool and Smart contests, but they aren't needed.
  259. The downside of this combination is that being startled on Submission makes you lose a whole lot of hearts (generally a dozen), which isn't affordable.
  260.  
  261. Without any Contest stats, 40 hearts are required to obtain a final score of 800. (Final score = 20*Hearts + Voting score)
  262. Thus, a Voting Score of 40 or higher is requires in Beauty, Cute, and Tough categories.
  263.  
  264. The base Contest Stats of Poliwrath will be : a / b / 0 / 0 / 128 / 0, as Cool and Beauty are affected by Wobbuffet's IVs (up to 255 and 63).
  265. The 128 Smartness is given by the League ribbon, and adds 64 Voting score points in Cute and Tough.
  266. The Beauty Voting Score for Poliwrath will be a/2 + b (rounded down). This induces a requirement on Wobbuffet's IVs.
  267. Here are the main requirements for Wobbuffet's IVs.
  268. If SpAtk IV is 0/16, SpDef IV must be 20/21/22/23/28/29/30/31. (1/16*1/4)
  269. If SpAtk IV is 1/17, SpDef IV must be 16/17/../31. (1/16*1/2)
  270. If SpAtk IV is 2/18, SpDef IV must be 12/13/14/15/28/29/30/31. (1/16*1/4)
  271. If SpAtk IV is 3/19, SpDef IV must be 8/../15/24/../31. (1/16*1/2)
  272. If SpAtk IV is 4/20, SpDef IV must be 4/5/6/7/12/13/14/15/20/21/22/23/28/29/30/31. (1/16*1/2)
  273. If SpAtk IV is 5/../15/21/../31, it's OK. (11/16)
  274. Total : 13/16 chance to have working IVs.
  275.  
  276. With a Wobbuffet with convenient IVs and the League Ribbon, no Pokéblocks are required for Poliwrath.
  277.  
  278. Flwaless/near flawless fights are needed to win and obtain a Total score higher than 800.
  279. Opponents will be manipulated to not hinder Poliwrath (not using startling moves), and potentially help him (making other opponents nervous). Some Pokémon will be avoided (those who know 2 or more startling moves), and others will be prioritized. (those who use moves that makes the other contestants nervous)
  280.  
  281. --// Ending
  282. - Once all 5 paintings are obtained, open the Trainer Card to show the 3 stars.
  283. ~The goal of the run is fullfilled.
  284.  
  285.  
  286. --// Potential skips
  287. - Using an Instant Flee Glitch Move might be faster in Battle Dome.
  288. Thus, a third Pokémon could be caught and Double Corrupted to obtain another IFG. (but on a valid Pokémon and not a Bad Egg)
  289. Getting to Artisan Cave to catch a Smeargle and Sketch the IFG from Castform's Bad Egg would take more time.
  290.  
  291.  
  292. ---// Comments
  293. Obtaining the 5 paintings would be the end of the run, who could end on the trainer card. (as it would be the fastest required time to obtain 3 Trainer stars).
  294.  
  295. But I don't really know if the Battle Frontier part will be that nice to watch, because it will mainly consist of skipping battles or using an OHKO Glitch Move. (there is a lot of manipulation involved, but the result doesn't show it)
  296.  
  297.  
  298. Anyways, the route is mainly completed, and only small time savers need to be tested/discussed.
  299.  
  300. Using other Pomeg Glitch techniques would require to catch other Pokémon and Double Corrupt them, which wouldn't be worth the time.
  301. Also, the research about Pomeg Glitch starts to hit the edges. Apart from Arbitrary Code Execution (who would have many uses, but not in this run), the ways to make Pomeg Glitch/Glitch things interact with the game have been tested in many ways, and there are not many things left to test or get.
  302.  
  303. ACE still hasn't been verified, but it could normally be doable using Glitch Moves animations, and PC Pokémon data + PC Items to write the code.
  304.  
  305.  
  306. --// Notes and additional links
  307. As I was kind of quick about Corruption Types, here is a link with tables that describes them, along with their correspondance with a Pokémon's PID : http://www.petit-fichier.fr/2016/02/15/precisions-sur-les-sous-structures-de-la-gen-iii-en/precisions-sur-les-sous-structures-de-la-gen-iii-en.html
  308.  
  309. I used things from here : http://forums.glitchcity.info/index.php/topic,6868.480.html
  310. and there : http://forums.pokemonspeedruns.com/viewtopic.php?f=28&t=421&sid=4679712943e6e5887855c0466ebdd9b5
  311. Speedrun 3-star Route (in progress) : http://pastebin.com/05131g0z
  312. Speedrun 4-star Route (in progress) : http://pastebin.com/GjPxMXGu
  313. Battle Frontier data : http://upcarchive.playker.info/0/upokecenter/content/pokemon-emerald-in-depth-guides.html
  314.  
  315. By Metarkrai.
Add Comment
Please, Sign In to add comment