Advertisement
NewDenverCity

screwy battle script (wip)

Nov 22nd, 2015
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. #include moves.bsh
  2. #dynamic 0x800000
  3.  
  4. #org @start
  5. jumpifhalfword B_!= 0x2023D4A 0x(index of your relic song) 0x81D6A60
  6. setbyte 0x02023E85 0x1
  7. attackcanceler
  8. accuracycheck 0x81D695E 0x0
  9. attackstring
  10. ppreduce
  11. calculatedamage
  12. attackanimation
  13. waitanimation
  14. missmessage
  15. cmd5c BANK_TARGET
  16. waitstate
  17. datahpupdate BANK_TARGET
  18. graphicalhpupdate BANK_TARGET
  19. critmessage
  20. waitmessage DELAY_1SECOND
  21. resultmessage
  22. waitmessage DELAY_1SECOND
  23. seteffectwithchancetarget
  24. faintpokemon BANK_TARGET 0x0 0x8000000
  25. callasm 0x(AAAAAA + 1)
  26. jumpifbyte 0x1 0x020370D4 0x1 @doanimation
  27. setbyte 0x02023FD8 0x0
  28. cmd49 0x0 0x0
  29. end
  30.  
  31. #org @doanimation
  32. setbyte 0x020370D4 0x1
  33. playanimation 0x1 0x1C 0x0
  34. setbyte 0x02023FD8 0x0
  35. cmd49 0x0 0x0
  36. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement