⇤ ← Revision 1 as of 2012-09-05 13:23:05
Size: 1139
Comment:
|
Size: 1143
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 26: | Line 26: |
CategoryFunctionScripts CategoryAllScripts | CategoryFunctionScripts CategoryGeneralScripts |
Usage: |
gosubreturn |
Example: |
gosubreturn |
Used with Gosub at the end of a subroutine to return to the line that called it, and proceed from there.
gosub medalfarm gosub trainarch gosub upgradecot loop 0 label medalfarm attack 123,300 !Bubba,!Xavier,any t:400,b:400 gosubreturn // label upgradecot upgrade house repeat 2 gosubreturn // label trainarch train arch:2500 Hero gosubreturn