Advertisement
Guest User

Untitled

a guest
Sep 6th, 2016
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. <Patch name="1/2 MP = Amplify">
  2. <Description>Turns 1/2 MP's slot into Amplify - AOE+1, MP Cost x2. Abilities affected are checkable in Patcher as the flag between Hit Allies and Follow Target.</Description>
  3. <Location file="BATTLE_BIN" offset="1148d8">
  4. 344C0508
  5. 00000000
  6. </Location>
  7. <Location file="BATTLE_BIN" offset="ec0d0">
  8. 1980043C
  9. 942D848C
  10. 00000000
  11. 90008490
  12. 01007390
  13. 80008430
  14. 05008010
  15. 00000000
  16. 20002432
  17. 02008010
  18. 00000000
  19. 01007326
  20. 06006490
  21. 38EE0508
  22. 00000000
  23. </Location>
  24. <Location file="BATTLE_BIN" offset="116b6c">
  25. 40200400
  26. </Location>
  27. <Location file="BATTLE_BIN" offset="12eca4">
  28. 40100200
  29. </Location>
  30. <Location file="BATTLE_BIN" offset="12ecec">
  31. 444C0508
  32. 00000000
  33. </Location>
  34. <Location file="BATTLE_BIN" offset="ec110">
  35. 90004292
  36. 00000000
  37. 80004230
  38. 0B004010
  39. 00000000
  40. 04006290
  41. 00000000
  42. 20004230
  43. 06004010
  44. 00000000
  45. 01006290
  46. 00000000
  47. 01004224
  48. 3D570608
  49. 00000000
  50. 01006290
  51. 3D570608
  52. 00000000
  53. </Location>
  54.  
  55. </Patch>
  56.  
  57. ~~~
  58. Routine that actually does this:
  59.  
  60. lui r4,0x8019
  61. lw r4,0x2d94(r4)
  62. nop
  63. lbu r4,0x0090(r4)
  64. lbu r19,0x0001(r3)
  65. andi r4,r4,0x0080
  66. beq r4,r0,0x
  67. nop
  68. andi r4,r9,0x0080
  69. beq r4,r0,0x
  70. nop
  71. addiu r19,r19,0x0001
  72. lbu r4,0x0006(r3)
  73. j 0x0017b8e0
  74. nop
  75.  
  76. ~~~
  77.  
  78. AI behavior routine:
  79.  
  80. lbu r2,0x0090(r18)
  81. nop
  82. andi r2,r2,0x0080
  83. beq r2,r0,0x
  84. nop
  85. lbu r2,0x0002(r3)
  86. nop
  87. andi r2,r2,0x0080
  88. beq r2,r0,0x
  89. nop
  90. lbu r2,0x0001(r3)
  91. nop
  92. addiu r2,r2,0x0001
  93. j 0x00195cf4
  94. nop
  95. lbu r2,0x0001(r3)
  96. j 0x00195cf4
  97. nop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement