Skip to content

Instantly share code, notes, and snippets.

@DarinM223
Created November 6, 2015 09:02
Show Gist options
  • Save DarinM223/48d33ae4cefcee7bca2b to your computer and use it in GitHub Desktop.
Save DarinM223/48d33ae4cefcee7bca2b to your computer and use it in GitHub Desktop.
Sample
---
# Conditions:
# 'enemy_pokemon': gets the current enemy pokemon
# 'your_pokemon': gets your current pokemon
# 'self': gets the move
# you can call properties on these ones
# enemy_pokemon[stats[hp]] gets the enemy_pokemon stat's hp
#
# Statements:
#
flare_blitz:
power: 120
accuracy: 100
recoil: 33.33
pp: 15
type: 'fire'
move_type: 'physical'
status:
poisoned: 10
acid_armor:
power: 0
accuracy: -1
pp: 40
type: 'poison'
move_type: 'nondamage'
your_stat:
defense: 2
acrobatics:
power: 55
accuracy: 100
pp: 15
type: 'flying'
move_type: 'physical'
before_apply:
if:
- '(enemy[held_item] == "")'
do:
- 'self[power] = self[power] * 2'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment