Advertisement
SerityW

Untitled

Oct 25th, 2020
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. C2/2A3B: A2 0F LDX #$0F
  2. C2/2A3D: 9E A0 11 STZ $11A0,X (zero out all spell data -related bytes)
  3. C2/2A44: A9 21 LDA #$21
  4. C2/2A46: 8D A2 11 STA $11A2 (Set to ignore defense, physical attack)
  5. C2/2A49: A9 22 LDA #$22
  6. C2/2A4B: 8D A3 11 STA $11A3 (Set attack to retarget if target dead, not reflectable)
  7. C2/2A4E: A9 20 LDA #$20
  8. C2/2A50: 8D A4 11 STA $11A4 (Set to unblockable)
  9. C2/2A55: BD 2C 3B LDA $3B2C,X
  10. C2/2A58: 8D AE 11 STA $11AE (Vigor * 2 or Magic Power)
  11. C2/2A5B: 20 21 2C JSR $2C21
  12. C2/2A5E: A3 01 LDA $01,S
  13. C2/2A60: 20 63 2B JSR $2B63 (Multiply A by 30)
  14. C2/2A66: BF 14 50 D8 LDA $D85014,X (Item "HP/MP affected", aka power)
  15. C2/2A6A: 8D A6 11 STA $11A6
  16. C2/2A6D: BF 0F 50 D8 LDA $D8500F,X (Item's element)
  17. C2/2A71: 8D A1 11 STA $11A1
  18. C2/2ADC: A3 01 LDA $01,S
  19. C2/2ADE: C9 AE CMP #$AE (Item number 174 - Inviz Edge?)
  20. C2/2AE4: 0C AA 11 TSB $11AA (Set Clear effect to attack)
  21. C2/2AE9: C9 AF CMP #$AF (Item number 175 - Shadow Edge?)
  22. C2/2AEF: 0C AB 11 TSB $11AB (Set Image effect to attack)
  23.  
  24. (NOTE: special Inviz and Shadow Edge checks are needed because much code
  25. [including that at C2/2A89 that normally loads statuses] is skipped if we're
  26. doing Throw or Item Magic)
  27.  
  28. C2/2AFA: A9 20 LDA #$20
  29. C2/2AFC: 1C A2 11 TRB $11A2 (Clears ignore defense)
  30. C2/2AFF: 1C A4 11 TRB $11A4 (Clears unblockable)
  31. C2/2B02: BF 15 50 D8 LDA $D85015,X
  32. C2/2B06: 8D A8 11 STA $11A8 (Get and store hitrate)
  33. C2/2B0A: A3 01 LDA $01,S (get item #. number of first tool [NoiseBlaster] is A3h)
  34. C2/2B13: FC 1A 2B JSR ($2B1A,X) (load Tool's miscellaneous effect)
  35.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement