Advertisement
SSBBHax

I'm not good at writing.

Oct 24th, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. scrollwhendone
  2.  
  3. while haseffect 1938
  4.  
  5. call pleasework
  6. repeat
  7.  
  8. # Actually kills the monster.
  9. sub hooray
  10. use handsome devil, handsome devil
  11.  
  12. if pastround 28
  13. abort
  14. endif
  15.  
  16. endsub
  17.  
  18. # Fragile monster is susceptible to passive damage kills
  19. sub fragile
  20. abort
  21. endsub
  22.  
  23. # It can block our combat items. Not good.
  24. sub can_block
  25. # Ticking and blocking is not a good mix.
  26.  
  27. if hppercentbelow 50
  28. runaway
  29. endif
  30.  
  31. if match ticking
  32. abort
  33. endif
  34.  
  35. if match electrified
  36. call emergency
  37. repeat
  38. endif
  39.  
  40. sub emergency
  41.  
  42. if hppercentbelow 50
  43. runaway
  44. endif
  45.  
  46. use louder than bomb, louder than bomb
  47.  
  48. call emergency
  49.  
  50. endsub
  51.  
  52. if match optimal
  53. call hooray
  54. endif
  55.  
  56.  
  57. use louder than bomb, louder than bomb
  58.  
  59. endsub
  60.  
  61. # Does all the logic on fighting.
  62. sub pleasework
  63. # We should never be at low HP. If we are, probably electrified annoying.
  64. if hppercentbelow 50
  65. runaway
  66. endif
  67.  
  68. # We don't actually care because no passive damage.
  69. if match fragile
  70. #call fragile
  71. #goto end
  72. endif
  73.  
  74. if match annoying || match restless
  75. call can_block
  76. goto end
  77. endif
  78.  
  79. # This is what we want.
  80. if match optimal
  81. call hooray
  82. goto end
  83. endif
  84. # Nothing special, just run from it.
  85. use louder than bomb, louder than bomb
  86. mark end
  87. endsub
  88.  
  89. endwhile
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement