Нет описания

feint_scripts.s 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #include <battle_script.h>
  2. #include <moves.h>
  3. .align 2
  4. .text
  5. .thumb
  6. .global bs_feint
  7. bs_feint:
  8. attackcanceler
  9. accuracycheck 0x081D695E 0
  10. attackstring
  11. ppreduce
  12. callasm break_shields+1
  13. normal_execute:
  14. calculatedamage
  15. attackanimation
  16. waitanimation
  17. missmessage
  18. cmd5c 0x0
  19. graphicalhpupdate 0
  20. datahpupdate 0
  21. critmessage
  22. waitmessage 0x40
  23. jumpifhalfword 0x0 0x02023D4A MOVE_FEINT feint_message
  24. setword STRING_LOADER str_shield_break_normal
  25. goto after_feint
  26. feint_message:
  27. setword STRING_LOADER str_shield_break_feint
  28. after_feint:
  29. printstring 0x184
  30. waitmessage 0x40
  31. faintpokemon 0x0 0x0 0x0
  32. setbyte 0x2023FD8 0x0
  33. cmd49 0x0 0x0
  34. end
  35. .global bs_feint_no_break
  36. bs_feint_no_break:
  37. calculatedamage
  38. attackanimation
  39. waitanimation
  40. missmessage
  41. cmd5c 0x0
  42. graphicalhpupdate 0
  43. datahpupdate 0
  44. critmessage
  45. waitmessage 0x40
  46. faintpokemon 0x0 0x0 0x0
  47. setbyte 0x2023FD8 0x0
  48. cmd49 0x0 0x0
  49. end
  50. .global bs_feint_no_break_ptr
  51. bs_feint_no_break_ptr:
  52. .word bs_feint_no_break