Jump to content

Engine calls (Boktai 1): Difference between revisions

Loop
No edit summary
(Loop)
Line 276: Line 276:
Copies values into the indexed-ptr. Partial writes are supported (you can specify less values than the size of the indexed-ptr).
Copies values into the indexed-ptr. Partial writes are supported (you can specify less values than the size of the indexed-ptr).
|-
|-
| 0x7636 || 0x08000b98 || 256 ||
| 0x7636 || 0x08000b98 || 256
| Loop(a=argument count of callback, r=number of executions, d=data to loop over, e=callback block)
This is complicated, need some examples... keywords "a" and "r" are always required, keyword "d" is optional: if provided, the loop behaves like a "for each" loop over the provided data, if not provided it behaves like a "for" loop between 0 and r.
|-
|-
| 0x3469 || 0x08000c54 || 141
| 0x3469 || 0x08000c54 || 141