MattiasBuelens

TPP X: Coordinate Proposal

Jul 26th, 2014
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.18 KB | None | 0 0
  1. Twitch Plays Pokémon X: Coordinate Proposal
  2. ===========================================
  3.  
  4.  
  5. Single Battles
  6. ==============
  7.  
  8. Main objective: don't hit an Item or a Pokémon.
  9.  
  10. This is fairly easy on the right half of the screen, because the gaps between Items line up better with the gaps between Pokémon. The sweet spot is a good 8 pixels high.
  11. On the left half, the gaps overlap less, reducing the sweet spot to 3 pixels high. This is within the touch screen tolerance, so there is a risk of hitting an Item or Pokémon even with a coordinate in the sweet spot.
  12. To decrease the risk, I aim one pixel away from the bottom right corner of the Item button. Theoretically speaking, there is a 75% chance of avoiding the Item button and 25% chance of hitting it (if the deviation is to the top right). I'm not sure if there are ways to improve this, or if the reasoning is actually justified by the hardware workings. For example, if the deviation is always the same for a given coordinate, then the reasoning is flawed: the coordinate either hits or doesn't hit the Item button.
  13.  
  14. att1: 157,60
  15. - 25% chance of hitting Item 1
  16. http://mattiasbuelens.github.io/tpp-coords/?x+bf1234-bp*,bq*;157,60@bf#bf
  17.  
  18. att2: 319,64
  19. http://mattiasbuelens.github.io/tpp-coords/?x+bf1234-bp*,bq*;319,64@bf#bf
  20.  
  21. att3: 157,120
  22. - 25% chance of hitting Item 3
  23. http://mattiasbuelens.github.io/tpp-coords/?x+bf1234-bp*,bq*;157,120@bf#bf
  24.  
  25. att4: 319,124
  26. http://mattiasbuelens.github.io/tpp-coords/?x+bf1234-bp*,bq*;319,124@bf#bf
  27.  
  28. mega: 140,180
  29. - 25% chance of hitting Item 5
  30. http://mattiasbuelens.github.io/tpp-coords/?x+bfm-bbbpr,bdab,bfjk,bg*,bp*,bq*,btabc;157,180@bf#bf
  31.  
  32.  
  33. Multi Battles
  34. =============
  35.  
  36. Main objective: don't hit an Ally, Item or Pokémon.
  37. Secondary objective: don't hit an Item or Pokémon.
  38. Tertiary objective: hit a Foe.
  39.  
  40. The Foe buttons are vertically aligned with the Attack 1 and Attack 2 buttons. It is impossible to hit a Foe with Attack 3 or 4. Therefore, we should prefer top row attacks in Multi battles.
  41. Another problem with bottom row attacks is that the Ally buttons of Double and Triple battles combined cover the whole screen width. This renders most of the button areas of Attack 3 and 4 unusable and leads to a lot of unwanted overlap on the remaining areas. Therefore, we cannot use the same set of coordinates for both Double battles and Triple battles. Fortunately, only two coordinates actually differ.
  42.  
  43. att1: 120,60
  44. + hits Foe 1 in Double Battle
  45. + hits Foe 2 in Triple Battle
  46. - 50% chance of hitting Item 1
  47. http://mattiasbuelens.github.io/tpp-coords/?x+bd12,bf1234,bt123-bdab,bp*,bq*,btabc;120,60@bf#bf
  48.  
  49. att2: 200,64
  50. + hits Foe 2 in Double Battle
  51. + hits Foe 2 in Triple Battle
  52. http://mattiasbuelens.github.io/tpp-coords/?x+bd12,bf1234,bt123-bdab,bp*,bq*,btabc;200,64@bf#bf
  53.  
  54. att3: 157,120
  55. + Same as general Attack 3 coordinate.
  56. http://mattiasbuelens.github.io/tpp-coords/?x+bd12,bf1234-bdab,bp*,bq*;157,120@bf#bd
  57.  
  58. att4: 319,124
  59. + Same as general Attack 4 coordinate.
  60. http://mattiasbuelens.github.io/tpp-coords/?x+bd12,bf1234-bdab,bp*,bq*;319,124@bf#bd
  61.  
  62. In Triple battles only, use these coordinates for Attack 3 and 4 instead:
  63.  
  64. att3: 105,120
  65. - 50% chance of hitting Item 3
  66. http://mattiasbuelens.github.io/tpp-coords/?x+bf1234,bt123-bp*,bq*,btabc;105,120@bf#bt
  67.  
  68. att4: 214,124
  69. http://mattiasbuelens.github.io/tpp-coords/?x+bf1234,bt123-bp*,bq*,btabc;214,124@bf#bt
  70.  
  71.  
  72. Switching
  73. =========
  74.  
  75. Main objective: hit Pokémon both in Battle and Overworld screens.
  76. Secondary objective: don't hit an Item, Summary, Restore or Check moves.
  77. Tertiary objective: hit Switch.
  78.  
  79. We can abuse the gap between Item buttons to hit a Pokémon and Switch. Unfortunately, the gap is rather small and it's hard to guarantee both hitting the Pokémon and *not* the item.
  80.  
  81. poke1: 1,1 (alternative 1)
  82. - does not hit Switch
  83. http://mattiasbuelens.github.io/tpp-coords/?x+bp123456,bss,op123456-bq*,bsmrw;1,1@bp#bss
  84.  
  85. poke1: 157,50 (alternative 2)
  86. + hits Switch
  87. - 50% chance of hitting Item 1
  88. http://mattiasbuelens.github.io/tpp-coords/?x+bp123456,bss,op123456-bq*,bsmrw;157,50@bp#bss
  89.  
  90. poke2: 162,50
  91. + hits Switch
  92. - 50% chance of hitting Item 2
  93. http://mattiasbuelens.github.io/tpp-coords/?x+bp123456,bss,op123456-bq*,bsmrw;162,50@bp#bss
  94.  
  95. poke3: 157,100
  96. + hits Switch
  97. - 50% chance of hitting Item 3
  98. http://mattiasbuelens.github.io/tpp-coords/?x+bp123456,bss,op123456-bq*,bsmrw;157,100@bp#bss
  99.  
  100. poke4: 162,100
  101. + hits Switch
  102. - 50% chance of hitting Item 4
  103. http://mattiasbuelens.github.io/tpp-coords/?x+bp123456,bss,op123456-bq*,bsmrw;162,100@bp#bss
  104.  
  105. poke5: 157,150
  106. - does not hit Switch
  107. - 50% chance of hitting Item 5
  108. http://mattiasbuelens.github.io/tpp-coords/?x+bp123456,bss,op123456-bq*,bsmrw;157,150@bp#bss
  109.  
  110. poke6: 162,150
  111. - does not hit Switch
  112. - 50% chance of hitting Item 6
  113. http://mattiasbuelens.github.io/tpp-coords/?x+bp123456,bss,op123456-bq*,bsmrw;162,150@bp#bss
  114.  
  115. Alternatively, we change the objective to reduce overlap in Overworld screens rather than in Battle screens. We'll probably need these coordinates more in the Overworld for operations (TM teaching, party re-ordering,...) rather than in Battle for switching. It might be better to optimize for Overworld usage and allow more overlap with Battle screens.
Advertisement
Add Comment
Please, Sign In to add comment