Do damage. Press hold space and wait for healing.
For Pokemon Apple Red. Oops, technically it is 1s7s1c, but that's because I used block definitions. It runs like a 1s1s, but it would bog down my computer if it was only 1 script. Feel free to use it in your own games!