Create a definition
DEF SPAWNPEDESTRIAN
SPSET ...
SPOFS ...
...
END
Then, in the game, you could just spawn a bunch of pedestrians as the game world loads
Q34443GD has my samples folder. You want to look at SPFUNCDEMO which has a bunch of fruit bounce around the screen.
Using SPFUNC you can set a callback function for a sprite. During your game loop call CALL SPRITE one per frame which will call all registered call back sprite functions. Lines 3-17 is a bounce function. When in a callback CALLIDX has your sprite's ID number.
I use SPVAR to store information about an individual sprite (you only get 7 variables unfortunately). This would be information specific to a particular pedestrian.
Line 19-25 is the sprite setup. Notice the SPFUNC call on line 24, and that the function name is in double quotes (that part threw me the first time).
Lines 26-29 is the game loop with CALL SPRITE on line 27.