DrayHackTutorials

[B2W2] Edit a Pokémon's Compatibility with Move Tutors

Apr 11th, 2022 (edited)
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.33 KB | None | 0 0
  1. ========================================================================
  2. Edit a Pokémon's Compatibility with Move Tutors in Black 2 / White 2
  3. ========================================================================
  4. A Pokémon's compatibility with move tutors is found within their entry in the personal.narc file (a/0/1/6). There are five sets of four bytes, one set for the Beam/Pledge/Draco tutor and then one set for each shard tutor in the game. These are found right at the end of the Pokémon's personal file, i.e. the last 20 bytes in the file are the tutor compatibility tables. Despite being four bytes each, none of the compatibility tables actually need four bytes, so some of these will always be "00".
  5.  
  6. Each set of bytes is a series of bit flags, where each bit corresponds to a particular move by that tutor. If a bit is set to 1, then the Pokémon is able to learn the corresponding move, and is not able to if the bit for that move is 0.
  7.  
  8. =====================================================
  9. Format Example
  10. =====================================================
  11. As a quick example, take the number 156, written in hexadecimal as "9C". In binary that would be written as 10011100 (you can use the Windows calculator in Programmer mode to see this), or alternatively you can read it as 128+16+8+4 (as the digits from left-to-right mean 128, 64, 32, 16, 8, 4, 2, 1 in decimal - this is how I'll refer to what bit means what below). So that means the Pokémon would be able to learn the moves corresponding to the first, fourth, fifth and sixth bit in this case.
  12.  
  13. You can basically just add up the corresponding bits to what you want a Pokémon to learn and then use that as the hex value (or just e.g. add 32 to the existing value to add compatibility on top of the existing value).
  14.  
  15. Without further ado, here's what each set of bytes controls.
  16.  
  17. =====================================================
  18. Pledge, Elemental Beam and Draco Meteor Tutor Tables
  19. =====================================================
  20. The first set refers to compatibility with the Pledge moves, the three elemental Hyper Beam clones and Draco Meteor, and is of format "XX 00 00 00", with "XX" being a maximum of "7F" and the last three bytes always being "00".
  21.  
  22. The first byte's bits control the following:
  23. 1 - Grass Pledge
  24. 2 - Fire Pledge
  25. 4 - Water Pledge
  26. 8 - Frenzy Plant
  27. 16 - Blast Burn
  28. 32 - Hydro Cannon
  29. 64 - Draco Meteor
  30.  
  31. NOTE: So if you'd want to make Serperior compatible with Draco Meteor for example, you'd find the existing "09 00 00 00" (Frenzy Plant's 8 and Grass Pledge's 1 = 9) and do the existing 8 + the 64 for the Draco Meteor, giving you a value of 73 or 49 in hexadecimal (so you'd want "49 00 00 00" here).
  32.  
  33. (Interestingly, a Pokémon doesn't need to actually be a Dragon-type to learn Draco Meteor!)
  34.  
  35. =====================================================
  36. Driftveil City Tutor (Red Shards)
  37. =====================================================
  38. The second set is for the Driftveil City's tutor's moves is of format "XX YY 00 00", where "XX" is a maximum of "FF" and "YY" is a maximum of "7F".
  39.  
  40. The first (XX) byte's bits control the following:
  41. 1 - Bug Bite
  42. 2 - Covet
  43. 4 - Super Fang
  44. 8 - Dual Chop
  45. 16 - Signal Beam
  46. 32 - Iron Head
  47. 64 - Seed Bomb
  48. 128 - Drill Run
  49.  
  50. The second (YY) byte's bits control the following:
  51. 1 - Bounce
  52. 2 - Low Kick
  53. 4 - Gunk Shot
  54. 8 - Uproar
  55. 16 - Thunder Punch
  56. 32 - Fire Punch
  57. 64 - Ice Punch
  58.  
  59. =====================================================
  60. Lentimas Town Tutor (Blue Shards)
  61. =====================================================
  62. The third set is for Lentimas Town's move tutor and is of format "XX YY ZZ 00", where "XX" and "YY" are a maximum of "FF", and "ZZ" is a maximum of "01".
  63.  
  64. The first (XX) byte's bits control the following:
  65. 1 - Magic Coat
  66. 2 - Block
  67. 4 - Earth Power
  68. 8 - Foul Play
  69. 16 - Gravity
  70. 32 - Magnet Rise
  71. 64 - Iron Defense
  72. 128 - Last Resort
  73.  
  74. The second (YY) byte's bits control the following:
  75. 1 - Superpower
  76. 2 - Electroweb
  77. 4 - Icy Wind
  78. 8 - Aqua Tail
  79. 16 - Dark Pulse
  80. 32 - Zen Headbutt
  81. 64 - Dragon Pulse
  82. 128 - Hyper Voice
  83.  
  84. The third (ZZ) byte's bits control the following:
  85. 1 - Iron Tail (just the one here!)
  86.  
  87. =====================================================
  88. Humilau City Tutor (Yellow Shards)
  89. =====================================================
  90. The fourth set is for Humilau City's move tutor and is of format "XX YY 00 00", where "XX" is a maximum of "FF" and "YY" is a maximum of "1F".
  91.  
  92. The first (XX) byte's bits control the following:
  93. 1 - Bind
  94. 2 - Snore
  95. 4 - Knock Off
  96. 8 - Synthesis
  97. 16 - Heat Wave
  98. 32 - Role Play
  99. 64 - Heal Bell
  100. 128 - Tailwind
  101.  
  102. The second (YY) byte's bits control the following:
  103. 1 - Sky Attack
  104. 2 - Pain Split
  105. 4 - Giga Drain
  106. 8 - Drain Punch
  107. 16 - Roost
  108.  
  109. =====================================================
  110. Nacrene City Tutor (Green Shards)
  111. =====================================================
  112. The fifth set is for Nacrene City's move tutor and is of format "XX YY 00 00", where "XX" is a maximum of "FF" and "YY" is a maximum of "7F".
  113.  
  114. The first (XX) byte's bits control the following:
  115. 1 - Gastro Acid
  116. 2 - Worry Seed
  117. 4 - Spite
  118. 8 - After You
  119. 16 - Helping Hand
  120. 32 - Trick
  121. 64 - Magic Room
  122. 128 - Wonder Room
  123.  
  124. The second (YY) byte's bits control the following:
  125. 1 - Endeavor
  126. 2 - Outrage
  127. 4 - Recycle
  128. 8 - Snatch
  129. 16 - Stealth Rock
  130. 32 - Sleep Talk
  131. 64 - Skill Swap
Add Comment
Please, Sign In to add comment