⇤ ← Revision 1 as of 2012-09-05 13:21:55
Size: 1159
Comment:
|
Size: 1159
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 26: | Line 26: |
Do not forget to add the gosubreturn at the end of each subroutine to avoid errors. | Do not forget to add the GosubReturn at the end of each subroutine to avoid errors. |
Usage: |
gosub label |
Example: |
gosub medalfarm |
Allows you to jump to a subroutine.
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
Do not forget to add the GosubReturn at the end of each subroutine to avoid errors.