Advertisement
Bond697

fetchPKMDataIfValid Arguments

Aug 23rd, 2012
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.65 KB | None | 0 0
  1. fetchPKMDataIfValid fields
  2.  
  3. 0x0 pid
  4. 0x1 (sanity) pkm party data is decrypted
  5. 0x2 (sanity) pkm box data is decrypted
  6. 0x3 (sanity) is pkm species egg
  7. 0x4 checksum
  8. 0x5 species
  9. 0x6 item
  10. 0x7 sidtid
  11. 0x8 exp
  12. 0x9 happiness
  13. "0xA, 10" ability
  14. "0xB, 11" markings
  15. "0xC, 12" region
  16. "0xD, 13" hp ev
  17. "0xE, 14" atk ev
  18. "0xF, 15" def ev
  19. "0x10, 16" spe ev
  20. "0x11, 17" spa ev
  21. "0x12, 18" spd ev
  22. "0x13, 19" cool contest
  23. "0x14, 20" beauty contest
  24. "0x15, 21" cute contest
  25. "0x16, 22" smart contest
  26. "0x17, 23" tough contest
  27. "0x18, 24" sheen contest
  28. "0x19, 25" sinnoh champ ribbon
  29. "0x1A, 26" ability ribbon
  30. "0x1B, 27" great ability ribbon
  31. "0x1C, 28" double ability ribbon
  32. "0x1D, 29" multi ability ribbon
  33. "0x1E, 30" pair ability ribbon
  34. "0x1F, 31" world ability ribbon
  35. "0x20, 32" alert ribbon
  36. "0x21, 33" shock ribbon
  37. "0x22, 34" downcast ribbon
  38. "0x23, 35" careless ribbon
  39. "0x24, 36" relax ribbon
  40. "0x25, 37" snooze ribbon
  41. "0x26, 38" smile ribbon
  42. "0x27, 39" gorgeous ribbon
  43. "0x28, 40" royal ribbon
  44. "0x29, 41" gorgeous royal ribbon
  45. "0x2A, 42" footprint ribbon
  46. "0x2B, 43" record ribbon
  47. "0x2C, 44" history ribbon
  48. "0x2D, 45" legend ribbon
  49. "0x2E, 46" red ribbon
  50. "0x2F, 47" green ribbon
  51. "0x30, 48" blue ribbon
  52. "0x31, 49" festival ribbon
  53. "0x32, 50" carnival ribbon
  54. "0x33, 51" classic ribbon
  55. "0x34, 52" premier ribbon
  56. "0x35, 53" ribbon
  57. "0x36, 54" move1
  58. "0x37, 55" move2
  59. "0x38, 56" move3
  60. "0x39, 57" move4
  61. "0x3A, 58" move1 current pp
  62. "0x3B, 59" move2 current pp
  63. "0x3C, 60" move3 current pp
  64. "0x3D, 61" move4 current pp
  65. "0x3E, 62" move1 ppup count
  66. "0x3F, 63" move2 ppup count
  67. "0x40, 64" move3 ppup count
  68. "0x41, 65" move4 ppup count
  69. "0x42, 66" move1 max pp
  70. "0x43, 67" move2 max pp
  71. "0x44, 68" move3 max pp
  72. "0x45, 69" move4 max pp
  73. "0x46, 70" hp iv
  74. "0x47, 71" atk iv
  75. "0x48, 72" def iv
  76. "0x49, 73" spe iv
  77. "0x4A, 74" spa iv
  78. "0x4B, 75" spd iv
  79. "0x4C, 76" is egg
  80. "0x4D, 77" cool ribbon
  81. "0x4E, 78" cool ribbon super
  82. "0x4F, 79" cool ribbon hyper
  83. "0x50, 80" cool ribbon master
  84. "0x51, 81" beauty ribbon
  85. "0x52, 82" beauty ribbon super
  86. "0x53, 83" beauty ribbon hyper
  87. "0x54, 84" beauty ribbon master
  88. "0x55, 85" cute ribbon
  89. "0x56, 86" cute ribbon super
  90. "0x57, 87" cute ribbon hyper
  91. "0x58, 88" cute ribbon master
  92. "0x59, 89" smart ribbon
  93. "0x5A, 90" smart ribbon super
  94. "0x5B, 91" smart ribbon hyper
  95. "0x5C, 92" smart ribbon master
  96. "0x5D, 93" tough ribbon
  97. "0x5E, 94" tough ribbon super
  98. "0x5F, 95" tough ribbon hyper
  99. "0x60, 96" tough ribbon master
  100. "0x61, 97" champion ribbon
  101. "0x62, 98" winning ribbon
  102. "0x63, 99" victory ribbon
  103. "0x64, 100" artist ribbon
  104. "0x65, 101" effort ribbon
  105. "0x66, 102" marine ribbon
  106. "0x67, 103" land ribbon
  107. "0x68, 104" sky ribbon
  108. "0x69, 105" country ribbon
  109. "0x6A, 106" national ribbon
  110. "0x6B, 107" earth ribbon
  111. "0x6C, 108" world ribbon
  112. "0x6D, 109" fateful encounter
  113. "0x6E, 110" "gender(0 male, 1 female)"
  114. "0x6F, 111" form
  115. "0x70, 112" nature
  116. "0x71, 113" has dw abil
  117. "0x72, 114" unk 01
  118. "0x73, 115" nickname
  119. "0x74, 116" nick
  120. "0x75, 117" is nicknamed
  121. "0x76, 118"
  122. "0x77, 119" game of origin
  123. "0x78, 120" cool ribbon
  124. "0x79, 121" cool ribbon great
  125. "0x7A, 122" cool ribbon ultra
  126. "0x7B, 123" cool ribbon master
  127. "0x7C, 124" beauty ribbon
  128. "0x7D, 125" beauty ribbon great
  129. "0x7E, 126" beauty ribbon ultra
  130. "0x7F, 127" beauty ribbon master
  131. "0x80, 128" cute ribbon
  132. "0x81, 129" cute ribbon great
  133. "0x82, 130" cute ribbon ultra
  134. "0x83, 131" cute ribbon master
  135. "0x84, 132" smart ribbon
  136. "0x85, 133" smart ribbon great
  137. "0x86, 134" smart ribbon ultra
  138. "0x87, 135" smart ribbon master
  139. "0x88, 136" tough ribbon
  140. "0x89, 137" tough ribbon great
  141. "0x8A, 138" tough ribbon ultra
  142. "0x8B, 139" tough ribbon master
  143. "0x8C, 140" *unused*
  144. "0x8D, 141" OT name in
  145. "0x8E, 142" OT name out
  146. "0x8F, 143" year egg received (0-99)
  147. "0x90, 144" month egg received(1-12)
  148. "0x91, 145" day egg received(1-end of month)
  149. "0x92, 146" year met/egg hatched(0-99)
  150. "0x93, 147" month met/egg hatched(1-12)
  151. "0x94, 148" day met/egg hatched(1-end of month)
  152. "0x95, 149" egg receieve location
  153. "0x96, 150" met/egg hatch location
  154. "0x97, 151" pokerus
  155. "0x98, 152" poke ball
  156. "0x99, 153" met at level
  157. "0x9A, 154" set if OT gender is female
  158. "0x9B, 155"
  159. "0x9C, 156"
  160. "0x9D, 157" status flags
  161. "0x9E, 158" level
  162. "0x9F, 159" capsule seal index
  163. "0xA0, 160" current hp
  164. "0xA1, 161" max hp
  165. "0xA2, 162" attack
  166. "0xA3, 163" defense
  167. "0xA4, 164" speed
  168. "0xA5, 165" spa
  169. "0xA6, 166" spd
  170. "0xA7, 167" mail
  171. "0xA8, 168"
  172. "0xA9, 169" is slot filled
  173. "0xAA, 170" is egg(both checks)
  174. "0xAB, 171" "get species, return egg species number if egg(ret 0 if invalid)"
  175. "0xAC, 172" pkm's Ivs as a U32
  176. "0xAD, 173" is species NOT nido F/M
  177. "0xAE, 174" pkm type
  178. "0xAF, 175" pkm type
  179. "0xB0, 176"
  180. "0xB1, 177"
  181. "0xB2, 178" N's poke
  182.  
  183.  
  184.  
  185.  
  186. ---------------------------------------------------------------------------------
  187. personal.narc personal field arguments
  188. --------------------------------------
  189.  
  190. ARM9:020202EA DCW hp_stat - (off_20202EA+2)
  191. ARM9:020202EA DCW atk_stat - (off_20202EA+2)
  192. ARM9:020202EA DCW def_stat - (off_20202EA+2)
  193. ARM9:020202EA DCW spe_stat - (off_20202EA+2)
  194. ARM9:020202EA DCW spa_stat - (off_20202EA+2)
  195. ARM9:020202EA DCW spd_stat - (off_20202EA+2)
  196. ARM9:020202EA DCW type1 - (off_20202EA+2)
  197. ARM9:020202EA DCW type2 - (off_20202EA+2)
  198. ARM9:020202EA DCW catch_rate - (off_20202EA+2)
  199. ARM9:020202EA DCW base_exp - (off_20202EA+2)
  200. ARM9:020202EA DCW effort_hp - (off_20202EA+2)
  201. ARM9:020202EA DCW effort_atk - (off_20202EA+2)
  202. ARM9:020202EA DCW effort_def - (off_20202EA+2)
  203. ARM9:020202EA DCW effort_spe - (off_20202EA+2)
  204. ARM9:020202EA DCW effort_spa - (off_20202EA+2)
  205. ARM9:020202EA DCW effort_spd - (off_20202EA+2)
  206. ARM9:020202EA DCW diglett_dugtrio_rise_from_ground - (off_20202EA+2)
  207. ARM9:020202EA DCW item1 - (off_20202EA+2)
  208. ARM9:020202EA DCW item2 - (off_20202EA+2)
  209. ARM9:020202EA DCW item3 - (off_20202EA+2)
  210. ARM9:020202EA DCW gender_rate - (off_20202EA+2)
  211. ARM9:020202EA DCW hatch_count - (off_20202EA+2)
  212. ARM9:020202EA DCW happiness - (off_20202EA+2)
  213. ARM9:020202EA DCW growth - (off_20202EA+2)
  214. ARM9:020202EA DCW egg1 - (off_20202EA+2)
  215. ARM9:020202EA DCW egg2 - (off_20202EA+2)
  216. ARM9:020202EA DCW abil1 - (off_20202EA+2)
  217. ARM9:020202EA DCW abil2 - (off_20202EA+2)
  218. ARM9:020202EA DCW abil3 - (off_20202EA+2)
  219. ARM9:020202EA DCW escape_rate - (off_20202EA+2)
  220. ARM9:020202EA DCW form_stats_start - (off_20202EA+2)
  221. ARM9:020202EA DCW form_sprites_start - (off_20202EA+2)
  222. ARM9:020202EA DCW form_count - (off_20202EA+2)
  223. ARM9:020202EA DCW loc_20203EC - (off_20202EA+2)
  224. ARM9:020202EA DCW loc_20203F6 - (off_20202EA+2)
  225. ARM9:020202EA DCW loc_2020400 - (off_20202EA+2)
  226. ARM9:020202EA DCW stage - (off_20202EA+2)
  227. ARM9:020202EA DCW height - (off_20202EA+2)
  228. ARM9:020202EA DCW weight - (off_20202EA+2)
  229. ARM9:020202EA DCW tm_moves1 - (off_20202EA+2)
  230. ARM9:020202EA DCW tm_moves2 - (off_20202EA+2)
  231. ARM9:020202EA DCW tm_moves3 - (off_20202EA+2)
  232. ARM9:020202EA DCW tm_moves4 - (off_20202EA+2)
  233. ARM9:020202EA DCW tutor_free_moves - (off_20202EA+2)
  234. ARM9:020202EA DCW tutor_pay_moves1 - (off_20202EA+2)
  235. ARM9:020202EA DCW tutor_pay_moves2 - (off_20202EA+2)
  236. ARM9:020202EA DCW tutor_pay_moves3 - (off_20202EA+2)
  237. ARM9:020202EA DCW tutor_pay_moves4 - (off_20202EA+2)
  238.  
  239.  
  240. -------------------------------------------------------------------------------
  241.  
  242. egg data:
  243.  
  244. 2fe35c8 is the local array that holds all the egg data. (u32 eggData[34])
  245.  
  246. 2fe35c8 - species
  247. 2fe35cc -
  248.  
  249. 2fe35d0 -
  250. 2fe35d4 -
  251. 2fe35d8 - happiness
  252. 2fe35dc - iv1
  253. 2fe35e0 - iv2
  254. 2fe35e4 - iv3
  255. 2fe35e8 - iv4
  256. 2fe35ec - iv5
  257. 2fe35f0 - iv6
  258. 2fe35f4 - id set
  259.  
  260. 2fe35f8 - pid
  261. 2fe3600 - move1
  262. 2fe3604 - move2
  263. 2fe3608 - move3
  264. 2fe360c - move4
  265.  
  266. 2fe3610 - ability number
  267.  
  268. 2fe361c - inherit_iv1_parent1
  269. 2fe3620 - inherit_iv2_parent1
  270. 2fe3624 - inherit_iv3_parent1
  271. 2fe3628 - inherit_iv4_parent1
  272. 2fe362c - inherit_iv5_parent1
  273. 2fe3630 - inherit_iv6_parent1
  274.  
  275. 2fe3634 - inherit_iv1_parent2
  276. 2fe3638 - inherit_iv2_parent2
  277. 2fe363c - inherit_iv3_parent2
  278. 2fe3640 - inherit_iv4_parent2
  279. 2fe3644 - inherit_iv5_parent2
  280. 2fe3648 - inherit_iv6_parent2
  281. 2fe364c -
  282. 2fe3650
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement