However....you did mention it didn't do anything unless YY was 2, which is the Tech command isn't it...so I guess that would make since. JLukas can you confirm if 04 is a one byte action?
I checked into this and it is 1 byte. You can give it the description "Random Action" What it does is load a random number to pick one of the following Actions to start with.
If Gato had the following Action pattern :
04, attack, wander, tech, FE
The 04 random result could cause the attack command to be skipped. Gato would wander, use tech, and jump back to the beginning of the loop.
Overall, it's similar to the Random % Condition, but allows for random actions within the section, instead of determining if the _entire_ section is executed.
When you update that in the editor it should correct a lot of the errors, and should set the number of times Action 06 appers back to 0. I have not looked at 05 yet, let me know if that's still broken.
I'll update the wiki later.