Consider the following ZASM code fragment:
What would be the ZScript analogy (I mean, analogue) of it?Code:SETV a1,1 SETV d0,320 WAIT WAITFRAME SETA1 data,d0 ADDV a1,1 COMPAREV a1,5 GOTOLESS WAIT
Consider the following ZASM code fragment:
What would be the ZScript analogy (I mean, analogue) of it?Code:SETV a1,1 SETV d0,320 WAIT WAITFRAME SETA1 data,d0 ADDV a1,1 COMPAREV a1,5 GOTOLESS WAIT
If I understand the ASM correctly:
Code:ffc script foo { void run() { for(int i=1; i<5; i++) { ffc other = Screen->LoadFFC(i); other->Data = 320; Waitframe(); } } }
Lol, yeah, that's all there was in ZScript 1.0, there have been some additions since then. They're all detailed in the various beta announcement threads. Someday (for b14 I guess) I'll post a new complete up-to-date list.
There are currently 1 users browsing this thread. (0 members and 1 guests)