Initial commit

This commit is contained in:
2026-09-18 11:10:39 -04:00
commit 3d05a58ae3
2 changed files with 79 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
NAME "Exp Candy Combiner"
EVERY 20 TICKS DO
-- on their own, input statements do nothing
-- there is no item buffer
INPUT "Cobblemon:exp_candy_xs" FROM candy_barrel
-- XS -> S
OUTPUT RETAIN 1 TO xs_pot SLOTS 1
OUTPUT RETAIN 1 TO xs_pot SLOTS 2
OUTPUT RETAIN 1 TO xs_pot SLOTS 3
OUTPUT RETAIN 1 TO xs_pot SLOTS 4
OUTPUT RETAIN 1 TO xs_pot SLOTS 5
OUTPUT RETAIN 1 TO xs_pot SLOTS 6
FORGET
-- S -> M
INPUT "Cobblemon:exp_candy_s" FROM candy_barrel
OUTPUT RETAIN 1 TO s_pot SLOTS 1
OUTPUT RETAIN 1 TO s_pot SLOTS 2
OUTPUT RETAIN 1 TO s_pot SLOTS 3
FORGET
-- M -> L
INPUT "Cobblemon:exp_candy_m" FROM candy_barrel
OUTPUT RETAIN 1 TO m_pot SLOTS 1
OUTPUT RETAIN 1 TO m_pot SLOTS 2
OUTPUT RETAIN 1 TO m_pot SLOTS 3
FORGET
-- L -> XL
INPUT "Cobblemon:exp_candy_l" FROM candy_barrel
OUTPUT RETAIN 1 TO l_pot SLOTS 1
OUTPUT RETAIN 1 TO l_pot SLOTS 2
OUTPUT RETAIN 1 TO l_pot SLOTS 3
FORGET
-- Grab all the candy and put it in the barrel
INPUT FROM pot BOTTOM SIDE
OUTPUT TO candy_barrel
FORGET
END