How do I simplify a long function?

Hmmm... the length reminds me of some of my projects.... @ABG remembers the horrors.

Posts with huge blocks

How do I set an open listpicker to another list? (Newb mistakes?) - #5 by netminderno.9apps

Any advice as how to make these blocks not as big? - #3 by ABG

@Slegg Have you tried procedures with parameters? That helped me in both of those posts.

I've added the .aia here ↓ as an example of procedures with parameters...
Unstoppable.aia (56.1 KB)