Skip to content

Instantly share code, notes, and snippets.

@aEnigmatic aEnigmatic/9610105.gl.py
Last active Apr 19, 2019

Embed
What would you like to do?
Eggstinction - LGD
##
# Mission 'Eggstinction - LGD' (9610105)
# BattleScript: 900000024
#
# Battles
# * Leaf Bunny, Leaf Bunny, Leaf Bunny, Leaf Bunny, Leaf Bunny, Leaf Bunny
# * Eggsterminator
##
##
# Monster Info
##
#
# Monster Eggsterminator (900010614, 900010610)
# Race Stone
# Level 99
# Actions 10-10
#
#
# Stats
# HP 10000000
# MP 100000
# ATK 500
# DEF 200
# MAG 500
# SPR 2000
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 120%
# Ice 120%
# Lightning -20%
# Water 120%
# Wind 120%
# Earth 120%
# Light 120%
# Dark 120%
# Non-Elemental 120%
#
#
# Status resist (+10% / application)
# Poison 100%
# Blind 100%
# Sleep 100%
# Silence 100%
# Paralyze 100%
# Confusion 100%
# Disease 100%
# Petrify 100%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 100%
# Charm 100%
# Berserk 100%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Regeneggration (900239) [Hybrid]
#
# Restore 5% HP to caster
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shattering Earth (900242) [Magic]
#
# Magic earth damage (3x, MAG) to all enemies
# Reduce resistance to Earth by 50% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Shaking Earth (900245) [Magic]
#
# Magic damage (3x, MAG) to all enemies
# Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Rockslide (900248) [Physical]
#
# Physical damage (4x, ATK) to all enemies
# Inflict Petrify (30%) on all enemies
# Unknown parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Scramble (900251) [Physical]
#
# Physical damage (2x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Eggsecution (900254) [Physical]
#
# Fixed* damage (9999) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
#
# Its shell cracked! (900257) [Hybrid]
#
# Reduce DEF by 50% for 3 turns to caster
# Unused parameters: [1]
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if apple == False:
useSkill(2, 'random') # Shattering Earth (900242): Magic earth damage (3x, MAG) to all enemies, Reduce resistance to Earth by 50% for 3 turns to all enemies
apple = True # reset next turn
elif berry == False:
useSkill(5, 'random') # Scramble (900251): Physical damage (2x, ATK) to one enemy
berry = True # reset next turn
elif random() <= 0.10 and once():
useSkill(1, 'random') # Regeneggration (900239): Restore 5% HP to caster
elif self.HP < 0.5 and once():
useSkill(3, 'random') # Shaking Earth (900245): Magic damage (3x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies
elif random() <= 0.30 and self.HP < 0.5:
useSkill(4, 'random') # Rockslide (900248): Physical damage (4x, ATK) to all enemies, Inflict Petrify (30%) on all enemies
elif random() <= 0.20 and self.HP < 0.5:
useSkill(6, 'random') # Eggsecution (900254): Fixed* damage (9999) to one enemy
elif self.HP < 0.5 and self.sufferedDamageLastTurn('physical', 'thunder') and peach == False:
useSkill(7, 'random') # Its shell cracked! (900257): Reduce DEF by 50% for 3 turns to caster
peach = True # reset next turn
elif self.HP < 0.8 and once():
useSkill(3, 'random') # Shaking Earth (900245): Magic damage (3x, MAG) to all enemies, Reduce ATK, DEF, MAG and SPR by 50% for 3 turns to all enemies
elif random() <= 0.30 and self.HP < 0.8:
useSkill(4, 'random') # Rockslide (900248): Physical damage (4x, ATK) to all enemies, Inflict Petrify (30%) on all enemies
##
# Monster Info
##
#
# Monster Leaf Bunny (900010626, 3)
# Race Beast
# Level 40
# Actions 1-1
#
#
# Stats
# HP 12000
# MP 70
# ATK 170
# DEF 25
# MAG 25
# SPR 25
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light 0%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+10% / application)
# Poison 0%
# Blind 0%
# Sleep 0%
# Silence 0%
# Paralyze 0%
# Confusion 0%
# Disease 0%
# Petrify 0%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 0%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Bite (150010) [Physical]
#
# Physical damage (1.1x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.30:
useRandomSkill('random')
else:
attack('random')
##
# Monster Info
##
#
# Monster Leaf Bunny (900010627, 3)
# Race Beast
# Level 40
# Actions 1-1
#
#
# Stats
# HP 12000
# MP 70
# ATK 170
# DEF 25
# MAG 25
# SPR 25
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light 0%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+10% / application)
# Poison 0%
# Blind 0%
# Sleep 0%
# Silence 0%
# Paralyze 0%
# Confusion 0%
# Disease 0%
# Petrify 0%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 0%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Bite (150010) [Physical]
#
# Physical damage (1.1x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.30:
useRandomSkill('random')
else:
attack('random')
##
# Monster Info
##
#
# Monster Leaf Bunny (900010625, 3)
# Race Beast
# Level 40
# Actions 1-1
#
#
# Stats
# HP 12000
# MP 70
# ATK 170
# DEF 25
# MAG 25
# SPR 25
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light 0%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+10% / application)
# Poison 0%
# Blind 0%
# Sleep 0%
# Silence 0%
# Paralyze 0%
# Confusion 0%
# Disease 0%
# Petrify 0%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 0%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Bite (150010) [Physical]
#
# Physical damage (1.1x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.30:
useRandomSkill('random')
else:
attack('random')
##
# Monster Info
##
#
# Monster Leaf Bunny (900010617, 3)
# Race Beast
# Level 40
# Actions 1-1
#
#
# Stats
# HP 12000
# MP 70
# ATK 170
# DEF 25
# MAG 25
# SPR 25
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light 0%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+10% / application)
# Poison 0%
# Blind 0%
# Sleep 0%
# Silence 0%
# Paralyze 0%
# Confusion 0%
# Disease 0%
# Petrify 0%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 0%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Bite (150010) [Physical]
#
# Physical damage (1.1x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.30:
useRandomSkill('random')
else:
attack('random')
##
# Monster Info
##
#
# Monster Leaf Bunny (900010618, 3)
# Race Beast
# Level 40
# Actions 1-1
#
#
# Stats
# HP 12000
# MP 70
# ATK 170
# DEF 25
# MAG 25
# SPR 25
#
#
# Damage resist
# physical 0%
# magical 0%
#
#
# Element resist
# Fire 0%
# Ice 0%
# Lightning 0%
# Water 0%
# Wind 0%
# Earth 0%
# Light 0%
# Dark 0%
# Non-Elemental 0%
#
#
# Status resist (+10% / application)
# Poison 0%
# Blind 0%
# Sleep 0%
# Silence 0%
# Paralyze 0%
# Confusion 0%
# Disease 0%
# Petrify 0%
#
#
# Debuff resist
# ATK 0%
# DEF 0%
# MAG 0%
# SPR 0%
# Stop 0%
# Charm 0%
# Berserk 0%
#
#
# Immunity
# Death +
# Gravity +
#
###
###
# Skills
###
#
# Bite (150010) [Physical]
#
# Physical damage (1.1x, ATK) to one enemy
#
# Sealable - Unknown1 +
# Reflect - Unknown2 -
#
##
###
# AI
###
if random() <= 0.30:
useRandomSkill('random')
else:
attack('random')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.