Guest User

LoT2 Enemy AI Dump

a guest
Dec 3rd, 2014
751
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -----------------------------------------------------------------
  2. Labyrinth of Touhou 2 enemy AI
  3. -----------------------------------------------------------------
  4.  
  5. Notes
  6. -------------------------
  7.  
  8. In case the symbol "%" (modulo) is unclear to you, it returns the remainder of a division. For
  9. instance...
  10.  
  11. 1 % 3 = 1 (1 / 3 = 0 remainder 1)
  12. 2 % 3 = 2 (2 / 3 = 0 remainder 2)
  13. 3 % 3 = 0 (3 / 3 = 1 remainder 0)
  14. 4 % 3 = 1 (4 / 3 = 1 remainder 1)
  15. ...
  16.  
  17. Tnis is typically used as a condition, such as "On turn % 2 == 1" (which means "On turns 1, 3,
  18. 5...") or "On turn % 3 == 2" (which means "On turns 2, 5, 8, ...").
  19.  
  20. Only one condition can be met per turn with the exception of "Each turn" (which is triggered
  21. each turn in addition to whichever condition is met). They are evaluated in order from top to
  22. bottom. For instance...
  23.  
  24. 1. If SomeEnemy is alive:
  25. 2. If HP < 50%:
  26. ...
  27.  
  28. As long as SomeEnemy is alive, condition 1 will always trigger. It doesn't matter if the
  29. enemy's HP is under 50% (condition 2) yet. Once SomeEnemy is KOed, condition 2 can trigger
  30. (assuming the enemy's HP is under 50%).
  31.  
  32. A condition defined as "Once" will only trigger once through the entire fight, even if the
  33. conditions are met a second time.
  34.  
  35. A condition defined as "After" a skill will only trigger on the turn following the use of that
  36. skill, and not every turn once the skill has been used.
  37.  
  38.  
  39. Targetting Modes...
  40. -------------------------
  41.  
  42. All targettable characters (or enemies, in case of mode E) are given a score. A random value
  43. between 0 and the sum of the scores minus 1 is generated and used to pick a target. For
  44. instance...
  45.  
  46. Slot 1: 60 pts
  47. Slot 2: 30 pts
  48. Slot 3: 00 pts (dead)
  49. Slot 4: 03 pts
  50.  
  51. In this example, a random value between 0 and 92 is generated. If 0-59 come up, slot 1 is
  52. selected. If 60-89 come up, slot 2 is selected. If 90-92 come up, slot 4 is selected. As the
  53. actor in slot 3 is KOed, it will never be selected regardless of which value comes up.
  54.  
  55. Note that the passive skill "Frontline Guard" doubles a character's score.
  56.  
  57. Also note that skills and spellcards targetting multiple characters will ignore the targetting
  58. specified. There's no need to pick a target when they're all getting hit.
  59.  
  60. Mode A: Favor Left-most Character
  61. This mode favors the left-most character. It gives scores as follows (going from the leftmost
  62. slot to the rightmost one): 60, 30, 10, 3.
  63.  
  64. Mode B: Any Character
  65. All slots are given a score of 20 with this mode, giving everyone an equal chance of being
  66. targetted.
  67.  
  68. Mode C: Favor Right-most Character
  69. This mode is somewhat the opposite of Mode A. It gives scores as follows (going from the
  70. leftmost slot to the rightmost one): 10, 20, 30, 40. As far as I can tell, this mode is not
  71. used but the code for it exists.
  72.  
  73. Mode D: First Character Available
  74. No score is given to any character in this mode. Instead, the first targettable character
  75. starting from the left will be automatically selected.
  76.  
  77. Mode E: Any Enemy
  78. This is used when targetting the enemy's group. Each active enemy has a score of 20, giving any
  79. one enemy an equal chance of being targetted.
  80.  
  81.  
  82. Small Kedama
  83. -------------------------
  84.  
  85. Target A with L.1 Attack
  86.  
  87.  
  88. Kedama
  89. -------------------------
  90.  
  91. Target A with L.1 Attack
  92.  
  93.  
  94. Nut Eater
  95. -------------------------
  96.  
  97. 70%: Target A with L.1 Attack
  98. 30%: Target A with L.1 Nut Throw
  99.  
  100.  
  101. Walking Unripe Fruit
  102. -------------------------
  103.  
  104. 50%: Target A with L.1 Attack
  105. 50%: Target Self with L.1 Photosynthesis
  106.  
  107.  
  108. Great Tree's Enormous Wasp
  109. -------------------------
  110.  
  111. 75%: Target D with L.1 Attack
  112. 25%: Target D with L.1 Poison Needle
  113.  
  114.  
  115. Kuron Nut
  116. -------------------------
  117.  
  118. 45%: Target A with L.1 Attack
  119. 45%: Target A with L.1 Nut Throw
  120. 10%: Target Self with L.1 Harden
  121.  
  122.  
  123. Forest Fairy
  124. -------------------------
  125.  
  126. 55%: Target B with L.1 Green Arrow
  127. 25%: Target B with L.1 Storm of Wood Leaves (1)
  128. 20%: Target A with L.1 Attack
  129.  
  130.  
  131. Ferocious Stump
  132. -------------------------
  133.  
  134. Target A with L.1 Attack
  135.  
  136.  
  137. Ghostie
  138. -------------------------
  139.  
  140. 60%: Target A with L.1 Phantom's Coldness
  141. 20%: Target A with L.1 Attack
  142. 20%: Target A with L.1 Paralyze
  143.  
  144.  
  145. Tree Beetle
  146. -------------------------
  147.  
  148. 60%: Target A with L.1 Poison Needle
  149. 20%: Target A with L.1 Attack
  150. 20%: Do nothing
  151.  
  152.  
  153. Ferocious Ghostie
  154. -------------------------
  155.  
  156. 66%: Target A with L.1 Great Roar
  157. 44%: Target A with L.1 Attack
  158.  
  159.  
  160. Bomb Fruit
  161. -------------------------
  162.  
  163. 50%: Target A with L.1 Detonation
  164. 50%: Target A with L.1 Attack
  165.  
  166.  
  167. Shadow Cat
  168. -------------------------
  169.  
  170. 66%: Target A with L.1 Shadowstep
  171. 34%: Target A with L.1 Attack
  172.  
  173.  
  174. Forest Thief
  175. -------------------------
  176.  
  177. 44%: Target A with L.1 Attack
  178. 44%: Target A with L.1 Row Attack
  179. 22%: Target A with L.1 Storm of Wood Leaves (2)
  180.  
  181.  
  182. Kedama Daddy
  183. -------------------------
  184.  
  185. 40%: Target A with L.1 Attack
  186. 40%: Target A with L.1 Great Roar
  187. 20%: Target B with L.1 Storm of Yellow Drive
  188.  
  189.  
  190. Blue Shade
  191. -------------------------
  192.  
  193. Target A with L.1 Phantom's Coldness
  194.  
  195.  
  196. Ooze
  197. -------------------------
  198.  
  199. 66%: Target A with L.1 Dissolvent
  200. 34%: Target A with L.1 Venomous Fog
  201.  
  202.  
  203. Coral Gem
  204. -------------------------
  205.  
  206. 33% Target A with L.1 Attack
  207. 33% Target A with L.1 Azure Arrow
  208. 34% Target A with L.1 Blade Arrow
  209.  
  210.  
  211. Electric Oarfish
  212. -------------------------
  213.  
  214. 25% Target A with L.1 Attack
  215. 25% Target A with L.1 Paralyze
  216. 25% Target A with L.1 Row Attack
  217. 25% Target A with L.1 Paralyzing Fog
  218.  
  219.  
  220. Aquamarine Sword Devil
  221. -------------------------
  222.  
  223. On turn 1:
  224. 50%: Target Self with L.1 Sword Stance
  225. 50%: Target Self with L.1 Establish Stance
  226.  
  227. On turn 2 after Establish Stance:
  228. Target A with L.1 Severing Flash
  229.  
  230. Otherwise:
  231. 35%: Target A with L.1 Attack
  232. 35%: Target B with L.1 Green Arrow
  233. 30%: Target A with L.1 Row Attack
  234.  
  235.  
  236. Lazulite Sword Devil
  237. -------------------------
  238.  
  239. On turn 1:
  240. Target Self with L.1 Establish Stance
  241.  
  242. On turn 2:
  243. Target A with L.1 Severing Flash
  244.  
  245. Otherwise:
  246. 35%: Target A with L.1 Attack
  247. 35%: Target A with L.1 Green Arrow
  248. 30%: Target A with L.1 Row Attack
  249.  
  250. Shark
  251. -------------------------
  252.  
  253. On turn 1:
  254. 84%: Target A with L.1 Attack
  255. 16%: Target A with L.1 Row Attack
  256.  
  257. Otherwise:
  258. 50%: Target A with L.1 Attack
  259. 50%: Target A with L.1 Row Attack
  260.  
  261.  
  262. Great Tree's Sea Slug
  263. -------------------------
  264.  
  265. 33%: Target A with L.1 Poison
  266. 33%: Target A with L.1 Paralyze
  267. 18%: Target A with L.1 Venomous Fog
  268. 16%: Target A with L.1 Paralyzing Fog
  269.  
  270.  
  271. Drunk Ice Spirit
  272. -------------------------
  273.  
  274. 60%: Target A with L.1 Storm of Blue Rain
  275. 40%: Target B with L.1 Azure Arrow
  276.  
  277.  
  278. Great Tree Pearl Oyster
  279. -------------------------
  280.  
  281. Target A with L.1 Attack
  282.  
  283.  
  284. Solid Ooze
  285. -------------------------
  286.  
  287. Target A with L.1 Attack
  288.  
  289.  
  290. Tree's Aquatic Dweller
  291. -------------------------
  292.  
  293. On turn 1:
  294. 50%: Target A with L.1 Attack
  295. 50%: Target A with L.1 Silent Fog
  296.  
  297. Otherwise:
  298. 25%: Target B with L.1 Azure Arrow
  299. 25%: Target B with L.1 Magic Arrow
  300. 25%: Target A with L.1 Storm Of Blue Rain
  301. 25%: Target A with L.1 Storm Of Purple Magic
  302.  
  303.  
  304. Water Tree's Scourged Frog
  305. -------------------------
  306.  
  307. 46%: Target A with L.1 Daze
  308. 34%: Target A with L.1 Earth Shaker
  309. 20%: Target A with L.1 Attack
  310.  
  311.  
  312. Twin Coral Gem
  313. -------------------------
  314.  
  315. On turn 1:
  316. 33%: Target A with L.1 Attack
  317. 33%: Target A with L.1 Azure Arrow
  318. 34%: Target A with L.1 Blade Arrow
  319.  
  320. Otherwise:
  321. 25%: Target A with L.1 Azure Arrow
  322. 25%: Target A with L.1 Blade Arrow
  323. 25%: Target A with L.1 Storm Of Blue Rain
  324. 25%: Target A with L.1 Storm Of Cutting Knives
  325.  
  326.  
  327. Silver Plated Shark
  328. -------------------------
  329.  
  330. On turn 1:
  331. 33%: Target A with L.1 Attack
  332. 67%: Target Self with L.1 Harden
  333.  
  334. Otherwise:
  335. 33%: Target A with L.1 Attack
  336. 67%: Target A with L.1 Row Attack
  337.  
  338.  
  339. Spore Kid
  340. -------------------------
  341.  
  342. 33%: Target A with L.1 Attack
  343. 33%: Target A with L.1 Poison Spore
  344. 34%: Target A with L.1 Paralysis Spore
  345.  
  346.  
  347. Flower Diver
  348. -------------------------
  349.  
  350. If turn % 2 = 1:
  351. Target Self with L.1 Calming Scent
  352.  
  353. Otherwise:
  354. 40%: Target A with L.1 Attack
  355. 30%: Target A with L.1 Paralyze
  356. 30%: Target A with L.1 Poison
  357.  
  358.  
  359. Daphnids
  360. -------------------------
  361.  
  362. Target Self with L.1 Slack Off
  363.  
  364.  
  365. Mysterious Large Flower
  366. -------------------------
  367.  
  368. 33%: Target A with L.1 Attack
  369. 33%: Target B with L.1 Green Arrow
  370. 34%: Target A with L.1 Paralyzing Fog
  371.  
  372.  
  373. Jungle Kedama
  374. -------------------------
  375.  
  376. 50%: Target A with L.1 Attack
  377. 50%: Target A with L.1 Grass Knot
  378.  
  379.  
  380. Jungle Ivy
  381. -------------------------
  382.  
  383. 75%: Target A with L.1 Leg Sweep
  384. 25%: Target A with L.1 Whirlwind
  385.  
  386.  
  387. Seeds of the Giant Tree
  388. -------------------------
  389.  
  390. Target B with L.1 Green Arrow
  391.  
  392.  
  393. Mysterious Butterfly
  394. -------------------------
  395.  
  396. 33%: Target B with L.1 Magic Drain
  397. 33%: Target B with L.1 Allure of Death
  398. 34%: Target A with L.1 Scale Powder
  399.  
  400.  
  401. Grotesque Pitcher
  402. -------------------------
  403.  
  404. 50%: Target A with L.1 Attack
  405. 25%: Target A with L.1 Whirlwind
  406. 25%: Target A with L.1 Swallow
  407.  
  408.  
  409. Large Tree's Dryad
  410. -------------------------
  411.  
  412. 50%: Target A with L.1 Storm Of Wood Leaves (2)
  413. 20%: Target B with L.1 Green Arrow
  414. 15%: Target A with L.1 Poison Spore
  415. 15%: Target A with L.1 Paralysis Spore
  416.  
  417.  
  418. Daphnid Pack
  419. -------------------------
  420.  
  421. On turn 1:
  422. Target A with L.1 Silent Fog
  423.  
  424. Otherwise:
  425. 50%: Target A with L.1 Attack
  426. 50%: Target A with L.1 Calm Down
  427.  
  428.  
  429. Beam Barrel
  430. -------------------------
  431.  
  432. Target A with L.1 Penetrator
  433.  
  434.  
  435. Jungle Gem
  436. -------------------------
  437.  
  438. 50%: Target B with L.1 Green Arrow
  439. 30%: Target B with L.1 Gravity Manipulation
  440. 20%: Target Self with L.1 Graces Of Fruits Of Darkness
  441.  
  442.  
  443. Fungas
  444. -------------------------
  445.  
  446. On turn % 2 == 1:
  447. Target A with L.1 Deranging Aroma
  448.  
  449. Otherwise:
  450. 66%: Target B with L.1 Green Arrow
  451. 34%: Target A with L.1 Shadowstep
  452.  
  453.  
  454. Forest Mage
  455. -------------------------
  456.  
  457. 30%: Target A with L.1 Silent Fog
  458. 25%: Target A with L.1 Green Arrow
  459. 25%: Target A with L.1 Storm Of Wood Leaves (2)
  460. 20%: Target A with L.1 Magic Drain
  461.  
  462.  
  463. Wild Large Flower
  464. -------------------------
  465.  
  466. 50%: Target A with L.10 Row Attack
  467. 50%: Target A with L.10 Paralyzing Fog
  468.  
  469.  
  470. Delicious Autumn Taste
  471. -------------------------
  472.  
  473. 60%: Target A with L.1 Paralyze
  474. 40%: Target A with L.1 Storm Of Wood Leaves (2)
  475.  
  476.  
  477. Emerald Nut
  478. -------------------------
  479.  
  480. Target A with L.1 Nut Throw
  481.  
  482.  
  483. Jungle Ooze
  484. -------------------------
  485.  
  486. On turn % 2 == 1:
  487. Target Self with L.50 Regeneration
  488.  
  489. Otherwise:
  490. 60%: Target A with L.1 Acid Rain
  491. 40%: Target A with L.1 Storm Of Wood Leaves (2)
  492.  
  493.  
  494. Desert Kedama
  495. -------------------------
  496.  
  497. 66%: Target A with L.1 Attack
  498. 34%: Target Self with L.1 Burrow
  499.  
  500.  
  501. Ballon Bird
  502. Bug: Ballon Bird will never use Attack.
  503. -------------------------
  504.  
  505. On turn % 2 == 1:
  506. Target Self with L.1 Fly Up
  507. Set evasion to 128
  508.  
  509. On turn % 2 == 0:
  510. Target A with L.1 Flying Press
  511. Set evasion to 10
  512.  
  513. Otherwise:
  514. 100%: Target A with L.1 Attack
  515.  
  516.  
  517. Drunk Wind Spirit
  518. Bug: Drunk Wind Spirit will never use Storm of Yellow Drive nor Storm of Blue Rain.
  519. -------------------------
  520.  
  521. 100%: Target B with L.1 Thunder Arrow
  522. 0%: Target A with L.1 Storm Of Yellow Drive
  523. 0%: Target A with L.1 Storm Of Blue Rain
  524.  
  525.  
  526. Youkailion
  527. -------------------------
  528.  
  529. 60%: Target A with L.1 Sandstorm
  530. 40%: Target A with L.1 Daze
  531.  
  532.  
  533. Desert Winged Youk-Eye
  534. Bug: Desert Winged Youk-Eye will never use Slash Dive.
  535. -------------------------
  536.  
  537. 100%: Target B with L.1 Heat Gaze
  538. 0%: Target A with L.1 Slash Dive
  539.  
  540.  
  541. Sandfish
  542. -------------------------
  543.  
  544. 67%: Target A with L.1 Row Attack
  545. 33%: Target A with L.1 Bite
  546.  
  547.  
  548. Alluvial Kedama
  549. -------------------------
  550.  
  551. 33%: Target A with L.1 Attack
  552. 33%: Target A with L.1 Sandstorm
  553. 34%: Target A with L.1 Escape
  554.  
  555.  
  556. Desert Jewel
  557. -------------------------
  558.  
  559. 60%: Target A with L.1 Storm Of Yellow Drive
  560. 40%: Target A with L.1 Razor Wind
  561.  
  562.  
  563. Large Sandfish
  564. -------------------------
  565.  
  566. 40%: Target A with L.1 Paralyze
  567. 40%: Target A with L.1 Slash Dive
  568. 20%: Target Self with L.1 Burrow
  569.  
  570.  
  571. Rock Egg
  572. -------------------------
  573.  
  574. 67%: Target A with L.1 Rock Clash
  575. 33%: Target A with L.1 Attack
  576.  
  577.  
  578. Magic Crystal Ball
  579. -------------------------
  580.  
  581. 60%: Target B with L.1 Magical Light
  582. 40%: Target A with L.1 Piercing Light
  583.  
  584.  
  585. Hell's Cactus
  586. -------------------------
  587.  
  588. 50%: Target A with L.1 Attack
  589. 50%: Target A with L.1 1000 Needles
  590.  
  591.  
  592. Tornave Core
  593. -------------------------
  594.  
  595. Target A with L.1 Storm Of Yellow Drive
  596.  
  597.  
  598. Sand Beetle
  599. -------------------------
  600.  
  601. 50%: Target A with L.1 Paralyze
  602. 50%: Target B with L.1 Thunder Arrow
  603.  
  604.  
  605. Helix Weathercock
  606. -------------------------
  607.  
  608. Target A with L.1 Slash Dive
  609.  
  610.  
  611. Azure Ghostie
  612. -------------------------
  613.  
  614. 30%: Target B with L.1 Allure Of Death
  615. 30%: Target B with L.1 Magic Drain
  616. 20%: Target A with L.1 Attack
  617. 20%: Target B with L.1 Magical Light
  618.  
  619.  
  620. Bandage-Covered Corpse
  621. -------------------------
  622.  
  623. 33%: Target A with L.1 Whirlwind
  624. 33%: Target A with L.1 Ancient Curse
  625. 34%: Target B with L.1 Dark Arrow
  626.  
  627.  
  628. Rock Crystal
  629. Bug: Rock Crystal will never use Escape. The format has been altered to better reflect this bug.
  630. -------------------------
  631.  
  632. chance = random(99)
  633.  
  634. If chance is less than 60
  635. Target A with L.1 Attack
  636. End
  637.  
  638. If chance is less than 40
  639. Target Self with L.1 Escape
  640. End
  641.  
  642.  
  643. Ancient Iron-Shelled Turtle
  644. -------------------------
  645.  
  646. Target A with L.1 Earthquake
  647.  
  648.  
  649. Lava Servant
  650. Bug: Lava Servant will never use Attack. The format has been altered to better reflect this bug.
  651. -------------------------
  652.  
  653. chance = random(99)
  654.  
  655. If chance is less than 90
  656. Target Self with L.1 Charm
  657. End
  658.  
  659. If chance is less than 20
  660. Target A with L.1 Attack
  661. End
  662.  
  663. If chance is less than 100
  664. Target A with L.1 Lava Flow
  665. End
  666.  
  667.  
  668. Crimson Beast
  669. -------------------------
  670.  
  671. 50%: Target A with L.1 Crimson Lotus Fang
  672. 50%: Target A with L.1 Daze
  673.  
  674.  
  675. Flame Kedama
  676. -------------------------
  677.  
  678. 84%: Target A with L.1 Attack
  679. 16%: Target B with L.1 Blazing Light Shot
  680.  
  681.  
  682. Ruby Sword Devil
  683. -------------------------
  684.  
  685. On turn 1:
  686. 50%: Target Self with L.1 Sword Stance
  687. 50%: Target Self with L.1 Establish Stance
  688.  
  689. On turn 2 after Establish Stance:
  690. Target A with L.1 Severing Flash
  691.  
  692. Otherwise:
  693. 20%: Target A with L.1 Attack
  694. 30%: Target A with L.1 Row Attack
  695. 50%: Target B with L.1 Red Arrow
  696.  
  697.  
  698. Balas Ruby Swordsman
  699. -------------------------
  700.  
  701. On turn 1:
  702. Target Self with L.1 Establish Stance
  703.  
  704. On turn 2:
  705. Target A with L.1 Severing Flash
  706.  
  707. Otherwise:
  708. 50%: Target A with L.1 Explosive Flame Sword
  709. 50%: Target A with L.1 Row Attack
  710.  
  711.  
  712. Scorching Fairy
  713. -------------------------
  714.  
  715. 50%: Target A with L.1 Dazing Fog
  716. 50%: Target B with L.1 Red Arrow
  717.  
  718.  
  719. Glittering Red Light
  720. -------------------------
  721.  
  722. 30%: Target B with L.1 Blazing Light Shot
  723. 70%: Target B with L.1 Red Arrow
  724.  
  725.  
  726. Gelatine Cube
  727. -------------------------
  728.  
  729. 66%: Target A with L.1 Digest
  730. 34%: Target A with L.1 Dissolvent
  731.  
  732.  
  733. Lump of Flame
  734. -------------------------
  735.  
  736. 25%: Target B with L.1 Magic Drain
  737. 25%: Target B with L.1 Red Arrow
  738. 25%: Target A with L.1 Spark Storm
  739. 25%: Target B with L.1 Blazing Light Shot
  740.  
  741.  
  742. Burning Tree's Sword Spirit
  743. -------------------------
  744.  
  745. 44%: Target A with L.1 Attack
  746. 44%: Target A with L.1 Flamethrower
  747. 22%: Target A with L.1 Severing Flash
  748.  
  749.  
  750. Large Lump of Flame
  751. -------------------------
  752.  
  753. 33%: Target B with L.1 Destroy Magic
  754. 33%: Target B with L.1 Blazing Light Shot
  755. 34%: Target A with L.1 Flowing Hellfire
  756.  
  757.  
  758. Blazing Oarfish
  759. -------------------------
  760.  
  761. 50%: Target A with L.1 Horizontal Slice
  762. 50%: Target B with L.1 Red Arrow
  763.  
  764.  
  765. Red Beetle
  766. -------------------------
  767.  
  768. 50%: Target A with L.1 Attack
  769. 50%: Target A with L.1 Red Curse
  770.  
  771.  
  772. Red Skull
  773. -------------------------
  774.  
  775. 88%: Target A with L.1 Spark Storm
  776. 22%: Target A with L.1 Flowing Hellfire
  777.  
  778.  
  779. Red Rose Girl
  780. -------------------------
  781.  
  782. 33%: Target A with L.1 Silent Fog
  783. 33%: Target A with L.1 Poison Spore
  784. 34%: Target A with L.1 Paralysis Spore
  785.  
  786.  
  787. Burning Claw Demon
  788. -------------------------
  789.  
  790. 75%: Target A with L.1 Void Flash Claw
  791. 25%: Target A with L.1 Rock Clash
  792.  
  793.  
  794. Magma Barrel
  795. -------------------------
  796.  
  797. Target A with L.1 Lava Flow
  798.  
  799.  
  800. Fire Helix Crystal
  801. -------------------------
  802.  
  803. Target A with L.1 Spark Storm
  804.  
  805.  
  806. Demon Fruit
  807. -------------------------
  808.  
  809. 50%: Target A with L.1 Detonation
  810. 50%: Target Self with L.1 Graces Of Fruits Of Darkness
  811.  
  812.  
  813. Devil Kedama
  814. -------------------------
  815.  
  816. 33%: Target A with L.1 Attack
  817. 33%: Target A with L.1 Deranging Aroma
  818. 34%: Target B with L.1 Dark Arrow
  819.  
  820.  
  821. Fantasy Mushroom
  822. -------------------------
  823.  
  824. On turn % 2 == 1:
  825. Target A with L.1 Dangerous Scent
  826.  
  827. Otherwise:
  828. 50%: Target A with L.1 Grass Knot
  829. 50%: Target A with L.1 Poison Spore
  830.  
  831.  
  832. Dream Eating Beast
  833. Bug: Dream Eating Beast will never use Attack.
  834. -------------------------
  835.  
  836. On turn % 2 == 1:
  837. Target A with L.1 Terrifying Wave
  838.  
  839. On turn % 2 == 0:
  840. Target A with L.1 Terror Eater
  841.  
  842. Otherwise:
  843. Target A with L.1 Attack
  844.  
  845.  
  846. Spirit of Shadow
  847. -------------------------
  848.  
  849. 20%: Target B with L.1 Magic Arrow
  850. 20%: Target A with L.1 Storm Of Purple Magic
  851. 20%: Target B with L.1 Dark Arrow
  852. 20%: Target A with L.1 Storm Of Dark Flow
  853. 20%: Target A with L.1 Purple Curse
  854.  
  855.  
  856. Ghost of Malice
  857. Bug: Ghost of Malice will never use Flux of Yomotsu Hirasaka nor Storm of Dark Flow.
  858. -------------------------
  859.  
  860. 100%: Target B with L.1 Destroy Magic
  861. 0%: Target A with L.1 Flux Of Yomotsu Hirasaka
  862. 0%: Target A with L.1 Storm Of Dark Flow
  863.  
  864.  
  865. Walking Ripe Fruit
  866. -------------------------
  867.  
  868. 33%: Target A with L.1 Attack
  869. 33%: Target Self with L.1 Photosynthesis
  870. 34%: Target Self with L.1 Escape
  871.  
  872.  
  873. Dark Carapace Fish
  874. -------------------------
  875.  
  876. Target A with L.1 Dividing Slash
  877.  
  878.  
  879. Poisonous Sea Slug
  880. -------------------------
  881.  
  882. 33%: Target A with L.1 Poison Spore
  883. 33%: Target A with L.1 Paralysis Spore
  884. 34%: Target A with L.1 Allure Of Death
  885.  
  886.  
  887. Skull Eater
  888. -------------------------
  889.  
  890. 50%: Target A with L.1 Nut Throw
  891. 50%: Target A with L.1 Attack
  892.  
  893.  
  894. Great Tree's Mean Thief
  895. -------------------------
  896.  
  897. 20%: Target A with L.1 Attack
  898. 50%: Target A with L.1 Dividing Slash
  899. 30%: Target B with L.1 Magic Drain
  900.  
  901.  
  902. Those Staring from the Gap
  903. -------------------------
  904.  
  905. Target A with L.1 Whirlwind
  906.  
  907.  
  908. Pangu Gem
  909. -------------------------
  910.  
  911. 66%: Target A with L.1 Gravity Manipulation
  912. 34%: Target A with L.1 Acid Rain
  913.  
  914.  
  915. Golden Mushroom
  916. -------------------------
  917.  
  918. 33%: Target A with L.1 Attack
  919. 33%: Target A with L.1 Madness Fog
  920. 34%: Target Self with L.1 Escape
  921.  
  922.  
  923. Dragon Larva
  924. -------------------------
  925.  
  926. 25%: Target A with L.1 Spark Storm
  927. 25%: Target A with L.1 Storm Of Blue Rain
  928. 25%: Target A with L.1 Flowing Hellfire
  929. 25%: Target A with L.1 Wild Dance Of Freezing Mist
  930.  
  931.  
  932. Void Assassin
  933. -------------------------
  934.  
  935. 66%: Target A with L.1 Slash Dive
  936. 34%: Target A with L.1 Void Flash Claw
  937.  
  938.  
  939. Spirit of Darkness
  940. -------------------------
  941.  
  942. Target B with L.1 Black Universe
  943.  
  944.  
  945. Decapitating Skeleton
  946. -------------------------
  947.  
  948. 60%: Target A with L.1 Half Moon Slash
  949. 40%: Target A with L.1 Attack
  950.  
  951.  
  952. Heavenly Spiritual Gem
  953. Bug: Heavenly Spiritual Gem will never use 1000 Needles.
  954. -------------------------
  955.  
  956. 100%: Target B with L.1 Magical Light
  957. 0%: Target A with L.1 1000 Needles
  958.  
  959.  
  960. Heavenly Kedama
  961. -------------------------
  962.  
  963. When alone:
  964. Target A with L.1 Magical Blast
  965.  
  966. Otherwise:
  967. Target Self with L.1 SlackOff
  968.  
  969.  
  970. Sky Fairy
  971. Bug: Sky Fairy will never use Deranging Aroma nor Dangerous Scent.
  972. -------------------------
  973.  
  974. On turn % 2 == 1:
  975. 100%: Target Self with L.1 Calming Scent
  976. 0%: Target Self with L.1 Deranging Aroma
  977. 0%: Target Self with L.1 Dangerous Scent
  978.  
  979. Otherwise:
  980. Target B with L.1 Black Universe
  981.  
  982.  
  983. Heavenly Crystal Core
  984. -------------------------
  985.  
  986. 33%: Target B with L.1 Magical Light
  987. 33%: Target A with L.1 Piercing Light
  988. 34%: Target A with L.1 Storm Of Light Particle
  989.  
  990.  
  991. Brilliant Life Form
  992. -------------------------
  993.  
  994. 33%: Target B with L.1 Light Arrow
  995. 33%: Target A with L.1 Terrifying Wave
  996. 34%: Target B with L.1 Destroy Magic
  997.  
  998.  
  999. Puppet Top
  1000. -------------------------
  1001.  
  1002. Target A with L.1 Attack
  1003.  
  1004.  
  1005. Truth-Seeing Eye
  1006. -------------------------
  1007.  
  1008. Target A with L.1 Ether Flare
  1009.  
  1010.  
  1011. Condensed Spiritual Crystal
  1012. -------------------------
  1013.  
  1014. 80%: Target B with L.1 Spirit Decomposition
  1015. 20%: Target Self with L.1 Harden
  1016.  
  1017.  
  1018. Guardian of Heaven
  1019. -------------------------
  1020.  
  1021. 75%: Target A with L.1 Attack
  1022. 25%: Target A with L.1 Rock Clash
  1023.  
  1024.  
  1025. Peta Grain
  1026. -------------------------
  1027.  
  1028. Target A with L.1 Earthquake
  1029.  
  1030.  
  1031. Golden-Furred Large Ram
  1032. -------------------------
  1033.  
  1034. On turn 1:
  1035. Target A with L.7 Terrifying Wave
  1036.  
  1037. Otherwise:
  1038. 30%: Target A with L.1 Attack
  1039. 25%: Target A with L.1 Crimson Lotus Fang
  1040. 25%: Target A with L.1 Bite
  1041. 10%: Target A with L.1 Row Attack
  1042. 10%: Target A with L.1 Shadowstep
  1043.  
  1044.  
  1045. Children of the Great Tree
  1046. -------------------------
  1047.  
  1048. On turn % 2 = 1:
  1049. Target Self with L.30 Regeneration
  1050.  
  1051. Otherwise:
  1052. 20%: Target A with L.10 Poison Spore
  1053. 20%: Target A with L.10 Paralysis Spore
  1054. 20%: Target A with L. 1 Grass Knot
  1055. 20%: Target A with L. 1 Leaf Cutting Dance
  1056. 20%: Target A with L. 1 Calming Scent
  1057.  
  1058.  
  1059. Abyssal Sea Demon
  1060. -------------------------
  1061.  
  1062. If var_nHits >= 1 and var_nHits <= 7:
  1063. Target A with L.1 Octangle Attack (1)
  1064. var_nHits = var_nHits + 1
  1065.  
  1066. If var_nHits >= 8:
  1067. Target A with L.1 Octangle Attack (2)
  1068. var_nHits = 0
  1069.  
  1070. Once, If HP <= 50%:
  1071. Target Self with L.1 Concentrate
  1072. var_nHits = 1
  1073.  
  1074. Otherwise:
  1075. 25%: Target A with L.1 Attack
  1076. 25%: Target A with L.1 Storm of Blue Rain
  1077. 25%: Target A with L.1 Blizzard
  1078. 15%: Target A with L.1 Wild Dance of Freezing Mist
  1079. 10%: Target A with L.1 Wild Dance of Freezing Mist
  1080.  
  1081.  
  1082. Cloud-Diving Nymph of Aeons
  1083. Bug: Cloud-Diving Nymph of Aeons will never use Half Moon Slash, Razor Wind, Black Universe, nor
  1084. 1000 Needles.
  1085. -------------------------
  1086.  
  1087. On turn 1:
  1088. Target A with L.1 Silent Fog
  1089.  
  1090. On turn 5:
  1091. Target A with L.1 Silent Fog
  1092.  
  1093. Otherwise:
  1094. 100%: Target B with L.1 Thunder Arrow
  1095. 0%: Target A with L.1 Half Moon Slash
  1096. 0%: Target A with L.1 Razor Wind
  1097. 0%: Target B with L.1 Black Universe
  1098. 0%: Target A with L.1 1000 Needles
  1099.  
  1100.  
  1101. Scarlet Gold Granite Flower
  1102. -------------------------
  1103.  
  1104. On turn % 2 = 1:
  1105. Target Self with L.1 Shell Melter
  1106. def = max(5000, def - 5000)
  1107. mnd = max(5000, mnd - 5000)
  1108.  
  1109. Otherwise:
  1110. 20%: Target A with L.1 Attack
  1111. 16%: Target B with L.1 Spark Storm
  1112. 16%: Target B with L.1 Magical Blast
  1113. 16%: Target B with L.1 Blazing Light Shot
  1114. 16%: Target A with L.1 Piercing Light
  1115. 16%: Target A with L.1 Paralyzing Fog
  1116.  
  1117.  
  1118. Guardian Statue of Heavens
  1119. -------------------------
  1120.  
  1121. 60%: Target A with L.1 Attack
  1122. 10%: Target A with L.1 Rock Clash
  1123. 10%: Target A with L.1 Gravity Manipulation
  1124. 10%: Target A with L.1 Earth Shaker
  1125. 10%: Target A with L.1 Ancient Curse
  1126.  
  1127.  
  1128. Massive Twilight Magicannon
  1129. Bug: Massive Twilight Magicannon will never use Attack.
  1130. -------------------------
  1131.  
  1132. On turn % 3 = 1:
  1133. Target Self with L.1 Concentrate
  1134.  
  1135. On turn % 3 = 2:
  1136. Target Self with L.1 Concentrate
  1137.  
  1138. On turn % 3 = 0:
  1139. Target A with L.1 Shining Arrows From The Sky
  1140.  
  1141. Otherwise:
  1142. Target A with L.1 Attack
  1143.  
  1144.  
  1145. Chrysomallos
  1146. -------------------------
  1147.  
  1148. Once, If HP <= 75%:
  1149. Target A with L.1 Great Roar
  1150.  
  1151. Once, If HP <= 30%:
  1152. Target A with L.1 Great Roar
  1153.  
  1154. Otherwise:
  1155. 50%: Target A with L.1 Attack
  1156. 50%: Target A with L.1 Row Attack
  1157.  
  1158.  
  1159. Lesser Golem
  1160. -------------------------
  1161.  
  1162. Target A with L.1 Attack
  1163.  
  1164.  
  1165. Lamprey Serpent
  1166. -------------------------
  1167.  
  1168. Once, If HP <= 80%:
  1169. Target D with L.1 Swallow
  1170.  
  1171. Once, If HP <= 50%:
  1172. Target D with L.1 Swallow
  1173.  
  1174. Once, If HP <= 20%:
  1175. Target D with L.1 Swallow
  1176.  
  1177. If HP >= 50%:
  1178. 40%: Target A with L.1 Bite
  1179. 30%: Target A with L.1 Attack
  1180. 15%: Target A with L.1 Bite
  1181. 15%: Target A with L.1 Bite
  1182.  
  1183. If HP <= 50%:
  1184. 40%: Target A with L.1 Bite
  1185. 20%: Target D with L.1 Bite
  1186. 10%: Target A with L.1 Bite
  1187. 15%: Target A with L.1 Bite
  1188. 15%: Target A with L.1 Bite
  1189.  
  1190.  
  1191. Siren of Silence
  1192. -------------------------
  1193.  
  1194. On turn % 3 = 1: Target A with L.1 Silent Fog
  1195. On turn % 6 = 2: Target A with L.1 Storm Of Purple Magic
  1196. On turn % 6 = 3: Target A with L.1 Magical Blast
  1197. On turn % 6 = 5: Target A with L.1 Storm Of Blue Rain
  1198. On turn % 6 = 0: Target B with L.1 Azure Arrow
  1199.  
  1200.  
  1201. Yuugi Hoshiguma
  1202. -------------------------
  1203.  
  1204. If HP <= 50%:
  1205. Target D with L.1 Knockout In Three Steps
  1206.  
  1207. If HP <= 80%:
  1208. 33%: Target A with L.1 Attack
  1209. 34%: Target A with L.1 Supernatural Phenomenon
  1210. 33%: Target A with L.1 Irremovable Shackles
  1211.  
  1212. Otherwise:
  1213. 75%: Target A with L.1 Attack
  1214. 25%: Target A with L.1 Irremovable Shackles
  1215.  
  1216.  
  1217. Giant Tree
  1218. -------------------------
  1219.  
  1220. 16%: Target A with L. 1 Nut Throw
  1221. 17%: Target A with L. 1 Horizontal Slice
  1222. 17%: Target A with L. 1 Leaf Cutting Dance
  1223. 16%: Target A with L. 1 Scale Powder
  1224. 17%: Target A with L. 1 Storm Of Wood Leaves (2)
  1225. 17%: Target Self with L.33 Healing Power
  1226.  
  1227.  
  1228. Violet Ada-Bana
  1229. -------------------------
  1230.  
  1231. 16%: Target A with L.1 Green Arrow
  1232. 17%: Target A with L.1 Storm Of Wood Leaves (2)
  1233. 17%: Target A with L.4 Paralysis Spore
  1234. 16%: Target A with L.1 Ancient Curse
  1235. 17%: Target A with L.1 Wild Dance Of Freezing Mist
  1236. 17%: Target A with L.1 Flux Of Yomotsu Hirasaka
  1237.  
  1238.  
  1239. Desert Weapon - Gold Hymn
  1240. -------------------------
  1241.  
  1242. On turn % 2 = 1:
  1243. Target Self with L.1 Concentrate
  1244.  
  1245. On turn % 2 = 0:
  1246. Target A with L.1 Flowing Hellfire
  1247.  
  1248.  
  1249. Desert Weapon - Silver Mail
  1250. -------------------------
  1251.  
  1252. On turn % 2 = 1:
  1253. Target Self with L.1 Concentrate
  1254.  
  1255. On turn % 2 = 0:
  1256. Target A with L.1 Wild Dance Of Freezing Mist
  1257.  
  1258.  
  1259. Burning Hell's Lava Dragon
  1260. -------------------------
  1261.  
  1262. 14%: Target A with L.1 Flamethrower
  1263. 14%: Target A with L.1 Bite
  1264. 14%: Target A with L.4 Lava Flow
  1265. 14%: Target A with L.1 Slash Dive
  1266. 14%: Target A with L.1 Great Roar
  1267. 15%: Target A with L.1 Row Attack
  1268. 15%: Target A with L.1 Daze
  1269.  
  1270.  
  1271. Demon Hell's Slurping Worm
  1272. -------------------------
  1273.  
  1274. On turn % 2 = 1:
  1275. Target Self with L.12 Regeneration
  1276.  
  1277. If HP < 40% and 8% chance:
  1278. Target A with L.1 World Devouring Destruction
  1279.  
  1280. If HP < 70% and 10% chance:
  1281. Target A with L.1 Ether Flare
  1282.  
  1283. Otherwise:
  1284. 13%: Target B with L.1 Destroy Magic
  1285. 13%: Target A with L.1 Shadowstep
  1286. 13%: Target A with L.1 Leg Sweep
  1287. 13%: Target A with L.1 Half Moon Slash
  1288. 12%: Target A with L.4 Swallow
  1289. 12%: Target A with L.1 Storm Of Dark Flow
  1290. 12%: Target A with L.1 Devil's Crimes
  1291. 12%: Target A with L.1 1000 Needles
  1292.  
  1293.  
  1294. Taur Magician
  1295. -------------------------
  1296.  
  1297. 14%: Target A with L. 1 Storm Of Dark Flow
  1298. 14%: Target A with L. 2 Terror Eater
  1299. 14%: Target B with L. 1 Destroy Magic
  1300. 14%: Target B with L. 1 Dark Arrow
  1301. 14%: Target A with L.10 Silent Fog
  1302. 14%: Target B with L. 1 Black Universe
  1303. 8%: Target A with L. 1 Magical Blast
  1304. 8%: Target Self with L. 1 MAG UP
  1305.  
  1306.  
  1307. Malignut Eater
  1308. -------------------------
  1309.  
  1310. On turn 1:
  1311. Target A with L.1 Call Underling
  1312.  
  1313. After Call Underling:
  1314. Target A with L.1 Umbrella Spin
  1315.  
  1316. Otherwise:
  1317. 40%: Target A with L.1 Attack
  1318. 40%: Target A with L.1 Nut Throw
  1319. 20%: Target A with L.1 Call Underling
  1320.  
  1321.  
  1322. Youmu Konpaku
  1323. -------------------------
  1324.  
  1325. Once, If HP <= 80%:
  1326. Target A with L.1 Slash Clearing the Six Senses
  1327.  
  1328. Once, If HP <= 60%:
  1329. Target Self with L.1 Concentrate
  1330.  
  1331. Once, After HP <= 60% Concentrate:
  1332. Target A with L.1 God's Slash of Karma Wind
  1333.  
  1334. Once, If HP <= 20%:
  1335. Target Self with L.1 Concentrate
  1336.  
  1337. Once, After HP <= 20% Concentrate:
  1338. Target A with L.1 God's Slash of Karma Wind
  1339.  
  1340. If HP >= 60%:
  1341. 50%: Target A with L.1 Attack
  1342. 50%: Target A with L.1 Present Life Slash
  1343.  
  1344. Otherwise:
  1345. 43%: Target A with L.1 Attack
  1346. 43%: Target A with L.1 Present Life Slash
  1347. 14%: Target A with L.1 Slash Clearing the Six Senses
  1348.  
  1349.  
  1350. Kaguya Houraisan
  1351. -------------------------
  1352.  
  1353. Once, If HP <= 80%:
  1354. Target A with L.1 Dragon's Neck Jewel
  1355.  
  1356. Once, If HP <= 60%:
  1357. Target A with L.1 Buddha's Stone Bowl
  1358.  
  1359. Once, If HP <= 40%:
  1360. Target A with L.1 Swallow's Cowrie Shell
  1361.  
  1362. Once, If HP <= 24%
  1363. Target Self with L.1 Concentrate
  1364.  
  1365. After Concentrate:
  1366. Target A with L.1 Bullet Branch of Hourai
  1367.  
  1368. If HP >= 81%:
  1369. 25%: Target A with L.1 Spark Storm
  1370. 25%: Target A with L.1 Storm Of Blue Rain
  1371. 25%: Target A with L.1 Storm Of Yellow Drive
  1372. 25%: Target A with L.1 Storm Of Wood Leaves (2)
  1373.  
  1374. If HP >= 61%:
  1375. 18%: Target A with L.1 Spark Storm
  1376. 18%: Target A with L.1 Storm Of Blue Rain
  1377. 18%: Target A with L.1 Storm Of Yellow Drive
  1378. 18%: Target A with L.1 Storm Of Wood Leaves (2)
  1379. 18%: Target A with L.1 Dragon's Neck Jewel
  1380.  
  1381. If HP >= 41%:
  1382. 30%: Target A with L.1 Dragon's Neck Jewel
  1383. 16%: Target A with L.1 Storm Of Yellow Drive
  1384. 16%: Target A with L.1 Storm Of Blue Rain
  1385. 16%: Target A with L.1 Spark Storm
  1386. 12%: Target A with L.1 Storm Of Wood Leaves (2)
  1387. 10%: Target A with L.1 Buddha's Stone Bowl
  1388.  
  1389. Otherwise:
  1390. 28%: Target A with L.1 Dragon's Neck Jewel
  1391. 12%: Target A with L.1 Swallow's Cowrie Shell
  1392. 12%: Target A with L.1 Storm Of Yellow Drive
  1393. 12%: Target A with L.1 Storm Of Wood Leaves (2)
  1394. 12%: Target A with L.1 Storm Of Blue Rain
  1395. 12%: Target A with L.1 Spark Storm
  1396. 12%: Target A with L.1 Dragon's Neck Jewel
  1397.  
  1398.  
  1399. Alice's Doll?
  1400. -------------------------
  1401.  
  1402. Target A with L.1 Attack
  1403.  
  1404.  
  1405. Alaya-Vijnana
  1406. -------------------------
  1407.  
  1408. 20%: Target B with L.1 Storm Of Yellow Drive
  1409. 20%: Target B with L.1 Storm Of Wood Leaves (2)
  1410. 20%: Target B with L.1 Storm Of Purple Magic
  1411. 40%: Target B with L.1 Horizontal Slice
  1412.  
  1413.  
  1414. Komachi Onozuka
  1415. -------------------------
  1416.  
  1417. Once, If HP <= 40%:
  1418. Target B with L.1 Narrow Confines of Avici
  1419.  
  1420. Once, If HP <= 25%:
  1421. Target A with L.1 Scythe that Chooses the Dead
  1422.  
  1423. If HP >= 76%:
  1424. 40%: Target D with L.1 Short Life Expectancy
  1425. 20%: Target B with L.1 Phantoms Coldness
  1426. 20%: Target A with L.1 Row Attack
  1427. 20%: Target A with L.1 Attack
  1428.  
  1429. If HP >= 34%:
  1430. 45%: Target D with L.1 Short Life Expectancy
  1431. 25%: Target B with L.1 Ferriage in the Deep Fog
  1432. 10%: Target B with L.1 Phantoms Coldness
  1433. 10%: Target A with L.1 Row Attack
  1434. 10%: Target A with L.1 Attack
  1435.  
  1436. If HP >= 16%:
  1437. 45%: Target D with L.1 Short Life Expectancy
  1438. 15%: Target B with L.1 Ferriage in the Deep Fog
  1439. 10%: Target A with L.1 Scythe that Chooses the Dead
  1440. 10%: Target Self with L.1 Recover
  1441. 10%: Target A with L.1 Row Attack
  1442. 10%: Target B with L.1 Phantoms Coldness
  1443.  
  1444. Otherwise:
  1445. 40%: Target D with L. 1 Short Life Expectancy
  1446. 20%: Target B with L. 1 Ferriage in the Deep Fog
  1447. 20%: Target A with L. 1 Scythe that Chooses the Dead
  1448. 20%: Target Self with L.15 Recover
  1449.  
  1450.  
  1451. Great Tree's Poisonous Wasp
  1452. -------------------------
  1453.  
  1454. On turn % 2 = 1:
  1455. 60%: Target A with L.1 Ultravenomous Needles
  1456. 40%: Target A with L.3 Venomous Fog
  1457.  
  1458. On turn % 2 = 0:
  1459. Target A with L.1 Storm Of Yellow Drive
  1460.  
  1461.  
  1462. Great Tree's Paralysing Wasp
  1463. -------------------------
  1464.  
  1465. On turn % 2 = 1:
  1466. Target D with L.1 Ultraparalysis Needles
  1467.  
  1468. Otherwise:
  1469. 20%: Target A with L.1 Storm Of Yellow Drive
  1470. 20%: Target A with L.1 Attack
  1471. 30%: Target A with L.1 Paralyzing Fog
  1472. 30%: Target A with L.1 Row Attack
  1473.  
  1474.  
  1475. Alice's Remote Doll V2
  1476. -------------------------
  1477.  
  1478. Target A with L.1 Row Attack
  1479.  
  1480.  
  1481. Fujiwara no Mokou
  1482. -------------------------
  1483.  
  1484. On turn % 2 = 1:
  1485. Target self with L.6 Regeneration
  1486.  
  1487. After reviving:
  1488. Target A with L.1 Fujiyama Volcano
  1489.  
  1490. Once, If HP <= 75%:
  1491. Target A with L.1 Tsuki no Iwakasa's Curse
  1492.  
  1493. Once, If HP <= 25%:
  1494. Target A with L.1 Tsuki no Iwakasa's Curse
  1495.  
  1496. Once, If HP <= 30%:
  1497. Target A with L.1 Earth Shaker
  1498.  
  1499. If HP >= 50%:
  1500. 20%: Target A with L.1 Fire Bird -Flying Phoenix-
  1501. 20%: Target A with L.1 Daze
  1502. 15%: Target B with L.1 Spark Storm
  1503. 15%: Target A with L.1 Row Attack
  1504. 15%: Target A with L.1 Azure Arrow
  1505. 15%: Target A with L.1 Attack
  1506.  
  1507. Otherwise:
  1508. 30%: Target A with L.1 Fire Bird -Flying Phoenix-
  1509. 25%: Target A with L.1 Row Attack
  1510. 25%: Target A with L.1 Azure Arrow
  1511. 10%: Target B with L.1 Spark Storm
  1512. 10%: Target A with L.1 Attack
  1513.  
  1514.  
  1515. Kraken
  1516. -------------------------
  1517.  
  1518. If var_nHits >= 1 and var_nHits <= 7:
  1519. Target A with L.1 Octangle Attack (1)
  1520. var_nHits = var_nHits + 1
  1521.  
  1522. If var_nHits >= 8:
  1523. Target A with L.1 Octangle Attack (2)
  1524. var_nHits = 0
  1525.  
  1526. Once, If HP <= 66%:
  1527. Target Self with L.1 Concentrate
  1528. var_nHits = 1
  1529.  
  1530. Once, If HP <= 30%:
  1531. Target Self with L.1 Concentrate
  1532. var_nHits = 1
  1533.  
  1534. Otherwise:
  1535. 40%: Target A with L.1 Daze
  1536. 25%: Target A with L.1 Leg Sweep
  1537. 20%: Target A with L.1 Attack
  1538. 15%: Target A with L.1 Storm Of Blue Rain
  1539.  
  1540.  
  1541. Hina Kagiyama
  1542. -------------------------
  1543.  
  1544. If HVY or TRR or SIL:
  1545. Target Self with L.1 Spinning More Than Usual
  1546.  
  1547. If ATKDBF or DEFDBF or MNDDBF or MAGDBF or SPDDBF:
  1548. Target Self with L.1 Curse Reversal
  1549.  
  1550. Once, If HP <= 66%:
  1551. Target A with L.1 Misfortune God's Biorhythm
  1552.  
  1553. Once, If HP <= 33%:
  1554. Target A with L.1 Misfortune God's Biorhythm
  1555.  
  1556. If HP >= 50%:
  1557. 19%: Target B with L.1 Storm Of Dark Flow
  1558. 19%: Target B with L.1 Spark Storm
  1559. 19%: Target B with L.1 Red Arrow
  1560. 19%: Target B with L.1 Dark Arrow
  1561. 12%: Target A with L.1 Pain Flow
  1562. 12%: Target A with L.1 Old Lady Ohgane's Fire
  1563.  
  1564. Otherwise:
  1565. 24%: Target A with L.1 Pain Flow
  1566. 24%: Target A with L.1 Old Lady Ohgane's Fire
  1567. 18%: Target B with L.1 Spark Storm
  1568. 14%: Target B with L.1 Red Arrow
  1569. 12%: Target B with L.1 Storm Of Dark Flow
  1570. 12%: Target B with L.1 Dark Arrow
  1571. 6%: Target A with L.1 Misfortune God's Biorhythm
  1572.  
  1573.  
  1574. Blue Orchid
  1575. -------------------------
  1576.  
  1577. On turn % 2 = 1 and turn >= 3:
  1578. Target Self with L.1 Shell Melter
  1579. def = max(300, def - 300)
  1580. mnd = max(300, mnd - 300)
  1581.  
  1582. Otherwise:
  1583. 20%: Target A with L.1 Dissolvent
  1584. 20%: Target A with L.1 Paralyzing Fog
  1585. 20%: Target B with L.1 Azure Arrow
  1586. 20%: Target B with L.1 Storm Of Blue Rain
  1587. 20%: Target B with L.1 Acid Rain
  1588.  
  1589.  
  1590. Tenshi Hinanawi
  1591. Note: It is unclear at the moment what the FN_58E2s do.
  1592. -------------------------
  1593.  
  1594. On turn 11, If HP <= 66%
  1595. Target Self with L.1 Escape
  1596. FN_58E2(803)
  1597. FN_58E2(804)
  1598. FN_58E2(805)
  1599.  
  1600. On turn 11:
  1601. Target self with L.1 Escape
  1602.  
  1603. Otherwise:
  1604. Target A with L.1 Ame-no-Murakumo Slash
  1605.  
  1606.  
  1607. Philosopher's Stone - Fire
  1608. -------------------------
  1609.  
  1610. On turn % 2 = 1:
  1611. Target A with L.1 Spark Storm
  1612.  
  1613. On turn % 4 = 2:
  1614. Target A with L.1 Red Curse
  1615.  
  1616. On turn % 4 = 0:
  1617. Target A with L.1 Dazing Fog
  1618.  
  1619.  
  1620. Philosopher's Stone - Water
  1621. -------------------------
  1622.  
  1623. On turn % 2 = 1:
  1624. Target A with L.1 Storm Of Blue Rain
  1625.  
  1626. On turn % 4 = 2:
  1627. Target A with L.1 Blue Curse
  1628.  
  1629. On turn % 4 = 0:
  1630. Target A with L.1 HeavyFog
  1631.  
  1632.  
  1633. Philosopher's Stone - Wind
  1634. -------------------------
  1635.  
  1636. On turn % 2 = 1:
  1637. Target A with L.1 Storm Of Yellow Drive
  1638.  
  1639. On turn % 4 = 2:
  1640. Target A with L.1 Yellow Curse
  1641.  
  1642. On turn % 4 = 0:
  1643. Target A with L.1 Paralyzing Fog
  1644.  
  1645.  
  1646. Philosopher's Stone - Earth
  1647. -------------------------
  1648.  
  1649. On turn % 2 = 1:
  1650. Target A with L.1 Storm Of Wood Leaves (2)
  1651.  
  1652. On turn % 4 = 2:
  1653. Target A with L.1 Green Curse
  1654.  
  1655. On turn % 4 = 0:
  1656. Target A with L.1 Venomous Fog
  1657.  
  1658.  
  1659. Philosopher's Stone - Mystic
  1660. -------------------------
  1661.  
  1662. On turn % 2 = 1:
  1663. Target A with L.1 Storm Of Purple Magic
  1664.  
  1665. On turn % 4 = 2:
  1666. Target A with L.1 Purple Curse
  1667.  
  1668. On turn % 4 = 0:
  1669. Target A with L.1 Madness Fog
  1670.  
  1671.  
  1672. Jungle's Demonic Eye
  1673. -------------------------
  1674.  
  1675. On turn 1:
  1676. Target Self with L.1 Tentacle Breed
  1677.  
  1678. On turn % 5 = 0:
  1679. Target Self with L.1 Tentacle Breed
  1680.  
  1681. Otherwise:
  1682. 30%: Target A with L.1 Attack
  1683. 20%: Target A with L.1 Swallow
  1684. 20%: Target A with L.1 Whirlwind
  1685. 15%: Target A with L.1 Leaf Cutting Dance
  1686. 15%: Target A with L.1 Leg Sweep
  1687.  
  1688.  
  1689. Alice Margatroid
  1690. -------------------------
  1691.  
  1692. On turn 1:
  1693. Target self with L.1 Resummon Doll
  1694.  
  1695. Once, If HP <= 75%:
  1696. Target A with L.1 Trip Wire
  1697.  
  1698. Once, If HP <= 60%:
  1699. Target A with L.1 Little Legion
  1700.  
  1701. Once, If HP <= 30%:
  1702. Target A with L.1 Trip Wire
  1703.  
  1704. When 3 dolls remain and 25% chance:
  1705. Target self with L.1 Resummon Doll
  1706.  
  1707. When 2 dolls remain and 50% chance:
  1708. Target self with L.1 Resummon Doll
  1709.  
  1710. When 1 doll remains and 75% chance:
  1711. Target self with L.1 Resummon Doll
  1712.  
  1713. When Alone:
  1714. Target self with L.1 Resummon Doll
  1715.  
  1716. If HP >= 40%:
  1717. 20%: Target B with L.1 Red Arrow
  1718. 20%: Target B with L.1 Magical Light
  1719. 20%: Target A with L.1 Artful Sacrifice
  1720. 14%: Target A with L.1 Hanged Hourai Dolls
  1721. 13%: Target A with L.1 Spark Storm
  1722. 13%: Target A with L.1 Red Curse
  1723.  
  1724. Otherwise:
  1725. 30%: Target A with L.1 Artful Sacrifice
  1726. 20%: Target A with L.1 Little Legion
  1727. 15%: Target A with L.1 Hanged Hourai Dolls
  1728. 10%: Target B with L.1 Red Arrow
  1729. 10%: Target A with L.1 Spark Storm
  1730. 10%: Target A with L.1 Red Curse
  1731. 5%: Target A with L.1 Piercing Light
  1732.  
  1733.  
  1734. Alice's Doll - Support Type
  1735. -------------------------
  1736.  
  1737. 66%: Target A with L.1 Attack
  1738. 34%: Target A with L.1 Daze
  1739.  
  1740.  
  1741. Alice's Doll - Magic Type
  1742. -------------------------
  1743.  
  1744. 67%: Target A with L.1 Spark Storm
  1745. 33%: Target A with L.1 Piercing Light
  1746.  
  1747.  
  1748. Demonic Eyed Ivy
  1749. -------------------------
  1750.  
  1751. If JDEye is alive:
  1752. 50%: Target JDEye with L.12 Healing Power
  1753. 35%: Target A with L. 1 Attack
  1754. 15%: Target A with L. 1 Whirlwind
  1755.  
  1756. Otherwise:
  1757. 50%: Target A with L.1 Attack
  1758. 50%: Target A with L.1 Whirlwind
  1759.  
  1760.  
  1761. Iku Nagae
  1762. -------------------------
  1763.  
  1764. Once, If HP <= 55%:
  1765. Target self with L.1 Thundercloud Stickleback
  1766.  
  1767. After Thundercloud Stickleback:
  1768. Target A with L.1 Light Dragon's Sigh
  1769.  
  1770. Once, If HP <= 33%:
  1771. Target self with L.1 Whiskers of the Dragon God
  1772. resDBFATK = 0
  1773. resDBFDEF = 0
  1774. resDBFMAG = 0
  1775. resDBFMND = 0
  1776. resDBFSPD = 0
  1777. resDBFACC = 0
  1778. resDBFEVA = 0
  1779.  
  1780. If HP >= 50%:
  1781. 40%: Target B with L.1 Elekiter Dragon Palace
  1782. 20%: Target A with L.1 Storm Of Yellow Drive
  1783. 20%: Target A with L.1 Paralyzing Fog
  1784. 20%: Target A with L.1 Green Curse
  1785.  
  1786. Otherwise:
  1787. 40%: Target B with L.1 Elekiter Dragon Palace
  1788. 20%: Target A with L.1 Light Dragon's Sigh
  1789. 20%: Target A with L.1 Razor Wind
  1790. 10%: Target A with L.1 Paralyzing Fog
  1791. 10%: Target A with L.1 Green Curse
  1792.  
  1793.  
  1794. Yuuka Kazami
  1795. Bug: Yuuka will never use Magical Light. The odds of Piercing Light are "chance < 95", whereas the
  1796. odds of Magical Light (which immediately follow it) are "chance < 60" (an action would already have
  1797. been picked by that point). This also means she has a 5% chance of doing nothing each turn if
  1798. another condition isn't met.
  1799. -------------------------
  1800.  
  1801. If HP <= 40%, After Master Spark:
  1802. resSHK = 0
  1803. Target self with L.1 Concentrate
  1804.  
  1805. If HP <= 40%, After Concentrate:
  1806. resSHK = 0
  1807. Target A with L.1 Master Spark
  1808.  
  1809. If HP <= 40%:
  1810. resSHK = 0
  1811. Target self with L.1 Concentrate
  1812.  
  1813. If turn % 3 = 0:
  1814. Target A with L.1 Gensokyo's Reflowering
  1815.  
  1816. If PSN or PAR or HVY or SHK or TRR or SIL:
  1817. Target A with L.1 Beauty of Nature
  1818.  
  1819. Otherwise:
  1820. 40%: Target B with L.1 Flower Shot
  1821. 10%: Target A with L.1 Storm Of Wood Leaves (2)
  1822. 9%: Target A with L.1 Poison Spore
  1823. 9%: Target A with L.1 Paralysis Spore
  1824. 9%: Target A with L.1 Calming Scent
  1825. 9%: Target A with L.1 Deranging Aroma
  1826. 9%: Target A with L.1 Piercing Light
  1827. 0%: Target B with L.1 Magical Light
  1828.  
  1829.  
  1830. Ran Yakumo
  1831. -------------------------
  1832.  
  1833. Each turn:
  1834. x = 0
  1835. if flag 0E58 < 2, x = x + 1
  1836. if flag 0E74 < 2, x = x + 1
  1837. if flag 0E78 < 2, x = x + 1
  1838. if flag 0E7C < 2, x = x + 1
  1839. atk = (x * 100) + 1120
  1840. mag = (x * 100) + 1120
  1841. spd = (x * 50) + 256
  1842.  
  1843. When alone:
  1844. Target Self with L.(x + 1) Summon Shikigami
  1845.  
  1846. If HP >= 50%:
  1847. 25%: Target A with L.1 Princess Tenko
  1848. 25%: Target A with L.1 Fox-Tanuki Youkai Laser
  1849. 25%: Target B with L.1 Piercing Light
  1850. 25%: Target B with L.1 Destroy Magic
  1851.  
  1852. Otherwise:
  1853. 36%: Target B with L.1 Soaring En no Ozuno
  1854. 16%: Target B with L.1 Row Attack
  1855. 16%: Target B with L.1 Attack
  1856. 16%: Target A with L.1 Half Moon Slash
  1857. 16%: Target A with L.1 1000 Needles
  1858.  
  1859.  
  1860. Ran's Simple Shikigami
  1861. -------------------------
  1862.  
  1863. If Ran is alive:
  1864. Target Ran with L.1 Strengthen Sorcery
  1865.  
  1866. Otherwise:
  1867. Target A with L.1 Attack
  1868.  
  1869.  
  1870. Tenshi Hinanawi
  1871. -------------------------
  1872.  
  1873. On turn 1:
  1874. Target self with L.1 State of Enlightenment
  1875.  
  1876. Once, If HP <= 70%:
  1877. Target Self with L.1 Concentrate
  1878.  
  1879. Once, After HP <= 70% Concentrate:
  1880. Target A with L.1 Ame-no-Murakumo's Wild Dance
  1881.  
  1882. Once, If HP <= 50%:
  1883. Target self with L.1 State of Enlightenment
  1884.  
  1885. Once, If HP <= 30%:
  1886. Target Self with L.1 Concentrate
  1887.  
  1888. Once, After HP <= 30% Concentrate:
  1889. Target A with L.1 Ame-no-Murakumo's Wild Dance
  1890.  
  1891. If character[0] has at least 100 of positive buffs:
  1892. Target character[0] with L.1 Sword of Hisou
  1893.  
  1894. If character[1] has at least 100 of positive buffs:
  1895. Target character[1] with L.1 Sword of Hisou
  1896.  
  1897. If character[2] has at least 100 of positive buffs:
  1898. Target character[2] with L.1 Sword of Hisou
  1899.  
  1900. If character[3] has at least 100 of positive buffs:
  1901. Target character[3] with L.1 Sword of Hisou
  1902.  
  1903. Otherwise:
  1904. 20%: Target A with L.1 Attack
  1905. 20%: Target A with L.1 Ame-no-Murakumo Slash
  1906. 20%: Target A with L.1 World Creation Press
  1907. 20%: Target A with L.1 Grass Knot
  1908. 20%: Target A with L.1 Shadowstep
  1909.  
  1910.  
  1911. Remilia Scarlet
  1912. Bug: Remilia will never use Black Universe.
  1913. -------------------------
  1914.  
  1915. Once, If Sakuya is alive and HP <= 50%:
  1916. Target Sakuya with L.1 Blood Drain
  1917.  
  1918. If Sakuya is alive:
  1919. 40%: Target A with L.1 Attack
  1920. 25%: Target A with L.1 Row Attack
  1921. 20%: Target A with L.1 Spear the Gungnir
  1922. 15%: Target A with L.1 Slash Dive
  1923. 0%: Target B with L.1 Black Universe
  1924.  
  1925. On turn % 3 = 0:
  1926. Target Self with L.1 Curse of Vlad Tepes
  1927.  
  1928. Otherwise:
  1929. Target A with L.1 Spear the Gungnir
  1930.  
  1931.  
  1932. Sakuya Izayoi
  1933. -------------------------
  1934.  
  1935. If Remilia is alive and HP <= 50% and var_PSUsed = 0:
  1936. Target A with L.1 Private Square
  1937. var_PSUsed = 1
  1938.  
  1939. Once, If Remilia is alive:
  1940. Target A with L.1 Private Square
  1941.  
  1942. If Remilia is alive:
  1943. 30%: Target A with L.1 Misdirection
  1944. 30%: Target A with L.1 Attack
  1945. 20%: Target A with L.1 Daze
  1946. 15%: Target A with L.1 Razor Wind
  1947. 5%: Target A with L.1 Soul Sculpture
  1948.  
  1949. If turn % 3 = 0:
  1950. Target Self with L.1 Lunar Clock
  1951.  
  1952. If turn % 3 = 1:
  1953. Target A with L.1 Soul Sculpture
  1954.  
  1955. If turn % 2 = 1:
  1956. Target A with L.1 Killing Doll
  1957.  
  1958. If HP <= 66% and var_PSUsed = 0:
  1959. Target self with L.1 Concentrate
  1960. var_PSUsed = 1
  1961.  
  1962. Otherwise:
  1963. 20%: Target A with L.1 Attack
  1964. 40%: Target A with L.1 Daze
  1965. 25%: Target A with L.1 Leg Sweep
  1966. 15%: Target A with L.1 Storm Of Blue Rain
  1967.  
  1968.  
  1969. Divine Beasts' Golden Mirror
  1970. -------------------------
  1971.  
  1972. Every turn:
  1973. mag = mag + 80
  1974.  
  1975. Once, If HP <= 40%:
  1976. Target A with L.1 World Devouring Calamity
  1977.  
  1978. Otherwise:
  1979. 15%: Target B with L.1 Blade Arrow
  1980. 15%: Target A with L.1 Storm Of Cutting Knives
  1981. 14%: Target B with L.1 Magical Light
  1982. 14%: Target A with L.1 Red Curse
  1983. 14%: Target A with L.1 Purple Curse
  1984. 14%: Target A with L.1 Magical Blast
  1985. 14%: Target A with L.1 Ancient Curse
  1986.  
  1987.  
  1988. Magatama of Amber Fangs
  1989. -------------------------
  1990.  
  1991. Every turn:
  1992. spd = spd + 20
  1993.  
  1994. Once, If HP <= 30%:
  1995. Target A with L.1 World Devouring Destruction
  1996.  
  1997. Otherwise:
  1998. 20%: Target A with L.1 Attack
  1999. 16%: Target A with L.1 Earthquake
  2000. 16%: Target A with L.1 Half Moon Slash
  2001. 16%: Target A with L.1 Razor Wind
  2002. 16%: Target A with L.1 Paralyze
  2003. 16%: Target B with L.1 Black Universe
  2004.  
  2005.  
  2006. Flandre Scarlet
  2007. -------------------------
  2008.  
  2009. Once, If HP <= 75%:
  2010. Target A with L.1 Forbidden Fruit
  2011.  
  2012. Once, If HP <= 45%:
  2013. Target A with L.1 World Devouring Destruction
  2014.  
  2015. Once, If HP <= 25%:
  2016. Target A with L.1 Concentrate
  2017. resistPAR = 25
  2018.  
  2019. After Concentrate:
  2020. Target A with L.1 Laveatein
  2021. resistPAR = 80
  2022.  
  2023. Otherwise:
  2024. 27%: Target B with L.1 Magical Light
  2025. 16%: Target A with L.1 Daze
  2026. 15%: Target A with L.1 Piercing Light
  2027. 14%: Target A with L.1 Starbow Break
  2028. 14%: Target A with L.1 Magical Blast
  2029. 14%: Target A with L.1 Flamethrower
  2030.  
  2031.  
  2032. Tenshi Hinanawi
  2033. -------------------------
  2034.  
  2035. On turn 1:
  2036. Target self with L.1 State of Enlightenment
  2037.  
  2038. Once, If HP <= 70%:
  2039. Target Self with L.1 Concentrate
  2040.  
  2041. Once, After HP <= 70% Concentrate:
  2042. Target A with L.1 Ame-no-Murakumo's Wild Dance
  2043.  
  2044. Once, If HP <= 50%:
  2045. Target Self with L.1 State of Enlightenment
  2046.  
  2047. Once, If HP <= 30%:
  2048. Target self with L.1 Concentrate
  2049.  
  2050. Once, After HP <= 30% Concentrate:
  2051. Target A with L.1 Ame-no-Murakumo's Wild Dance
  2052.  
  2053. Once, If HP <= 10%:
  2054. Target A with L.1 World Devouring Destruction
  2055.  
  2056. If mndBuff >= 0 and defBuff < 0:
  2057. Target A with L.1 Violent Motherland
  2058.  
  2059. If character[0] has at least 100 of positive buffs:
  2060. Target character[0] with L.1 Sword of Hisou
  2061.  
  2062. If character[1] has at least 100 of positive buffs:
  2063. Target character[1] with L.1 Sword of Hisou
  2064.  
  2065. If character[2] has at least 100 of positive buffs:
  2066. Target character[2] with L.1 Sword of Hisou
  2067.  
  2068. If character[3] has at least 100 of positive buffs:
  2069. Target character[3] with L.1 Sword of Hisou
  2070.  
  2071. Otherwise:
  2072. 20%: Target A with L.1 Attack
  2073. 16%: Target A with L.1 Ame-no-Murakumo Slash
  2074. 16%: Target A with L.1 World Creation Press
  2075. 16%: Target A with L.1 Grass Knot
  2076. 16%: Target A with L.1 Shadowstep
  2077. 16%: Target A with L.1 Half Moon Slash
  2078.  
  2079.  
  2080. Ame-no-Murakumo
  2081. -------------------------
  2082.  
  2083. On turn % 16 = 0:
  2084. Target Self with L.1 Escape
  2085.  
  2086. On turn % 5 = 4:
  2087. Target Self with L.1 Concentrate
  2088.  
  2089. On turn % 5 = 0:
  2090. Target A with L.1 Start Of Heavenly Demise
  2091.  
  2092. Otherwise:
  2093. Target A with L.1 True Ame-no-Murakumo's Slash
  2094.  
  2095.  
  2096. Shikieiki Yamaxanadu
  2097. -------------------------
  2098.  
  2099. On turn 1:
  2100. Target A with L.1 Wandering Sin
  2101.  
  2102. Once, If HP <= 90%:
  2103. Target Self with L.1 Concentrate
  2104. mnd = 40000
  2105. def = 40000
  2106. spd = 88
  2107.  
  2108. Once, After HP <= 90% Concentrate:
  2109. Target D with L.1 Last Judgement
  2110. mnd = 4000
  2111. def = 4000
  2112. spd = 200
  2113.  
  2114. Once, If HP <= 75%:
  2115. Target Self with L.1 Concentrate
  2116. mnd = 40000
  2117. def = 40000
  2118. spd = 88
  2119.  
  2120. Once, After HP <= 75% Concentrate:
  2121. Target D with L.1 Last Judgement
  2122. mnd = 4000
  2123. def = 4000
  2124. spd = 200
  2125.  
  2126. Once, If HP <= 60%:
  2127. Target Self with L.1 Concentrate
  2128. mnd = 40000
  2129. def = 40000
  2130. spd = 88
  2131.  
  2132. Once, After HP <= 60% Concentrate:
  2133. Target D with L.1 Last Judgement
  2134. mnd = 4000
  2135. def = 4000
  2136. spd = 200
  2137.  
  2138. Once, If HP <= 45%:
  2139. Target Self with L.1 Concentrate
  2140. mnd = 40000
  2141. def = 40000
  2142. spd = 88
  2143.  
  2144. Once, After HP <= 45% Concentrate:
  2145. Target D with L.1 Last Judgement
  2146. mnd = 4000
  2147. def = 4000
  2148. spd = 200
  2149.  
  2150. Once, If HP <= 30%:
  2151. Target self with L.1 Concentrate
  2152. mnd = 40000
  2153. def = 40000
  2154. spd = 88
  2155.  
  2156. Once, After HP <= 30% Concentrate:
  2157. Target D with L.1 Last Judgement
  2158. mnd = 4000
  2159. def = 4000
  2160. spd = 200
  2161.  
  2162. Once, If HP <= 15%:
  2163. Target self with L.1 Concentrate
  2164. mnd = 40000
  2165. def = 40000
  2166. spd = 88
  2167.  
  2168. Once, After HP <= 15% Concentrate:
  2169. Target D with L.1 Last Judgement
  2170. mnd = 4000
  2171. def = 4000
  2172. spd = 200
  2173.  
  2174. Otherwise:
  2175. 18%: Target A with L.1 Storm Of Dark Flow
  2176. 15%: Target A with L.1 Spirit Decomposition
  2177. 15%: Target A with L.1 Gravity Manipulation
  2178. 12%: Target A with L.1 Yellow Curse
  2179. 12%: Target A with L.1 Piercing Light
  2180. 8%: Target B with L.1 Dark Arrow
  2181. 6%: Target A with L.1 Yellow Curse
  2182. 6%: Target A with L.1 Red Curse
  2183. 6%: Target A with L.1 Purple Curse
  2184. 6%: Target A with L.1 Green Curse
  2185. 6%: Target A with L.1 Blue Curse
  2186.  
  2187.  
  2188. Memorized Knowledge
  2189. -------------------------
  2190.  
  2191. On turn % 2 = 1:
  2192. Target Self with L.100 MAG UP
  2193.  
  2194. On turn % 2 = 0:
  2195. Target A with L.1 Ether Flare
  2196.  
  2197.  
  2198. Yuyuko Saigyouji
  2199. -------------------------
  2200.  
  2201. On turn 1:
  2202. Target A with L.1 Saigyouji Flawless Nirvana
  2203.  
  2204. Once, If HP <= 70%:
  2205. Target A with L.1 Deadly Swallowtail Lance
  2206.  
  2207. Once, If HP <= 50%:
  2208. Target A with L.1 Ghastly Dream
  2209.  
  2210. Once, If HP <= 30%:
  2211. Target Self with L.1 Concentrate
  2212.  
  2213. After Concentrate:
  2214. Target A with L.1 Saigyouji Flawless Nirvana
  2215.  
  2216. If HP >= 50%:
  2217. 34%: Target B with L.1 Ghostly Dream's Butterfly
  2218. 11%: Target B with L.1 Destroy Magic
  2219. 11%: Target B with L.1 Dark Arrow
  2220. 11%: Target B with L.1 Allure Of Death
  2221. 11%: Target A with L.1 Storm Of Dark Flow
  2222. 11%: Target A with L.1 Purple Curse
  2223. 11%: Target A with L.1 Red Curse
  2224.  
  2225. Otherwise:
  2226. 16%: Target B with L.1 Ghostly Dream's Butterfly
  2227. 12%: Target B with L.1 Flux Of Yomotsu Hirasaka
  2228. 12%: Target B with L.1 Destroy Magic
  2229. 12%: Target B with L.1 Storm Of Dark Flow
  2230. 12%: Target A with L.1 Deadly Swallowtail Lance
  2231. 12%: Target A with L.1 Ghastly Dream
  2232. 12%: Target A with L.1 Purple Curse
  2233. 12%: Target A with L.1 Red Curse
  2234.  
  2235.  
  2236. Glowing Azure Giant
  2237. -------------------------
  2238.  
  2239. On turn 1:
  2240. Target self with L.10 Azure Shining Body
  2241.  
  2242. Once, If HP <= 50%:
  2243. Target self with L.10 Azure Shining Body
  2244.  
  2245. Once, After HP <= 50% Azure Shining Body:
  2246. Target A with L.1 Azure Shining Light
  2247.  
  2248. Otherwise:
  2249. 30%: Target A with L.1 Attack
  2250. 30%: Target D with L.1 Rasetsu Fist
  2251. 20%: Target A with L.1 Great Roar
  2252. 20%: Target A with L.1 Earth Shaker
  2253.  
  2254.  
  2255. Yukari Yakumo
  2256. -------------------------
  2257.  
  2258. Once, If HP <= 25%:
  2259. Target A with L.1 World Devouring Calamity
  2260.  
  2261. After World Devouring Calamity:
  2262. Target self with L.1 IN Quadruple Barrier
  2263.  
  2264. If turn % 3 = 0 and (ATKDBF or DEFDBF or MNDDBF or MAGDBF or SPDDBF):
  2265. Target Self with L.1 Yukari's Spiriting Away
  2266.  
  2267. If HP <= 25% and 20% chance:
  2268. Target A with L.1 IN Quadruple Barrier
  2269.  
  2270. Once, If HP <= 55%:
  2271. Target A with L.1 Hyperactive Flying Object
  2272.  
  2273. If HP <= 55% and 20% chance:
  2274. Target A with L.1 Hyperactive Flying Object
  2275.  
  2276. Once, If HP <= 77%:
  2277. Target A with L.1 Mesh of Light and Darkness
  2278.  
  2279. If HP <= 77% and 20% chance:
  2280. Target A with L.1 Mesh of Light and Darkness
  2281.  
  2282. Otherwise:
  2283. 40%: Target B with L.1 Black Universe
  2284. 25%: Target A with L.1 Gravity Manipulation
  2285. 20%: Target A with L.1 Piercing Light
  2286. 15%: Target B with L.1 Magic Arrow
  2287. 0%: Target A with L.1 Storm Of Purple Magic
  2288.  
  2289.  
  2290. Black Goddess of Fertility
  2291. -------------------------
  2292.  
  2293. On turn % 2 = 1:
  2294. Target Self with L.20 Regeneration
  2295.  
  2296. On turn % 4 = 0:
  2297. Target A with L.4 Devil's Crimes
  2298.  
  2299. Otherwise:
  2300. 18%: Target A with L.1 Acid Rain
  2301. 16%: Target A with L.1 Swallow
  2302. 12%: Target B with L.1 Heat Gaze
  2303. 12%: Target B with L.1 Black Universe
  2304. 12%: Target A with L.1 Whirlwind
  2305. 12%: Target A with L.1 Terrifying Wave
  2306. 12%: Target A with L.1 Magical Blast
  2307. 6%: Target A with L.1 Deranging Aroma
  2308.  
  2309.  
  2310. Golden Orb of Forward Time
  2311. -------------------------
  2312.  
  2313. If both allies are dead:
  2314. Target Self with L.1 Golden Advent
  2315.  
  2316. Otherwise:
  2317. 15%: Target E with L.25 Healing Power
  2318. 15%: Target B with L. 1 Half Moon Slash
  2319. 14%: Target A with L. 1 Yellow Curse
  2320. 14%: Target A with L. 1 Red Curse
  2321. 14%: Target A with L. 1 Purple Curse
  2322. 14%: Target A with L. 1 Green Curse
  2323. 14%: Target A with L. 1 Blue Curse
  2324.  
  2325.  
  2326. Golden Orb of Reverse Time
  2327. -------------------------
  2328.  
  2329. 20%: Target A with L.1 Flamethrower
  2330. 20%: Target A with L.1 Blizzard
  2331. 20%: Target A with L.1 Razor Wind
  2332. 20%: Target A with L.1 Leaf Cutting Dance
  2333. 20%: Target A with L.1 Magical Blast
  2334.  
  2335.  
  2336. Golden Orb of the Canopy
  2337. -------------------------
  2338.  
  2339. When any enemy has less than 50 buffDEF or buffMND:
  2340. Target self with L.1 Golden Protection
  2341.  
  2342. If GOofForwardTime has less than 100% HP:
  2343. Target GOofForwardTime with L.33 Healing Power
  2344.  
  2345. If GOofReverseTime has less than 100% HP:
  2346. Target GOofReverseTime with L.33 Healing Power
  2347.  
  2348. Otherwise:
  2349. 18%: Target A with L.1 Silent Fog
  2350. 18%: Target A with L.1 Madness Fog
  2351. 16%: Target A with L.1 Venomous Fog
  2352. 16%: Target A with L.1 Paralyzing Fog
  2353. 16%: Target A with L.1 Heavy Fog
  2354. 16%: Target A with L.1 Dazing Fog
  2355.  
  2356.  
  2357. Mirror of the High God
  2358. -------------------------
  2359.  
  2360. Every turn:
  2361. mag = mag + 300
  2362.  
  2363. On turn 1:
  2364. Target A with L.1 World Devouring Calamity
  2365.  
  2366. Once, If HP <= 33%:
  2367. Target A with L.1 World Devouring Calamity
  2368.  
  2369. Once, If HP <= 56%:
  2370. Target A with L.4 Devil's Crimes
  2371.  
  2372. Otherwise:
  2373. 13%: Target A with L.1 Storm Of Cutting Knives
  2374. 13%: Target A with L.1 Red Curse
  2375. 13%: Target A with L.1 Purple Curse
  2376. 13%: Target A with L.1 Magical Light
  2377. 13%: Target A with L.1 Magical Blast
  2378. 13%: Target A with L.1 Blade Arrow
  2379. 8%: Target A with L.1 Flowing Hellfire
  2380. 7%: Target A with L.1 Wild Dance Of Freezing Mist
  2381. 7%: Target A with L.1 Ancient Curse
  2382.  
  2383.  
  2384. Magatama of the High God
  2385. -------------------------
  2386.  
  2387. Each turn:
  2388. spd = spd + 24
  2389.  
  2390. Once, If HP <= 75%:
  2391. Target A with L.1 World Devouring Destruction
  2392.  
  2393. Once, If HP <= 50%:
  2394. Target Self with L.1 Concentrate
  2395.  
  2396. Once, If HP <= 25%:
  2397. Target A with L.1 World Devouring Destruction
  2398.  
  2399. Otherwise:
  2400. 40%: Target A with L.1 Earthquake
  2401. 20%: Target A with L.1 Attack
  2402. 15%: Target A with L.1 Razor Wind
  2403. 15%: Target A with L.1 Half Moon Slash
  2404. 0%: Target A with L.1 Void Flash Claw
  2405. 0%: Target A with L.1 Paralyze
  2406.  
  2407.  
  2408. Ame-no-Murakumo
  2409. -------------------------
  2410.  
  2411. Once, If HP <= 80% and var_mode <= 1:
  2412. Target Self with L.1 Divine Exile
  2413. var_mode = 2
  2414.  
  2415. Once, If HP <= 70% and var_mode = 2:
  2416. Target A with L.1 World Devouring Calamity
  2417.  
  2418. Once, If HP <= 60% and var_mode = 2:
  2419. Target self with L.1 Graces Of Tama No Oya No Mikoto
  2420.  
  2421. Once, If HP <= 30% and var_mode = 2:
  2422. Target Self with L.1 Divine Messenger's Light
  2423. resDBFAtk = 36
  2424. resDBFDef = 12
  2425. resDBFMag = 36
  2426. resDBFMnd = 12
  2427. resDBFSpd = 24
  2428. resDBFAcc = 24
  2429. resDBFEva = 24
  2430. var_mode = 3
  2431.  
  2432. After Divine Messenger's Light:
  2433. Target Self with L.1 World Shaking Military Rule
  2434.  
  2435. After World Shaking Military Rule following Divine Messenger's Light:
  2436. Target A with L.1 Start Of Heavenly Demise
  2437.  
  2438. Once, If HP <= 50% and var_mode = 2:
  2439. Target A with L.4 Devil's Crimes
  2440.  
  2441. Once, If HP <= 40% and var_mode = 2:
  2442. Target A with L.1 World Devouring Destruction
  2443.  
  2444. If var_mode = 3 and sum of buffs and debuffs is negative and 40% chance:
  2445. Target self with L.1 World Shaking Military Rule
  2446.  
  2447. If var_mode <= 1:
  2448. 50%: Target A with L.1 Attack
  2449. 50%: Target A with L.1 Ame-no-Murakumo Slash
  2450.  
  2451. If var_mode = 2:
  2452. 30%: Target A with L.1 Great Tree that Descended From The Sky
  2453. 20%: Target A with L.1 Yakumo's Futsu No Mitama No Tsurugi
  2454. 15%: Target A with L.1 Devil's Crimes
  2455. 10%: Target Self with L.1 World Shaking Military Rule
  2456. 10%: Target A with L.1 Rasetsu Fist
  2457. 10%: Target A with L.1 Ame-no-Murakumo Slash
  2458. 5%: Target B with L.1 Destroy Magic
  2459.  
  2460. If var_mode = 3:
  2461. 14%: Target A with L.1 Ame-no-Murakumo Slash
  2462. 14%: Target A with L.1 Start Of Heavenly Demise
  2463. 14%: Target A with L.1 Yakumo's Futsu No Mitama No Tsurugi
  2464. 14%: Target A with L.1 Great Tree that Descended From The Sky
  2465. 14%: Target D with L.1 True Ame-no-Murakumo's Slash
  2466. 15%: Target A with L.1 Rasetsu Fist
  2467. 15%: Target A with L.1 Yellow Curse
  2468.  
  2469.  
  2470. Malignut Eater's Shadow
  2471. -------------------------
  2472.  
  2473. On turn 1:
  2474. Target A with L.2 Call Underling
  2475.  
  2476. After Call Underling:
  2477. Target A with L.1 Umbrella Spin
  2478.  
  2479. Otherwise:
  2480. 27%: Target A with L.1 Poison
  2481. 27%: Target A with L.1 Nut Throw
  2482. 16%: Target A with L.1 Grass Knot
  2483. 20%: Target A with L.2 Call Underling
  2484.  
  2485.  
  2486. Poison Wasp's Shadow
  2487. -------------------------
  2488.  
  2489. On turn % 2 = 1:
  2490. 60%: Target A with L.20 Ultravenomous Needles
  2491. 40%: Target A with L.20 Venomous Fog
  2492.  
  2493. On turn % 2 = 0:
  2494. Target A with L.1 Storm Of Yellow Drive
  2495.  
  2496.  
  2497. Paralyzing Wasp's Shadow
  2498. -------------------------
  2499.  
  2500. On turn % 2 = 1:
  2501. Target A with L.20 Ultraparalysis Needles
  2502.  
  2503. Otherwise:
  2504. 20%: Target A with L.1 Storm Of Yellow Drive
  2505. 20%: Target A with L.1 Attack
  2506. 30%: Target A with L.1 Paralyzing Fog
  2507. 30%: Target A with L.1 Row Attack
  2508.  
  2509.  
  2510. Kraken's Shadow
  2511. -------------------------
  2512.  
  2513. If var_nHits >= 1 and var_nHits <= 7:
  2514. Target A with L.1 Octangle Attack (1)
  2515. var_nHits = var_nHits + 1
  2516.  
  2517. If var_nHits >= 8:
  2518. Target A with L.1 Octangle Attack (2)
  2519. var_nHits = 0
  2520.  
  2521. Once, If HP <= 66%:
  2522. Target self with L.1 Concentrate
  2523. var_nHits = 1
  2524.  
  2525. Once, If HP <= 30%:
  2526. Target self with L.1 Concentrate
  2527. var_nHits = 1
  2528.  
  2529. Otherwise:
  2530. 55%: Target A with L.1 Daze
  2531. 25%: Target A with L.1 Poison
  2532. 20%: Target A with L.1 Leg Sweep
  2533.  
  2534.  
  2535. Orchid's Shadow
  2536. -------------------------
  2537.  
  2538. On turn % 2 = 1 and turn >= 3:
  2539. Target Self with L.1 Shell Melter
  2540. def = max(10000, def - 10000)
  2541. mnd = max(10000, mnd - 10000)
  2542.  
  2543. Otherwise:
  2544. 20%: Target A with L.1 Dissolvent
  2545. 20%: Target A with L.1 Paralyzing Fog
  2546. 20%: Target B with L.1 Azure Arrow
  2547. 20%: Target B with L.1 Storm Of Blue Rain
  2548. 20%: Target B with L.1 Acid Rain
  2549.  
  2550.  
  2551. Demonic Eye's Shadow
  2552. -------------------------
  2553.  
  2554. On turn 1:
  2555. Target Self with L.2 Tentacle Breed
  2556.  
  2557. On turn % 5 = 0:
  2558. Target Self with L.2 Tentacle Breed
  2559.  
  2560. Otherwise:
  2561. 30%: Target A with L.1 Attack
  2562. 20%: Target A with L.1 Swallow
  2563. 20%: Target A with L.1 Whirlwind
  2564. 15%: Target A with L.1 Leaf Cutting Dance
  2565. 15%: Target A with L.1 Leg Sweep
  2566.  
  2567.  
  2568. Knowledge's Shadow
  2569. -------------------------
  2570.  
  2571. On turn % 2 = 1:
  2572. Target Self with L.120 MAG UP
  2573.  
  2574. On turn % 2 = 0:
  2575. Target A with L.1 Ether Flare
  2576.  
  2577.  
  2578. Azure Giant's Shadow
  2579. -------------------------
  2580.  
  2581. On turn 1:
  2582. Target Self with L.10 Azure Shining Body
  2583.  
  2584. Once, If HP <= 50%:
  2585. Target Self with L.10 Azure Shining Body
  2586.  
  2587. Once, After HP <= 50% Azure Shining Body:
  2588. Target A with L.1 Azure Shining Light
  2589.  
  2590. Otherwise:
  2591. 30%: Target A with L.1 Attack
  2592. 30%: Target D with L.1 Rasetsu Fist
  2593. 20%: Target A with L.1 Great Roar
  2594. 20%: Target A with L.1 Earth Shaker
  2595.  
  2596.  
  2597. Black Goddess's Shadow
  2598. -------------------------
  2599.  
  2600. On turn % 2 = 1:
  2601. Target Self with L.40 Regeneration
  2602.  
  2603. On turn % 4 = 0:
  2604. Target A with L.4 Devil's Crimes
  2605.  
  2606. Otherwise:
  2607. 18%: Target A with L.1 Acid Rain
  2608. 16%: Target A with L.1 Swallow
  2609. 12%: Target B with L.1 Heat Gaze
  2610. 12%: Target B with L.1 Black Universe
  2611. 12%: Target A with L.1 Whirlwind
  2612. 12%: Target A with L.1 Terrifying Wave
  2613. 12%: Target A with L.1 Magical Blast
  2614. 6%: Target A with L.1 Deranging Aroma
  2615.  
  2616.  
  2617. Dark Orb of Forward Time
  2618. -------------------------
  2619.  
  2620. When alone:
  2621. Target Self with L.2 GoldenAdvent
  2622.  
  2623. Otherwise:
  2624. 15%: Target E with L.25 Healing Power
  2625. 15%: Target B with L. 1 Half Moon Slash
  2626. 14%: Target A with L. 1 Yellow Curse
  2627. 14%: Target A with L. 1 Red Curse
  2628. 14%: Target A with L. 1 Purple Curse
  2629. 14%: Target A with L. 1 Green Curse
  2630. 14%: Target A with L. 1 Blue Curse
  2631.  
  2632.  
  2633. Dark Orb of Reverse Time
  2634. -------------------------
  2635.  
  2636. When alone:
  2637. Target A with L.1 Detonation
  2638.  
  2639. Otherwise:
  2640. 20%: Target A with L.1 Flamethrower
  2641. 20%: Target A with L.1 Blizzard
  2642. 20%: Target A with L.1 Razor Wind
  2643. 20%: Target A with L.1 Leaf Cutting Dance
  2644. 20%: Target A with L.1 Magical Blast
  2645.  
  2646.  
  2647. Dark Orb of the Canopy
  2648. -------------------------
  2649.  
  2650. When alone:
  2651. Target A with L.1 Detonation
  2652.  
  2653. When any enemy has less than 50 buffDEF or buffMND and 50% chance:
  2654. Target Self with L.1 Golden Protection
  2655.  
  2656. If DOofForwardTime has less than 66% HP and 40% chance:
  2657. Target DOofForwardTime with L.20 Healing Power
  2658.  
  2659. If DOofReverseTime has less than 66% HP and 40% chance:
  2660. Target DOofReverseTime with L.20 Healing Power
  2661.  
  2662. Otherwise:
  2663. 18%: Target A with L.1 Silent Fog
  2664. 18%: Target A with L.1 Madness Fog
  2665. 16%: Target A with L.1 Venomous Fog
  2666. 16%: Target A with L.1 Paralyzing Fog
  2667. 16%: Target A with L.1 Heavy Fog
  2668. 16%: Target A with L.1 Dazing Fog
  2669.  
  2670.  
  2671. Mirror of Darkness
  2672. -------------------------
  2673.  
  2674. Every turn:
  2675. mag = mag + 600
  2676.  
  2677. On turn 1:
  2678. Target A with L.1 World Devouring Calamity
  2679.  
  2680. Once, If HP <= 33%:
  2681. Target A with L.1 World Devouring Calamity
  2682.  
  2683. Once, If HP <= 56%:
  2684. Target A with L.4 Devil's Crimes
  2685.  
  2686. Otherwise:
  2687. 13%: Target A with L.1 Storm Of Cutting Knives
  2688. 13%: Target A with L.1 Red Curse
  2689. 13%: Target A with L.1 Purple Curse
  2690. 13%: Target A with L.1 Magical Light
  2691. 13%: Target A with L.1 Magical Blast
  2692. 13%: Target A with L.1 Blade Arrow
  2693. 8%: Target A with L.1 Flowing Hellfire
  2694. 7%: Target A with L.1 Wild Dance Of Freezing Mist
  2695. 7%: Target A with L.1 Ancient Curse
  2696.  
  2697.  
  2698. Magatama of Darkness
  2699. Bug: Magatama of Darkness will never use Void Flash Claw nor Paralyze.
  2700. -------------------------
  2701.  
  2702. If turn % 2 = 1:
  2703. Target self with L.5 Regeneration
  2704. spd = spd + 64
  2705.  
  2706. Once, If HP <= 75%:
  2707. Target A with L.1 World Devouring Destruction
  2708.  
  2709. Once, If HP <= 50%:
  2710. Target Self with L.1 Concentrate
  2711.  
  2712. Once, If HP <= 25%:
  2713. Target A with L.1 World Devouring Destruction
  2714.  
  2715. Otherwise:
  2716. 40%: Target A with L.1 Earthquake
  2717. 25%: Target A with L.1 Half Moon Slash
  2718. 20%: Target A with L.1 Attack
  2719. 15%: Target A with L.1 Razor Wind
  2720. 0%: Target A with L.1 Void Flash Claw
  2721. 0%: Target A with L.1 Paralyze
  2722.  
  2723.  
  2724. Shredding Amnisieri
  2725. Bug: Shredding Amnisieri will never use Red Curse nor Wild Dance of Freezing Mist. It appears Red
  2726. Curse was meant to have a 13% chance of triggering (With Greatsword of Calamity's being 27%) but
  2727. the sequence of instructions prevents Red Curse from ever being evaluated.
  2728. -------------------------
  2729.  
  2730. Each turn:
  2731. spd = spd + 24
  2732.  
  2733. If turn % 2 = 1:
  2734. Target self with L.4 Regeneration
  2735.  
  2736. Once, If HP <= 60%:
  2737. Target A with L.1 Azure Shining Light
  2738.  
  2739. Once, If HP <= 30%:
  2740. Target A with L.1 Azure Shining Light
  2741.  
  2742. If HP >= 50%:
  2743. 66%: Target A with L.1 Scythe Of Calamity
  2744. 24%: Target A with L.1 Wild Dance Of Freezing Mist
  2745. 10%: Target A with L.1 Void Flash Claw
  2746.  
  2747. Otherwise:
  2748. 40%: Target A with L.1 Greatsword Of Calamity
  2749. 20%: Target A with L.1 Rasetsu Fist
  2750. 14%: Target A with L.1 Half Moon Slash
  2751. 13%: Target A with L.1 Void Flash Claw
  2752. 13%: Target A with L.1 Instant Death Attack
  2753. 0%: Target A with L.1 Wild Dance Of Freezing Mist
  2754. 0%: Target A with L.1 Red Curse
  2755.  
  2756.  
  2757. Aria-Singing Toruastory
  2758. -------------------------
  2759.  
  2760. On turn % 2 = 1 and turn < 22:
  2761. Target Self with L.(8 - (turn / 3)) Regeneration
  2762. def = max(20000, (def - 1200))
  2763. mnd = max(40000, (mnd - 2400))
  2764.  
  2765. On turn % 2 = 1:
  2766. Target Self with L.1 Regeneration
  2767. def = max(20000, (def - 1200))
  2768. mnd = max(40000, (mnd - 2400))
  2769.  
  2770. On turn % 6 = 0:
  2771. Target A with L.1 Perpetual Insanity
  2772.  
  2773. Otherwise:
  2774. 20%: Target A with L.1 Calming Scent
  2775. 20%: Target B with L.1 Magical Light
  2776. 20%: Target A with L.1 Magical Blast
  2777. 8%: Target B with L.1 Black Universe
  2778. 8%: Target A with L.1 Red Curse
  2779. 8%: Target A with L.1 Blue Curse
  2780. 8%: Target A with L.1 Purple Curse
  2781. 8%: Target A with L.1 Green Curse
  2782.  
  2783.  
  2784. Staring Igmaruji
  2785. -------------------------
  2786.  
  2787. Once, If HP <= 80%:
  2788. Target B with L.1 Staring Eye From The Abyss
  2789.  
  2790. Once, If HP <= 60%:
  2791. Target B with L.1 Staring Eye From The Abyss
  2792.  
  2793. Once, If HP <= 40%:
  2794. Target B with L.1 Staring Eye From The Abyss
  2795.  
  2796. Once, If HP <= 20%:
  2797. Target B with L.1 Staring Eye From The Abyss
  2798.  
  2799. Once, If HP <= 50%:
  2800. 50%: Target B with L.1 Great Catastrophe
  2801. 50%: Target B with L.1 Great Destruction
  2802.  
  2803. Once, If HP <= 30%:
  2804. 50%: Target B with L.1 Great Catastrophe
  2805. 50%: Target B with L.1 Great Destruction
  2806.  
  2807. Otherwise:
  2808. 10%: Target A with L.1 Storm Of Dark Flow
  2809. 10%: Target A with L.1 Flux Of Yomotsu Hirasaka
  2810. 8%: Target B with L.1 Staring Eye From The Abyss
  2811. 8%: Target B with L.1 Dark Arrow
  2812. 8%: Target A with L.1 Time Space Warp
  2813. 8%: Target A with L.1 Swallow
  2814. 8%: Target A with L.1 Silent Fog
  2815. 8%: Target A with L.1 Shadowstep
  2816. 8%: Target A with L.1 Scythe Of Calamity
  2817. 8%: Target A with L.1 Perpetual Insanity
  2818. 8%: Target A with L.1 Heat Gaze
  2819. 8%: Target A with L.1 Destroy Magic
  2820.  
  2821.  
  2822. The Great C
  2823. -------------------------
  2824.  
  2825. On turn 1:
  2826. def = 48000
  2827. mnd = 48000
  2828.  
  2829. If less than 5 enemies:
  2830. Target Self with L.1 C Filling The World
  2831.  
  2832. Otherwise:
  2833. 25%: Target A with L.1 Magical Light
  2834. 25%: Target A with L.1 Dark Arrow
  2835. 10%: Target A with L.1 Magic Drain
  2836. 8%: Target A with L.1 Shadowstep
  2837. 8%: Target A with L.1 Magical Blast
  2838. 8%: Target A with L.1 Earth Shaker
  2839. 8%: Target A with L.1 C Falling From The Sky
  2840. 8%: Target A with L.1 Black Universe
  2841.  
  2842.  
  2843. The Second Sun
  2844. -------------------------
  2845.  
  2846. If 40% chance:
  2847. Target A with L.1 Time Space Warp
  2848. Turn = turn - 1
  2849.  
  2850. If turn % 3 = 0 and 66% chance:
  2851. Target Self with L.1 GravitonWall
  2852.  
  2853. If turn % 9 = 0:
  2854. Target Self with L.1 GravityAccel
  2855.  
  2856. Otherwise:
  2857. 37%: Target B with L.1 Magical Light
  2858. 8%: Target A with L.1 Ancient Curse
  2859. 7%: Target A with L.1 Void Flash Claw
  2860. 7%: Target A with L.1 Sandstorm
  2861. 7%: Target A with L.1 Razor Wind
  2862. 7%: Target A with L.1 Piercing Light
  2863. 7%: Target A with L.1 Perpetual Insanity
  2864. 7%: Target A with L.1 Golden Protection
  2865. 7%: Target A with L.1 1000 Needles
  2866. 6%: Target A with L.1 Space Compression
  2867.  
  2868.  
  2869. Desire-Eating Demon
  2870. -------------------------
  2871.  
  2872. If turn % 2 = 0 and turn >= 4:
  2873. Target A with L.1 Empty Mouth that Swallows Sinners
  2874.  
  2875. Otherwise:
  2876. 16%: Target A with L.12 Venomous Fog
  2877. 12%: Target A with L. 4 Silent Fog
  2878. 12%: Target A with L. 1 Yellow Curse
  2879. 12%: Target A with L. 1 Terrifying Wave
  2880. 12%: Target A with L. 1 Red Curse
  2881. 12%: Target A with L. 1 Purple Curse
  2882. 12%: Target A with L. 1 Gravity Manipulation
  2883. 12%: Target A with L. 1 Earth Shaker
  2884.  
  2885.  
  2886. Guardian of the Crystals
  2887. Bug: The var_00E0 >= 2 condition will never be true.
  2888. -------------------------
  2889.  
  2890. Once, On turn 1:
  2891. Target Self with L.1 Summon Elemental Crystals
  2892.  
  2893. If turn % 2 = 0 and not alone:
  2894. Target self with L.((nEnemies - 1) * 3) Regeneration
  2895.  
  2896. If turn % 2 = 0 and alone:
  2897. spd = 900
  2898. Target Self with L.1 World Controlling Stone's Power
  2899.  
  2900. If var_00E0 >= 2:
  2901. 23%: Target B with L.1 Magic Arrow
  2902. 23%: Target B with L.1 Magical Light
  2903. 23%: Target B with L.1 Magic Drain
  2904. 21%: Target A with L.1 Magical Blast
  2905. 10%: Target A with L.1 Void Flash Claw
  2906.  
  2907. If sum of all buffs >= 150:
  2908. Target A with L.1 Dark Star
  2909.  
  2910. If sum of all buffs <= -75:
  2911. Target A with L.1 Dark Star
  2912.  
  2913. Otherwise:
  2914. 11%: Target B with L.1 Magic Arrow
  2915. 11%: Target B with L.1 Magical Light
  2916. 11%: Target B with L.1 Magic Drain
  2917. 11%: Target A with L.1 Magical Blast
  2918. 11%: Target A with L.1 Void Flash Claw
  2919. 11%: Target A with L.1 Instant Death Attack
  2920. 11%: Target A with L.1 Dividing Slash
  2921. 11%: Target A with L.1 Ancient Curse
  2922. 12%: Target A with L.1 Storm Of Dark Flow
  2923.  
  2924.  
  2925. Dreadful Fire Crystal
  2926. -------------------------
  2927.  
  2928. 40%: Target D with L.1 Daze
  2929. 35%: Target D with L.1 Crimson Lotus Fang
  2930. 15%: Target A with L.1 Red Curse
  2931. 10%: Target A with L.1 Lava Flow
  2932.  
  2933.  
  2934. Dreadful Water Crystal
  2935. -------------------------
  2936.  
  2937. 40%: Target B with L.1 Azure Arrow
  2938. 25%: Target A with L.1 Shredder
  2939. 20%: Target A with L.1 Blue Curse
  2940. 15%: Target A with L.1 Phantom's Coldness
  2941.  
  2942.  
  2943. Dreadful Wind Crystal
  2944. -------------------------
  2945.  
  2946. 30%: Target B with L.1 Thunder Arrow
  2947. 25%: Target A with L.1 Sandstorm
  2948. 20%: Target A with L.1 Calming Scent
  2949. 15%: Target A with L.1 Yellow Curse
  2950. 10%: Target A with L.1 Razor Wind
  2951.  
  2952.  
  2953. Dreadful Earth Crystal
  2954. -------------------------
  2955.  
  2956. 30%: Target E with L.33 Healing Power
  2957. 20%: Target A with L. 1 Poison
  2958. 20%: Target A with L. 1 Dissolvent
  2959. 15%: Target A with L. 1 Green Curse
  2960. 10%: Target A with L. 1 Leaf Cutting Dance
  2961. 5%: Target A with L. 1 Ultravenomous Needles
  2962.  
  2963.  
  2964. Ame-no-Murakumo
  2965. -------------------------
  2966.  
  2967. Target Self with L.1 Advent Of The Divine Child Of God
  2968.  
  2969.  
  2970. Avatar - Ame-no-Murakumo
  2971. -------------------------
  2972.  
  2973. When Alone and var_usedPLH = 0:
  2974. Target A with L.1 Protecting Light From The Heavens
  2975. var_usedPLH = 1
  2976. turn = turn - 1
  2977.  
  2978. If turn % 3 = 0 and (turn % 12) / 3 = 1:
  2979. Target D with L.1 Godly Scarlet Gold Slash
  2980.  
  2981. If turn % 3 = 0 and (turn % 12) / 3 = 2:
  2982. Target D with L.1 Yakumo's Futsu No Mitama No Tsurugi
  2983.  
  2984. If turn % 3 = 0 and (turn % 12) / 3 = 3:
  2985. Target A with L.1 Scythe Of Calamity
  2986.  
  2987. If turn % 3 = 0 and (turn % 12) / 3 = 0:
  2988. Target Self with L.1 Concentrate
  2989.  
  2990. After Concentrate:
  2991. Target Self with L.1 Ame-no-Murakumo's Wild Dance
  2992.  
  2993. Otherwise:
  2994. var_usedPLH = 0
  2995. 24%: Target A with L.1 Ame-no-Murakumo Slash
  2996. 18%: Target A with L.1 Paralyze
  2997. 18%: Target A with L.1 Daze
  2998. 18%: Target A with L.1 Attack
  2999. 8%: Target A with L.1 Void Flash Claw
  3000. 7%: Target A with L.1 Severing Flash
  3001. 7%: Target A with L.1 Leg Sweep
  3002.  
  3003.  
  3004. Ame-no-Murakumo's Right Arm
  3005. -------------------------
  3006.  
  3007. If Ame-no-Murakumo is dead:
  3008. Target Self with L.1 Second Coming Of The Divine Sword
  3009.  
  3010. After Concentrate:
  3011. 25%: Target A with L.1 Great Tree that Descended From The Sky
  3012. 25%: Target A with L.1 Flowing Hellfire
  3013. 25%: Target A with L.1 Wild Dance Of Freezing Mist
  3014. 25%: Target A with L.1 Shining Arrows From The Sky
  3015.  
  3016. If random(800) is less than sum of all buffs on all characters:
  3017. Target A with L.1 Shredder
  3018.  
  3019. If random(400) is less than (30 * nAilmentsOnEnemies - sum(allEnemyDebuffs)):
  3020. Target Self with L.1 Oracle Of Eternal Heaven and Earth
  3021.  
  3022. If 10% chance:
  3023. Target Self with L.1 Concentrate
  3024.  
  3025. Otherwise:
  3026. 10%: Target A with L.1 Spark Storm
  3027. 10%: Target A with L.1 Storm Of Blue Rain
  3028. 10%: Target A with L.1 Storm Of Yellow Drive
  3029. 10%: Target A with L.1 Storm Of Wood Leaves (2)
  3030. 10%: Target A with L.1 Storm Of Purple Magic
  3031. 10%: Target A with L.1 Storm Of Light Particle
  3032. 10%: Target A with L.1 Storm Of Dark Flow
  3033. 10%: Target A with L.1 Storm Of Cutting Knives
  3034. 10%: Target A with L.1 Space Compression
  3035. 10%: Target Self with L.1 GravitonWall
  3036.  
  3037.  
  3038. Ame-no-Murakumo's Left Arm
  3039. -------------------------
  3040.  
  3041. If Ame-no-Murakumo is dead:
  3042. Target Self with L.1 Second Coming Of The Divine Sword
  3043.  
  3044. Otherwise:
  3045. 20%: Target Self with L.20 Oracle Of Sacred Mirror Dedication
  3046. 20%: Target Self with L. 1 Golden Protection
  3047. 20%: Target B with L. 1 Destroy Magic
  3048. 20%: Target A with L. 4 Azure Shining Light
  3049. 10%: Target B with L. 1 Black Universe
  3050. 10%: Target A with L. 1 Time Space Warp
RAW Paste Data