_PoY

Pokémon Crystal - Route 29 manip tests & new Entei step regu

Apr 28th, 2017
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.58 KB | None | 0 0
  1. Pokémon Crystal - Route 29 manip tests & new Entei step regularization attempt
  2.  
  3. -----
  4.  
  5. Optimal movement :
  6. > Talk to Mom from above
  7. > No additional tile anywhere alse
  8.  
  9. > Following glitchless movement, 128 steps to P3T4
  10.  
  11. Tests :
  12. > Adding 1 tile to optimal movement (in Elm's Lab)
  13. - R (#6) => Rattata P2T3
  14. - DU(#5) => Poliwag P4T3
  15.  
  16. > Adding 3 tiles (1 Elm, 2 R29)
  17. - RD(#3) => Rattata P3T7
  18. - RL(#7) => Hoothoot P2T5
  19. - R (#6) => Hoothoot P1T7
  20.  
  21. NOTE : it seems that
  22. 1) Having a different PoisonStepCount (StepCount % 4) on the saving tile for manips introduces very fast divergent RNG patterns
  23. >>> has been observed consistently
  24. 2) Having a different StepCount (even with same PoisonStepCount) introduces divergences at steps k*256 and k*256 + 128 (happiness check & egg check respectively)
  25. >>> has been observed
  26. 3) As long as a manip doesn't involve going through happiness or egg checks, the RNG ""should"" be consistent as far as the party count is the same (because DoPoisonStep routine goes through all the party to apply poison ticks)
  27. >>> not tested yet, but seems to be the expected baheviour, from the source code
  28.  
  29. Fixes for next manips :
  30. - let 'ManipStepsTotal' be the number of steps involved in a manip
  31. - let 'StartStepCount' and 'StartPoisonStepCount' be the value of StepCount and PoisonStepCount respectively when starting the manip
  32.  
  33. > short manip (done without going through happiness nor egg checks, i.e. ManipStepsTotal <= 127)
  34. 1) StartPoisonStepCount should ALWAYS be the same
  35. 2a) StartStepCount + ManipStepsTotal <= 127
  36.  
  37. > average manip (128 <= ManipStepsTotal <= 255, goes through Happiness check)
  38. (1)
  39. 2b) StartStepCount should be the same as the manipped one
  40. 3b) your party count should be the same as the manipped one (Eggs don't matter)
  41.  
  42. > average manip (128 <= ManipStepsTotal <= 255, goes through Egg check)
  43. (1)
  44. (2b)
  45. 3c) (3b) AND the number of eggs in your party is the same
  46.  
  47. > long manips (ManipStepsTotal >=256)
  48. (1)
  49. (2b)
  50. (3c)
  51.  
  52. -----
  53. The +x are just showing how many extra tiles we're taking compared to the shortest possible movement. The values displayed as hexadecimal (and their conversion to decimal) are the values as off the current glitchless route movement.
  54.  
  55. Being seen by an NPC doesn't update the StepCounter, neither does the Repel wearing off textbox, an overworld event (phone call, door, tutorial-like movement)
  56. If a spinner catches you, since the StepCounter won't be updated on a tile it should have been, your overall StepCounter will be 1 less than expected. Consider that for manips.
  57.  
  58. Area location StepCount PoisonStepCount
  59. Route 29 0x35 0x01
  60. (_PoY spot) = 53
  61. > NOTE : safest patch movement (+4 to optimal)
  62. Elm's call 0xF0 0x03
  63. = 240
  64. Catching Tutorial 0xC7 0x03
  65. = 199 [256+199]
  66. > NOTE : safest patch movement (+4 to optimal)
  67. After Youngster 1 0x66 0x00
  68. = 102 [512+102]
  69. > NOTE : less tiles in grass near blue-haired NPC (+2)
  70. > NOTE : no Mom call (we call her ourselves - optimal)
  71. > NOTE : taking the Potion (+4 to optimal)
  72. Elm's call #2 0x0F 0x03
  73. = 15 [512+256+15]
  74. Union Cave entr. 0xD2 0x03
  75. > NOTE : skipping the Full Heal saves 10 steps
  76. Well entrance 0x93 0x03
  77. = 147 [1024+147]
  78. Well exit 0xAE
  79. =
  80. After Bugsy 0xDE
  81. > Azalea Gym movement takes the right path (fighting Al saves 4 tiles)
  82. Bike menu 0x36
  83. = [1024+512+ ?]
  84. Whitney 0xC8
  85. = [2048 + ?]
  86. > NOTE : movement to the sister was Up, Right
  87. After shopping 0x77
  88. = [2048 + 256 + ?]
  89. > NOTE : early Radio Card adds 8 tiles
  90. Sudowoodo 0x4B
  91. = [2048 + 512 + ?]
  92. > NOTE : grabbing the Hyper Potion adds 10 tiles
  93. Burned Tower entr. 0x9F
  94. = [2048 + 512 + ?]
  95. After Rival 0xC4
  96. Entei saving spot 0xEE 0x02
  97. (ExarionU) = [2048 + 512 + 238 = 998]
  98.  
  99. So far, if we want the StepCounter to not mess up the manip, we need to :
  100. 1) have a consistent movement after the Rival, since it sets up PoisonStepCount to 0x02 (can search for manips with a different PoisonStepCount as well)
  101. 2) either get Entei under 17 steps
  102. or 3) deliberately do 18-45 extra steps in order to have the full Repel cycle not altered by happiness check
  103. > these numbers are to be adapted according to how many execution errors you've made, how you adapted your overall movement (skipping Potion, not calling Mom, alternative Azalea Gym trainer fights, dodging bad Goldenrod NPC patterns, etc.) and how many spinners hit you during the run.
  104.  
  105. -----
  106. Trying Route 29 manip post Rival 1
  107.  
  108. 205/3, need to reach 53/3
  109. > comparing to glitchless movement, 2 extra steps before Rival 1, 102 after (25*4+2)
  110. > 4*24 + 6 tiles to saving spot
  111.  
  112. -----
  113. More notes on going up to Entei spot
  114.  
  115. Current movement ends with StepCount = 0xEE (238). The attempts will set StepCount at 0x0
  116. This means you need to take 18 extra steps before doing Burned Tower movement to Rival 3, assuming everything went as planned below.
  117. > If the number of steps you need to take is odd, you can exit Burned Tower once after Eusine talk to make it even.
  118.  
  119. Current movement :
  120. > Safe Route 29 (twice)
  121. > Near Lass, taking right path
  122. > Call Mom on Route 30
  123. > Grab Route 31 Potion
  124. > Route 32 Repel from below
  125. > Azalea : Kurt -> Mart -> Full Heal -> Well Entrance
  126. > Azalea Gym : right path
  127.  
  128. Movement variations :
  129. > left Route 30 near-Lass movement : +2 steps in Ecruteak
  130. > skipping Route 31 Potion : +4 steps
  131. > skipping Azalea Full Heal : +10 steps
  132. > taking Ecruteak Hyper Potion : -10 steps
  133.  
  134. Trolls :
  135. > hitting a spinner : +1 step for each hit
  136. - Russell : +0
  137. - if seen by Ivan on 1st possible tile of pass #1/#3, -2 steps
  138. > Route 30/Azalea/Goldenrod : generally -2 steps each, exception(s) :
  139. - Railroad Youngster : -0 if you dodge him correctly
  140. -2/-4 depending on pattern
  141.  
  142. - Sudowoodo Sister : -0 if she walks left
  143. -2 if she walks up
  144. -4 if she walks right or down
  145.  
  146. Attempt #1 :
  147. > No Poliwag
  148. - Steps to take in Ecruteak :
  149. > 18 +2 -9 -2 -2 -2
  150. > 5 OK
  151.  
  152. - Entei spot [0:52] (2000|10000)
  153. - back and forth L then R on L3
  154. 1> RDU, no stuck, ends L x4
  155. > NO ROAMER
  156. 2> RDU, stuck U, ends U x1
  157. > NO ROAMER
  158. 3> DRD, RAIKOU [C5L3] (15/3/11/11/11) x2
  159. (Stats : 134/75/73/105/105/93)
  160. 4> LULU, stuck L, stuck D x5
  161. > NO ROAMER
  162. 5> ULU, stuck U x1
  163.  
  164. - Entei spot [0:53] (2000|10000)
  165. - back and forth L then R on L3
  166. > landed on 1> x1
  167. > landed on 4> x3
  168.  
  169. - Entei spot [0:57] (2000|10000)
  170. - back and forth L then R on L3
  171. > landed on 4> x1
  172. > landed on 5? x1
  173. > landed on 3 x1 !!! SAME STATS !!!
  174.  
  175. - Entei spot [0:52] (2000|10050)
  176. - back and forth L then R on L3
  177. 6> DR, stuck U x1
  178. > NO ROAMER
  179. 7> ?UDU, stuck D
  180. > NO ROAMER
  181. > landed on 1>
  182. 8> DRL, ends R x1
  183. > NO ROAMER
  184.  
  185. - Entei spot [0:53] (2000|10050)
  186. - back and forth L then R on L3
  187. > ?DR, ends R x1
  188. > landed on 7>
  189.  
  190. - Entei spot [0:57] (2000|10050)
  191. - back and forth L then R on L3
  192. > UDU, ends D x2
  193. > RDU, stuck U (landed on 2> ?)
  194. > landed on 4>
  195. >
  196.  
  197. - Entei spot [0:52] (2000|10100)
  198. - back and forth L then R on L3
  199. 10> RDR, stuck R, ends R x3
  200. > RDR, stuck U x1
  201. > DRL, ends R x1
  202.  
  203. - Entei spot [0:53] (2000|10100)
  204. - back and forth L then R on L3
  205. 14> UDR, ends L x3
  206. > RDR, ends R x1
  207. > RUD, stuck L x1
  208. > RDR, stuck L x1
  209.  
  210. - Entei spot [0:57] (2000|10100)
  211. - back and forth L then R on L3
  212. > landed on 10>
  213. > landed on 14> ?
  214.  
  215. - Entei spot [0:52] (2000|10200)
  216. - back and forth L then R on L3
  217. > RUL, ends L x3
  218. > RDL, stuck R x1
  219. > RDR, stuck L, ends D x1
  220.  
  221. Attempt #2 :
  222. - Got Poliwag
  223. - Defeated Greg
  224. > 18 +2 +1 +2 -2 +1 -4 -1 +2
  225. > 19
  226. LRD, stuck L
  227. LRD, stuck R
  228. ULD, stuck R, stuck L
  229. RLU, stuck L
Add Comment
Please, Sign In to add comment