Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Note: All enemies (aside from the Muckdile) have a failsafe behavior in which they are forced to use a random attack with standard targeting if somehow none of the routines in the AI get followed. This is to prevent enemies from skipping turns like they could in the first Etrian Odyssey game due to errors in the AI.
- Also, with anything regarding turn counts, be aware that it does not match up with the in-game turn counter, as the one the enemies check starts counting up from 0 instead of 1.
- Woodmai
- =======
- If any party member does not have a defense buff: [BUG: Was supposed to check self for the defense buff.]
- 25% chance to cast Shell. (Targets self.)
- 75% chance to use a regular attack. (Standard targeting.)
- Else:
- 25% chance to use a regular attack. (Standard targeting.)
- 75% chance to use a regular attack. (Standard targeting.)
- Hedgehog
- ========
- If HP is below 50%:
- 50% chance to cast Needle. (Standard targeting.)
- 50% chance to use a regular attack. (Standard targeting.)
- Else, use a regular attack. (50% chance to use standard targeting. Else, targets the party member with the highest HP.)
- Mole
- ====
- If HP is below 50%:
- 50% chance to cast Claws. (Standard targeting.)
- 50% chance to use a regular attack. (Standard targeting.)
- Else:
- 10% chance to cast Claws. (50% chance to use standard targeting. Else, targets the party member with the highest HP.)
- 90% chance to use a regular attack. (50% chance to use standard targeting. Else, targets the party member with the highest HP.)
- Crawler
- =======
- If at least 1 party member has a head bind, arm bind, or a leg bind, use a regular attack. (Targets party members with binds, prioritizing in this order: head, arms, legs.)
- Else:
- 25% chance to cast Web. (Standard targeting.)
- 75% chance to use a regular attack. (Standard targeting.)
- Venomfly
- ========
- If every single party member is poisoned, defend. (Standard targeting.)
- If HP is below 99%:
- 85% chance to cast Poison. (Targets party members that aren't poisoned.)
- 15% chance to use a regular attack. (Standard targeting.)
- Else:
- 50% chance to cast Poison. (Targets party members that aren't poisoned.)
- 50% chance to use a regular attack. (Standard targeting.)
- Cactoid
- =======
- If HP is below 50%:
- 80% chance to cast Needles. (Standard targeting.)
- 20% chance to use a regular attack. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Ladybug
- =======
- If the party was blindsided, and flag 1 is not active, activate flag 1, then:
- If there is only 1 enemy in the battle:
- 50% chance to cast Blink. (Standard targeting.)
- 50% chance to summon 1 Raflesia.
- Else:
- 50% chance to cast Blink. (Standard targeting.)
- 50% chance to use a regular attack. (Standard targeting.)
- If there is only 1 enemy in the battle:
- If at least 1 enemy has an agility buff, summon 1 Raflesia.
- Else:
- 25% chance to cast Blink. (Standard targeting.)
- If Blink does not get cast, 50% chance to use a regular attack. (Standard targeting.)
- Else, summon 1 Raflesia.
- If at least 1 enemy has an agility buff, cast Blink. (Standard targeting.)
- Else:
- 25% chance to cast Blink. (Standard targeting.)
- 75% chance to use a regular attack. (Standard targeting.)
- Roller
- ======
- If HP is below 50%:
- 75% chance to cast Rolling. (Standard targeting.)
- 25% chance to use a regular attack. (Standard targeting.)
- Else:
- 25% chance to cast Rolling. (Standard targeting.)
- 75% chance to use a regular attack. (Standard targeting.)
- Redhorn
- =======
- If flag 0 is not active, cast Charge. (Targets self.) Activate flag 0.
- Else, cast Horns. (Targets a random party member.) Deactivate flag 0.
- Kingmai
- =======
- If at least 1 party member has a head bind, arm bind, or a leg bind:
- 25% chance to cast Mucus. (Targets party members that don't have binds.)
- 75% chance to use a regular attack. (Targets party members with binds, prioritizing in this order: head, arms, legs.)
- Else:
- 25% chance to cast Mucus. (Standard targeting.)
- 75% chance to use a regular attack. (Standard targeting.)
- Evil Eye
- ========
- If HP is below 50%:
- If at least 1 party member is paralyzed:
- 50% chance to use a regular attack. (Targets party members that are paralyzed.)
- 50% chance to use Tackle. (Targets party members that are paralyzed.)
- Else:
- 25% chance to use a regular attack. (Targets party members that are paralyzed.)
- If a regular attack did not get used, 50% chance to use Glare. (Targets party members that aren't paralyzed.)
- Else, use Tackle. (Targets party members that are paralyzed.)
- Else:
- 50% chance to use a regular attack. (Standard targeting.)
- 50% chance to use Tackle. (Standard targeting.)
- Cube Gel
- ========
- If HP is below 99%:
- 80% chance to cast Acid. (Standard targeting.)
- 20% chance to use a regular attack. (Standard targeting.)
- Else:
- 50% chance to cast Acid. (Standard targeting.)
- 50% chance to use a regular attack. (Standard targeting.)
- Hypnowl
- =======
- If at least 1 party member is asleep, use a regular attack. (Targets party members that are asleep.)
- Else:
- 50% chance to cast Powder. (Targets party members that aren't asleep.)
- 50% chance to use a regular attack. (Standard targeting.)
- Raflesia
- ========
- If HP is below 80%:
- 30% chance to cast Pollen. (Standard targeting.)
- If Pollen does not get cast, 70% chance to cast Freeze. (Targets the party member with the lowest HP.)
- Else, use a regular attack. (Standard targeting.)
- Else:
- 10% chance to cast Pollen. (Standard targeting.)
- If Pollen does not get cast, 10% chance to cast Freeze. (Targets the party member with the lowest HP.)
- Else, use a regular attack. (Standard targeting.)
- Bigcap
- ======
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 69% chance to cast Spores. (Standard targeting.)
- 31% chance to cast Mold. (Standard targeting.)
- If HP is below 30%:
- 19% chance to cast Mold. (Targets party members that aren't poisoned.)
- If Mold does not get cast, 39% chance to cast Spores. (Targets party members that aren't paralyzed.)
- Else, use a regular attack. (Standard targeting.)
- Else:
- 39% chance to cast Mold. (Targets party members that aren't poisoned.)
- If Mold does not get cast, 79% chance to cast Spores. (Targets party members that aren't paralyzed.)
- Else, use a regular attack. (Standard targeting.)
- Frilzard
- ========
- If HP is below 99%, cast Clawing. (Targets the party member with the lowest HP.)
- Else:
- 49% chance to cast Clawing. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Moa
- ===
- If the party is blindsided, and flag 1 is not active, cast Rush. (Standard targeting.) Activate flag 1.
- If flag 0 is active, clear flag 0, then: [NOTE: flag 0 can't ever be active in this fight, causing this block of code to go completely unused.]
- 34% chance to use a regular attack. (Targets the front row.)
- If a regular attack did not get used, 69% chance to use a regular attack. (Targets the back row.)
- Else, cast Rush. (Standard targeting.)
- If HP is below 60%:
- 69% chance to cast Rush. (Standard targeting.)
- 31% chance to use a regular attack. (Standard targeting.)
- Else:
- 39% chance to cast Rush. (Standard targeting.)
- 61% chance to use a regular attack. (Standard targeting.)
- Mystue
- ======
- If the party is blindsided, and flag 1 is not active, cast Breath. (Standard targeting.) Activate flag 1.
- If HP is below 50%:
- 75% chance to cast Breath. (Targets party members that aren't petrified.)
- 25% chance to use a regular attack. (Targets the back row.)
- Else, use a regular attack. (Targets the back row.)
- Gigaboar
- ========
- If HP is below 70%:
- 59% chance to cast Bullrush. (Standard targeting.)
- 41% chance to use a regular attack. (Standard targeting.)
- Else:
- 39% chance to cast Bullrush. (Standard targeting.)
- 71% chance to use a regular attack. (Standard targeting.)
- Fangleaf
- ========
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 49% chance to cast Binding. (Standard targeting.)
- 51% chance to cast Thorn. (Standard targeting.)
- If HP is below 30%:
- 14% chance to cast Binding. (Targets party members that aren't petrified.)
- If Binding wasn't cast, 29% chance to cast Thorn. (Target part members that aren't blind.)
- Else, use a regular attack. (Standard targeting.)
- If HP is below 60%:
- 34% chance to cast Binding. (Targets party members that aren't petrified.)
- If Binding wasn't cast, 69% chance to cast Thorn. (Target part members that aren't blind.)
- Else, use a regular attack. (Standard targeting.)
- Else:
- 49% chance to cast Binding. (Targets party members that aren't petrified.)
- 51% chance to cast Thorn. (Target part members that aren't blind.)
- Garauchi
- ========
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 69% chance to cast Corrode. (Standard targeting.)
- 31% chance to cast Taillash. (Standard targeting.)
- If HP is below 70%:
- If no one has a defense debuff:
- 29% chance to cast Corrode. (Standard targeting.)
- If Corrode does not get cast, 59% chance to cast Taillash. (Targets party members that aren't dead.)
- Else, use a regular attack. (Standard targeting.)
- If at least 1 party member has a defense debuff:
- 29% chance to cast Taillash. (Targets party members that aren't dead.)
- 71% chance to use a regular attack. (Standard targeting.)
- If no one has a defense debuff:
- 49% chance to cast Corrode. (Standard targeting.)
- 51% chance to cast Taillash. (Targets party members that aren't dead.)
- If at least 1 party member has a defense debuff:
- 69% chance to cast Taillash. (Targets party members that aren't dead.)
- 31% chance to use a regular attack. (Standard targeting.)
- Firezard
- ========
- If the party is blindsided, and flag 1 is not active, cast Fumes. (Standard targeting.) Activate flag 1.
- If HP is below 70%:
- 34% chance to cast Breath. (Standard targeting.)
- If Breath does not get cast, 79% chance to cast Fumes. (Standard targeting.)
- Else, use a regular attack.
- Else:
- 44% chance to cast Breath. (Standard targeting.)
- If Breath does not get cast, 59% chance to cast Fumes. (Standard targeting.)
- Else, use a regular attack.
- Tortmail
- ========
- If the turn count is equal to or less than 1, and flag 1 is not active, cast Armor Up. (Targets self.) Activate flag 1.
- If HP is below 60%:
- If no enemy has a defense buff:
- 19% chance to cast Armor Up. (Targets self.)
- 81% chance to use a regular attack. (Standard targeting.)
- If no enemy has a defense buff, use a regular attack. (Standard targeting.)
- If no enemy has a defense buff:
- 69% chance to cast Armor Up. (Targets self.)
- 31% chance to use a regular attack. (Standard targeting.)
- If no enemy has a defense buff, use a regular attack. (Standard targeting.)
- Actaeon
- =======
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 69% chance to cast Neigh. (Standard targeting.)
- If Neigh does not get cast, 89% chance to cast Deathorn. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- If HP is below 30%:
- 9% chance to cast Neigh. (Targets party members that aren't afraid.)
- If Neigh does not get cast, 79% chance to cast Deathorn. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- If HP is below 60%:
- 29% chance to cast Neigh. (Targets party members that aren't afraid.)
- If Neigh does not get cast, 59% chance to cast Deathorn. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Else:
- 39% chance to cast Neigh. (Targets party members that aren't afraid.)
- If Neigh does not get cast, 59% chance to cast Deathorn. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Gryphon
- =======
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 59% chance to cast Claws. (Standard targeting.)
- 41% chance to cast Fangs. (Standard targeting.)
- If HP is below 30%:
- 19% chance to cast Fangs. (Standard targeting.)
- If Fangs does not get cast, 61% chance to cast Claws. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- If HP is below 60%:
- 49% chance to cast Fangs. (Standard targeting.)
- If Fangs does not get cast, 59% chance to cast Claws. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Else:
- 29% chance to cast Fangs. (Standard targeting.)
- If Fangs does not get cast, 39% chance to cast Claws. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Red Gel
- =======
- If HP is below 50%:
- 75% chance to cast Acid. (Standard targeting.)
- 25% chance to use a regular attack. (Standard targeting.)
- Else:
- 25% chance to cast Acid. (Standard targeting.)
- 75% chance to use a regular attack. (Standard targeting.)
- Addleowl
- ========
- If the party is blindsided, and flag 1 is not active, cast Powder. (Standard targeting.) Activate flag 1.
- If HP is below 99%, cast Powder. (Targets party members that aren't confused.)
- Else, use a regular attack. (Standard targeting.)
- Poseidon
- ========
- If flag 1 is not active, cast Charge. (Targets self.) Activate flags 0 and 1.
- If turn count is equal to or less than 1, and flag 1 is not active, cast Charge. (Targets self.) Activate flag 1.
- If flag 0 is active, cast Scurry. (Standard targeting.) Deactivate flag 0.
- If HP is less than 25%:
- 50% chance to cast Charge. (Targets self.) Activate flag 0.
- 50% chance to use a regular attack. (Standard targeting.)
- Else:
- 75% chance to cast Charge. (Targets self.) Activate flag 0.
- 25% chance to use a regular attack. (Standard targeting.)
- Snowsoul
- ========
- If turn count is greater than 10, summon 1 Helldra.
- If the battle can load 2 more Snowsoul sprites:
- 10% chance to summon 2 Snowsouls.
- If the Snowsouls were not summoned, 55% chance to cast Icebreath. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- If battle can load 1 more Snowsoul sprite:
- 15% chance to summon 1 Snowsoul.
- If the Snowsoul was not summoned, 70% chance to cast Icebreath. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Else, cast Icebreath. (Standard targeting.)
- Fishman
- =======
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 69% chance to cast Jaws. (Standard targeting.)
- 31% chance to use a regular attack. (Standard targeting.)
- If HP is below 60%:
- 59% chance to cast Jaws. (Standard targeting.)
- 41% chance to use a regular attack. (Standard targeting.)
- Else:
- 39% chance to cast Jaws. (Standard targeting.)
- 61% chance to use a regular attack. (Standard targeting.)
- Moriyana
- ========
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 79% chance to cast Bewilder. (Standard targeting.)
- 21% chance to use a regular attack. (Standard targeting.)
- If HP is below 25%:
- 9% chance to cast Bewilder. (Targets party members that aren't confused.)
- 91% chance to use a regular attack. (Standard targeting.)
- If HP is below 50%:
- 39% chance to cast Bewilder. (Targets party members that aren't confused.)
- 61% chance to use a regular attack. (Standard targeting.)
- Else:
- 69% chance to cast Bewilder. (Targets party members that aren't confused.)
- 31% chance to use a regular attack. (Standard targeting.)
- Sleipnir
- ========
- If the party is blindsided, and flag 1 is not active, cast Run Amok. (Standard targeting.) Activate flag 1.
- If HP is below 25%:
- 69% chance to cast Run Amok. (Standard targeting.)
- 31% chance to use a regular attack. (Standard targeting.)
- If HP is below 50%:
- 39% chance to cast Run Amok. (Standard targeting.)
- 61% chance to use a regular attack. (Standard targeting.)
- Else, use a regular attack.
- Snowzard
- ========
- If the party is blindsided, and flag 1 is not active, cast Freezing. (Standard targeting.) Activate flag 1.
- If HP is below 60%:
- 34% chance to cast Icebreath. (Standard targeting.)
- If Breath does not get cast, 79% chance to cast Freezing. (Standard targeting.)
- Else, use a regular attack.
- Else:
- 49% chance to cast Icebreath. (Standard targeting.)
- If Breath does not get cast, 49% chance to cast Freezing. (Standard targeting.)
- Else, use a regular attack.
- Clawbug
- =======
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 79% chance to cast Whirr. (Standard targeting.)
- 21% chance to use a regular attack. (Standard targeting.)
- If HP is below 25%:
- If no party member has a head bind:
- 19% chance to cast Whirr. (Standard targeting.)
- 81% chance to use a regular attack. (Standard targeting.)
- If at least 1 party member has a head bind, use a regular attack. (Standard targeting.)
- If HP is below 50%:
- If no party member has a head bind:
- 49% chance to cast Whirr. (Standard targeting.)
- 51% chance to use a regular attack. (Standard targeting.)
- If at least 1 party member has a head bind:
- 29% chance to cast Whirr. (Standard targeting.)
- 71% chance to use a regular attack. (Standard targeting.)
- Else:
- If no party member has a head bind:
- 79% chance to cast Whirr. (Standard targeting.)
- 21% chance to use a regular attack. (Standard targeting.)
- If at least 1 party member has a head bind:
- 49% chance to cast Whirr. (Standard targeting.)
- 51% chance to use a regular attack. (Standard targeting.)
- Hugecrab
- ========
- If the party is blindsided, and flag 1 is not active, cast Shell. (Targets self.) Activate flag 1.
- If HP is below 50%:
- 59% chance to cast Counter. (Targets self.)
- 41% chance to use a regular attack. (Standard targeting.)
- Else, use a regular attack.
- Wolf
- ====
- If flag 1 is not active, cast Evil Cry. (Targets self.) Activate flags 0 and 1.
- If the party is blindsided, and flag 1 is not active, cast Evil Cry. (Targets self.) Activate flags 0 and 1.
- If flag 0 is active, deactivate flag 0, then:
- 89% chance to cast Fang. (Standard targeting.)
- 11% chance to use a regular attack. (Standard targeting.)
- If HP is below 60%:
- If no enemy has an attack buff:
- 19% chance to cast Evil Cry. (Targets self.)
- If Evil Cry does not get cast, 79% chance to cast Fang. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- If at least 1 enemy has an attack buff:
- 49% chance to cast Fang. (Standard targeting.)
- 51% chance to use a regular attack. (Standard targeting.)
- If no enemy has an attack buff:
- 79% chance to cast Evil Cry. (Targets self.)
- 21% chance to cast Fang. (Standard targeting.)
- If at least 1 enemy has an attack buff:
- 39% chance to cast Fang. (Standard targeting.)
- 61% chance to use a regular attack. (Standard targeting.)
- Blue Gel
- ========
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 79% chance to cast Fluid. (Standard targeting.)
- 21% chance to use a regular attack. (Standard targeting.)
- If HP is below 50%:
- If no party member has an agility debuff:
- 49% chance to cast Acid. (Standard targeting.)
- If Acid does not get cast, 69% chance to cast Fluid. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- If at least 1 party member has an agility debuff:
- 49% chance to cast Acid. (Standard targeting.)
- 51% chance to use a regular attack. (Standard targeting.)
- If no party member has an agility debuff:
- 79% chance to cast Fluid. (Standard targeting.)
- 21% chance use a regular attack. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Redfish
- =======
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 39% chance to cast Rend. (Standard targeting.)
- If Rend does not get cast, 80% chance to cast Ice Fin. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- If HP is below 60%:
- 29% chance to cast Rend. (Standard targeting.)
- If Rend does not get cast, 69% chance to cast Ice Fin. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Else:
- 19% chance to cast Rend. (Standard targeting.)
- If Rend does not get cast, 39% chance to cast Ice Fin. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Snowbird
- ========
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 89% chance to cast Wings. (Standard targeting.)
- 11% chance to use a regular attack. (Standard targeting.)
- If HP is below 60%:
- If no party member has an elemental defense debuff:
- 19% chance to cast Wings. (Standard targeting.)
- 81% chance to use a regular attack. (Standard targeting.)
- If at least 1 party member has an elemental defense debuff, use a regular attack. (Standard targeting.)
- If no party member has an elemental defense debuff:
- 79% chance to cast Wings. (Standard targeting.)
- 21% chance to use a regular attack. (Standard targeting.)
- If at least 1 party member has an elemental defense debuff, use a regular attack. (Standard targeting.)
- Nastue
- ======
- If the party is blindsided, and flag 1 is not active, cast Breath. (Standard targeting.) Activate flag 1.
- If HP is below 60%:
- 9% chance to cast Breath. (Targets party members that aren't petrified.)
- If Breath does not get cast, 59% chance to cast Shock. (Standard targeting.)
- Else, use a regular attack. (Targets the back row.)
- Else:
- 39% chance to cast Breath. (Targets party members that aren't petrified.)
- If Breath does not get cast, 49% chance to cast Shock. (Standard targeting.)
- Else, use a regular attack. (Targets the back row.)
- Warbull
- =======
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 69% chance to cast Rampage. (Standard targeting.)
- 31% chance to use a regular attack. (Standard targeting.)
- If HP is below 25%:
- 69% chance to cast Rampage. (Standard targeting.)
- 31% chance to use a regular attack. (Standard targeting.)
- If HP is below 50%:
- 39% chance to cast Rampage. (Standard targeting.)
- 61% chance to use a regular attack. (Standard targeting.)
- Else:
- 39% chance to cast Rampage. (Standard targeting.)
- 61% chance to use a regular attack. (Standard targeting.)
- Waspior
- =======
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 79% chance to cast Sting. (Standard targeting.)
- 21% chance to use a regular attack. (Standard targeting.)
- If HP is below 60%:
- 29% chance to cast Sting. (Targets party members that aren't poisoned.)
- 71% chance to use a regular attack. (Standard targeting.)
- Else:
- 59% chance to cast Sting. (Targets party members that aren't poisoned.)
- 41% chance to use a regular attack. (Standard targeting.)
- Raicho
- ======
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 79% chance to cast Strike. (Standard targeting.)
- 21% chance to use a regular attack. (Standard targeting.)
- If HP is below 60%:
- 59% chance to cast Strike. (Standard targeting.)
- 41% chance to use a regular attack. (Standard targeting.)
- Else:
- 39% chance to cast Strike. (Standard targeting.)
- 61% chance to use a regular attack. (Standard targeting.)
- Spider
- ======
- If the party is blindsided, and flag 1 is not active, cast Cocoon. (Standard targeting.) Activate flag 1.
- If HP is below 60%:
- 29% chance to cast Cocoon. (Targets party members that aren't petrified.)
- 71% chance to use a regular attack. (Targets party members that have their arms bound.)
- Else:
- 59% chance to cast Cocoon. (Standard targeting.)
- 41% chance to use a regular attack. (Targets party members that have their arms bound.)
- Killpion
- ========
- If the party is blindsided, and flag 1 is not active, cast Needle. (Standard targeting.) Activate flag 1.
- If HP is below 50%:
- 75% chance to cast Needle. (Targets party members that aren't poisoned.)
- 25% chance to use a regular attack. (Targets party members that aren't poisoned.)
- Else:
- 19% chance to cast Needle. (Targets party members that aren't poisoned.)
- 81% chance to use a regular attack. (Targets party members that aren't poisoned.)
- Rainbug
- =======
- If the party was blindsided, and flag 1 is not active, activate flag 1, then:
- If there is only 1 enemy in the battle:
- 50% chance to cast Blink. (Standard targeting.)
- 50% chance to summon 1 Wrathbud.
- Else:
- 50% chance to cast Blink. (Standard targeting.)
- 50% chance to use a regular attack. (Standard targeting.)
- If there is only 1 enemy in the battle:
- If at least 1 enemy has an agility buff, summon 1 Wrathbud.
- Else:
- 25% chance to cast Blink. (Standard targeting.)
- If Blink does not get cast, 50% chance to use a regular attack. (Standard targeting.)
- Else, summon 1 Wrathbud.
- If at least 1 enemy has an agility buff, cast Blink. (Standard targeting.)
- Else:
- 25% chance to cast Blink. (Standard targeting.)
- 75% chance to use a regular attack. (Standard targeting.)
- Windsnip
- ========
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 79% chance to cast Slash. (Standard targeting.)
- 21% chance to use a regular attack. (Standard targeting.)
- If HP is below 60%:
- 49% chance to cast Slash. (Standard targeting.)
- 51% chance to use a regular attack. (Standard targeting.)
- Else:
- 19% chance to cast Slash. (Standard targeting.)
- 81% chance to use a regular attack. (Standard targeting.)
- Diatrima
- ========
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 79% chance to cast Peck. (Standard targeting.)
- 21% chance to use a regular attack. (Standard targeting.)
- If HP is below 60%:
- 59% chance to cast Peck. (Standard targeting.)
- 41% chance to use a regular attack. (Standard targeting.)
- Else:
- 29% chance to cast Peck. (Standard targeting.)
- 71% chance to use a regular attack. (Standard targeting.)
- Big Moth
- ========
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 59% chance to cast Scales. (Standard targeting.)
- If Scales does not get cast, 79% chance to cast Feather. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- If HP is below 90%:
- If no party member is confused:
- 69% chance to cast Scales. (Standard targeting.)
- If Scales does not get cast, 89% chance to cast Feather. (Targets party members that are confused.)
- Else, use a regular attack. (Targets party members that are confused.)
- If at least 1 party member is confused:
- 49% chance to cast Feather. (Targets party members that aren't confused.)
- 51% chance to use a regular attack. (Targets party members that aren't confused.)
- Else:
- 49% chance to cast Scales. (Standard targeting.)
- 51% chance to use a regular attack. (Standard targeting.)
- Glowbird
- ========
- If the party is blindsided, and flag 1 is not active, cast Corrode. (Standard targeting.) Activate flag 1.
- If HP is below 70%:
- If no party member has a defense debuff:
- 49% chance to cast Corrode. (Standard targeting.)
- 51% chance to use a regular attack. (Standard targeting.)
- If at least 1 party member has a defense debuff, use a regular attack. (Standard targeting.)
- If no party member has a defense debuff:
- 79% chance to cast Corrode. (Standard targeting.)
- 21% chance to use a regular attack. (Standard targeting.)
- If at least 1 party member has a defense debuff, use a regular attack. (Standard targeting.)
- Wrathbud
- ========
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 39% chance to cast Unload. (Standard targeting.)
- If Unload does not get cast, 79% chance to cast Vine. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- If HP is below 25%:
- 19% chance to cast Unload. (Standard targeting.)
- If Unload does not get cast, 59% chance to cast Vine. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- If HP is below 50%:
- 39% chance to cast Unload. (Standard targeting.)
- If Unload does not get cast, 49% chance to cast Vine. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Else:
- 29% chance to cast Unload. (Standard targeting.)
- If Unload does not get cast, 39% chance to cast Vine. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Raven
- =====
- If the party is blindsided, and flag 1 is not active, cast Terrify. (Standard targeting.) Activate flag 1.
- If HP is below 60%:
- 29% chance to cast Terrify. (Targets party members that aren't afraid.)
- 71% chance to use a regular attack. (Targets party members that are afraid.)
- Else:
- 59% chance to cast Terrify. (Targets party members that aren't afraid.)
- 41% chance to use a regular attack. (Targets party members that are afraid.)
- Petaloid
- ========
- If the party is blindsided, and flag 1 is not active, cast Sleeper. (Standard targeting.) Activate flag 1.
- If every player is asleep, cast Petals. (Standard targeting.)
- Else:
- 80% chance to cast Sleeper. (Standard targeting.)
- 20% chance to use a regular attack. (Standard targeting.)
- Venombug
- ========
- If the party is blindsided, and flag 1 is not active, cast Fang. (Standard targeting.) Activate flag 1.
- If HP is below 75%:
- 75% chance to cast Fang. (Targets party members that aren't poisoned.)
- 25% chance to use a regular attack. (Targets party members that are poisoned.)
- Else:
- 25% chance to cast Fang. (Targets party members that aren't poisoned.)
- 75% chance to use a regular attack. (Targets party members that are poisoned.)
- Gold Gel
- ========
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 79% chance to cast Fluid. (Standard targeting.)
- 21% chance to use a regular attack. (Standard targeting.)
- If HP is below 50%:
- If no party member has an agility debuff:
- 49% chance to cast Acid. (Standard targeting.)
- If Acid does not get cast, 69% chance to cast Fluid. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- If at least 1 party member has an agility debuff:
- 49% chance to cast Acid. (Standard targeting.)
- 51% chance to use a regular attack. (Standard targeting.)
- If no party member has an agility debuff:
- 79% chance to cast Fluid. (Standard targeting.)
- 21% chance use a regular attack. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Woodbat
- =======
- If turn count is greater than 10:
- 59% chance to cast Drain. (Standard targeting.)
- 41% chance to summon 1 Riptor.
- If the party is blindsided, and flag 1 is not active, there is only 1 enemy in the battle, summon 1 Woodbat. Activate flag 1.
- If HP is below 50%:
- If there is only 1 enemy in the battle:
- If [FUNCTION_92, condition 8] is true, summon 1 Woodbat.
- If the Woodbad was not summoned, 59% chance to cast Drain. (Standard targeting.)
- If Drain does not get cast, 89% chance to use a regular attack. (Standard targeting.
- Else, summon 1 Woodbat.
- Else, use a regular attack. (Standard targeting.)
- Mandrake
- ========
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 25% chance to cast Scream. (Standard targeting.)
- 75% chance to use a regular attack. (Standard targeting.)
- If HP is below 99%:
- 49% chance to cast Scream. (Standard targeting.)
- 51% chance to use a regular attack. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Nitemare
- ========
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 79% chance to cast Horror. (Standard targeting.)
- 21% chance to use a regular attack. (Standard targeting.)
- If HP is below 35%:
- 44% chance to cast Horror. (Standard targeting.)
- 56% chance to use a regular attack. (Standard targeting.)
- If HP is below 70%:
- 29% chance to cast Horror. (Standard targeting.)
- 71% chance to use a regular attack. (Standard targeting.)
- Else:
- 19% chance to cast Horror. (Standard targeting.)
- 81% chance to use a regular attack. (Standard targeting.)
- Nozuchi
- =======
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 79% chance to cast Taillash. (Standard targeting.)
- If Taillash does not get cast, 89% chance to cast Vine. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- If HP is below 60%:
- If no party member has a head bind:
- 19% chance to cast Taillash. (Standard targeting.)
- If Taillash does not get cast, 59% chance to cast Vine. (Targets party members that have their head bound.)
- Else, use a regular attack. (Targets party members that have their head bound.)
- If at least 1 party member has a head bind:
- 59% chance to cast Vine. (Targets party members that have their head bound.)
- 41% chance to use a regular attack. (Targets party members that have their head bound.)
- If no party member has a head bind:
- 79% chance to cast Taillash. (Standard targeting.)
- If Taillash does not get cast, 89% chance to cast Vine. (Targets party members that have their head bound.)
- Else, use a regular attack. (Targets party members that have their head bound.)
- If at least 1 party member has a head bind:
- 39% chance to cast Vine. (Targets party members that have their head bound.)
- 61% chance to use a regular attack. (Targets party members that have their head bound.)
- Ebonwing
- ========
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 69% chance to cast Wing. (Standard targeting.)
- 31% chance to use a regular attack. (Standard targeting.)
- If HP is below 25%:
- 59% chance to cast Wing. (Standard targeting.)
- 41% chance to use a regular attack. (Standard targeting.)
- If HP is below 50%:
- 39% chance to cast Wing. (Standard targeting.)
- 61% chance to use a regular attack. (Standard targeting.)
- Else:
- 25% chance to cast Wing. (Standard targeting.)
- 75% chance to use a regular attack. (Standard targeting.)
- King Gel
- ========
- If turn count is greater than 10:
- 50% chance to cast Acid. (Standard targeting.)
- 50% chance to cast King Hit. (Standard targeting.)
- If turn count is less than or equal to 1, and flag 1 is not active, activate flag 1, then:
- If there is only 1 enemy in the battle:
- 79% chance to summon 1 Gold Gel.
- 21% chance to cast King Hit. (Standard targeting.)
- Else:
- 50% chance to cast King Hit. (Standard targeting.)
- 50% chance to use a regular attack. (Standard targeting.)
- If HP is less than 50%:
- If there is only 1 enemy in the battle:
- 79% chance to summon 1 Gold Gel.
- 21% chance to cast King Hit. (Standard targeting.)
- Else:
- 29% chance to cast King Hit. (Standard targeting.)
- If King Hit does not get cast, 79% chance to cast Acid. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- If there is only 1 enemy in the battle:
- 79% chance to summon 1 Gold Gel.
- 21% chance to cast King Hit. (Standard targeting.)
- 49% chance to cast King Hit. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Steelgun
- ========
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 49% chance to cast Snipe. (Standard targeting.)
- 51% chance to cast Bright. (Standard targeting.)
- If HP is below 99%:
- 24% chance to cast Snipe. (Standard targeting.)
- 76% chance to cast Bright. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Gigantue
- ========
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 69% chance to cast Clawlash. (Standard targeting.)
- 31% chance to use a regular attack. (Standard targeting.)
- If HP is below 60%:
- 59% chance to cast Clawlash. (Targets party members that aren't petrified.)
- 41% chance to use a regular attack. (Standard targeting.)
- Else:
- 39% chance to cast Clawlash. (Targets party members that aren't petrified.)
- 61% chance to use a regular attack. (Standard targeting.)
- Gemzard
- =======
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 69% chance to cast Headbutt. (Standard targeting.)
- 31% chance to use a regular attack. (Standard targeting.)
- If HP is below 60%:
- 59% chance to cast Headbutt. (Standard targeting.)
- 41% chance to use a regular attack. (Standard targeting.)
- Else:
- 39% chance to cast Headbutt. (Standard targeting.)
- 61% chance to use a regular attack. (Standard targeting.)
- Defender
- ========
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 34% chance to cast Head EM. (Standard targeting.)
- If Head EM does not get cast, 69% chance to cast Arms EM. (Standard targeting.)
- Else, cast Legs EM. (Standard targeting.)
- If HP is below 50%:
- If no party member has a head bind, arm bind, or a leg bind:
- 34% chance to cast Head EM. (Standard targeting.)
- If Head EM does not get cast, 19% chance to cast Arms EM. (Standard targeting.)
- If Arms EM does not get cast, 29% chance to cast Legs EM. (Standard targeting.)
- Else, use a regular attack. (Targets party members with binds, prioritizing in this order: head, arms, legs.)
- If at least 1 party member has a head bind, arm bind, or a leg bind, use a regular attack. (Targets party members with binds, prioritizing in this order: head, arms, legs.)
- If no party member has a head bind, arm bind, or a leg bind:
- 29% chance to cast Head EM. (Standard targeting.)
- If Head EM does not get cast, 59% chance to cast Arms EM. (Standard targeting.)
- If Arms EM does not get cast, 89% chance to cast Legs EM. (Standard targeting.)
- Else, use a regular attack. (Targets party members with binds, prioritizing in this order: head, arms, legs.)
- If at least 1 party member is not fully bound, use a regular attack. (Targets party members with binds, prioritizing in this order: head, arms, legs.)
- Armorman
- ========
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 69% chance to cast Blade. (Standard targeting.)
- 31% chance to use a regular attack. (Standard targeting.)
- If HP is below 60%:
- 59% chance to cast Blade. (Standard targeting.)
- 41% chance to use a regular attack. (Standard targeting.)
- Else:
- 39% chance to cast Blade. (Standard targeting.)
- 61% chance to use a regular attack. (Standard targeting.)
- Tortiron
- ========
- If the turn count is equal to or less than 1, and flag 1 is not active, cast Armor Up. (Targets self.) Activate flag 1.
- If HP is below 25%:
- 59% chance to cast Crusher. (Standard targeting.)
- 41% chance to use a regular attack. (Standard targeting.)
- If HP is below 50%:
- If no enemy has a defense buff:
- 9% chance to cast Armor Up. (Targets self.)
- If Armor Up does not get cast, 39% chance to cast Crusher. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- If at least 1 enemy has a defense buff:
- 39% chance to cast Crusher. (Standard targeting.)
- 61% chance to use a regular attack. (Standard targeting.)
- If no enemy has a defense buff:
- 59% chance to cast Armor Up. (Targets self.)
- If Armor Up does not get cast, 49% chance to cast Crusher. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- If at least 1 enemy has a defense buff:
- 39% chance to cast Crusher. (Standard targeting.)
- 61% chance to use a regular attack. (Standard targeting.)
- Kingcap
- =======
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 69% chance to cast Jaw. (Standard targeting.)
- 31% chance to use a regular attack. (Standard targeting.)
- If HP is below 25%:
- 59% chance to cast Jaw. (Standard targeting.)
- 41% chance to use a regular attack. (Standard targeting.)
- If HP is below 50%:
- 39% chance to cast Jaw. (Standard targeting.)
- 61% chance to use a regular attack. (Standard targeting.)
- Else:
- 19% chance to cast Jaw. (Standard targeting.)
- 81% chance to use a regular attack. (Standard targeting.)
- Gorezard
- ========
- 75% chance to cast Saliva. (Targets enemies with the lowest HP.)
- 25% chance to use a regular attack. (Standard targeting.)
- Oldcrab
- =======
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 49% chance to cast Guard. (Targets self.)
- 51% chance to cast Smoke. (Standard targeting.)
- If HP is below 30%, use a regular attack. (Standard targeting.)
- If no party member has an attack debuff, and no enemy has a defense buff:
- 39% chance to cast Smoke. (Standard targeting.)
- If Smoke does not get cast, 79% chance to cast Guard. (Targets self.)
- Else, use a regular attack. (Standard targeting.)
- If at least 1 party member has an attack debuff, and no enemy has a defense buff:
- 79% chance to cast Guard. (Targets self.)
- 21% chance to use a regular attack. (Standard targeting.)
- If no party member has an attack debuff, and at least 1 enemy has a defense buff:
- 39% chance to cast Smoke. (Standard targeting.)
- 61% chance to use a regular attack. (Standard targeting.)
- If at least 1 party member has an attack debuff, and at least 1 enemy has a defense buff, use a regular attack. (Standard targeting.)
- Bloodman
- ========
- If flag 2 is not active, cast Charge. (Targets self.) Activate flags 0 and 2.
- If the party is blindsided, and flag 1 is not active, cast Charge. (Targets self.) Activate flag 1.
- If flag 0 is active, deactivate flag 0, then:
- 79% chance to cast Blade. (Standard targeting.)
- 21% chance to use a regular attack. (Standard targeting.)
- If HP is below 60%:
- If no enemy has an attack buff:
- 9% chance to cast Blade. (Standard targeting.)
- If Charge does not get cast, 59% chance to cast Charge. (Targets self.) Activate flag 0.
- Else, use a regular attack. (Standard targeting.)
- If at least 1 enemy has an attack buff:
- 59% chance to cast Blade. (Standard targeting.)
- 41% chance to use a regular attack. (Standard targeting.)
- If no enemy has an attack buff:
- 9% chance to cast Blade. (Standard targeting.)
- If Charge does not get cast, 49% chance to cast Charge. (Targets self.) Activate flag 0.
- Else, use a regular attack. (Standard targeting.)
- If at least 1 enemy has an attack buff:
- 39% chance to cast Blade. (Standard targeting.)
- 61% chance to use a regular attack. (Standard targeting.)
- Trihorn
- =======
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 79% chance to cast Trideath. (Standard targeting.)
- 21% chance to use a regular attack. (Standard targeting.)
- If HP is below 25%:
- 59% chance to cast Trideath. (Standard targeting.)
- 41% chance to use a regular attack. (Standard targeting.)
- If HP is below 50%:
- 39% chance to cast Trideath. (Standard targeting.)
- 61% chance to use a regular attack. (Standard targeting.)
- Else:
- 19% chance to cast Trideath. (Standard targeting.)
- 81% chance to use a regular attack. (Standard targeting.)
- Sickwood
- ========
- If the party is blindsided, and flag 1 is not active, cast Venom. (Standard targeting.) Activate flag 1.
- If HP is below 25%, use a regular attack. (Standard targeting.)
- If HP is below 50%:
- If no one is poisoned:
- 29% chance to cast Venom. (Standard targeting.)
- If Venom does not get cast, 49% chance to cast Branch. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- If at least 1 player is poisoned:
- 59% chance to cast Branch. (Standard targeting.)
- 41% chance to use a regular attack. (Standard targeting.)
- If no one is poisoned:
- 59% chance to cast Venom. (Standard targeting.)
- If Venom does not get cast, 69% chance to cast Branch. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- If at least 1 player is poisoned:
- 79% chance to cast Branch. (Standard targeting.)
- 21% chance to use a regular attack. (Standard targeting.)
- Carbuncl
- ========
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 79% chance to cast Scorch. (Standard targeting.)
- 21% chance to use a regular attack. (Standard targeting.)
- If HP is below 60%:
- 59% chance to cast Scorch. (Standard targeting.)
- 41% chance to use a regular attack. (Standard targeting.)
- Else:
- 39% chance to cast Scorch. (Standard targeting.)
- 61% chance to use a regular attack. (Standard targeting.)
- Ebonail
- =======
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 50% chance to cast Dance. (Standard targeting.)
- 50% chance to use a regular attack. (Standard targeting.)
- If HP is below 25%:
- 79% chance to cast Dance. (Targets party members that aren't confused.)
- 21% chance to use a regular attack. (Standard targeting.)
- Else:
- 19% chance to cast Dance. (Targets party members that aren't confused.)
- 81% chance to use a regular attack. (Standard targeting.)
- Mothlord
- ========
- If the party is blindsided, and flag 1 is not active, cast Scales. (Standard targeting.) Activate flag 1.
- If HP is below 99%:
- 70% chance to cast Scales. (Targets party members that aren't cursed.)
- 30% chance to use a regular attack. (Targets party members that are cursed.)
- Else:
- 10% chance to cast Scales. (Targets party members that aren't cursed.)
- 90% chance to use a regular attack. (Targets party members that are cursed.)
- Crawlest
- ========
- If at least 1 party member has a bind type that literally does not exist and therefore makes this routine completely impossible to execute, use a regular attack. (Standard targeting.) [This routine is checking for bind type 12. Which doesn't exist.]
- Else:
- 30% chance to cast Thread. (Standard targeting.)
- 70% chance to use a regular attack. (Standard targeting.)
- Cactlord
- ========
- If the party is blindsided, and flag 1 is not active, cast Needles. (Standard targeting.) Activate flag 1.
- If HP is below 25%:
- 19% chance to cast Needles. (Targets party members that aren't afraid.)
- 81% chance to use a regular attack. (Targets party members that are afraid.)
- If HP is below 50%:
- 39% chance to cast Needles. (Targets party members that aren't afraid.)
- 61% chance to use a regular attack. (Targets party members that are afraid.)
- Else:
- 79% chance to cast Needles. (Targets party members that aren't afraid.)
- 21% chance to use a regular attack. (Targets party members that are afraid.)
- Sauromar
- ========
- If the party is blindsided, and flag 1 is not active, activate flag 1, then:
- 79% chance to cast Step. (Standard targeting.)
- 21% chance to use a regular attack. (Standard targeting.)
- If HP is below 25%:
- 59% chance to cast Step. (Standard targeting.)
- 41% chance to use a regular attack. (Standard targeting.)
- If HP is below 50%:
- 39% chance to cast Step. (Standard targeting.)
- 61% chance to use a regular attack. (Standard targeting.)
- Else:
- 19% chance to cast Step. (Standard targeting.)
- 81% chance to use a regular attack. (Standard targeting.)
- Muckdile
- ========
- If self has at least 2 binds, cast Frolic. (Standard targeting.)
- Else, cast Bite. (Standard targeting.)
Advertisement
Add Comment
Please, Sign In to add comment