-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinput.potter
More file actions
62 lines (48 loc) · 749 Bytes
/
input.potter
File metadata and controls
62 lines (48 loc) · 749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
~Periculum # Shoot some flares!
~Revelio "Hello, world!"
~Revelio 4
house = 🎩✨
~Revelio house
if house == Gryffindor {
~Periculum
}
water = ~Aguamenti
x = "Agua: " + water
~Engorgio x
~WingardiumLeviosa x
~Revelio x
~Obliviate x
z = ~WingardiumLeviosa "hola"
~Revelio z
z = ~Incendio "hola" # This is a comment
~Revelio z
index = 0
quidditch {
snake = ~Serpensortia
~Revelio snake
~Incendio snake
~Revelio snake
~Engorgio index
if index == 4 {
snitch # Break loop
}
}
~Revelio "Waiting 2s"
~Inmobolus 2000
y = 3 + 7
~Engorgio y
~Revelio y
if y != 11 {
~Revelio "y is not 11"
} else {
~Lumos
~Revelio "y is 11"
}
y = 8
~Nox
~Engorgio y
~Engorgio y
~Engorgio y
~Reducio y
~Revelio y
~PetrificusTotalus y