in my game I create multiple different types of enemy on the fly using a "create enemy" function
the function has a parameter 0 (or whatever) relating to enemy type
so the function is
on function "create enemy"
para0=1 then create enemy 1
para0=2 then create enemy 2
para0=3 then create enemy 3 etc.
so in game
call function create enemy (1) = makes enemy 1
call function create enemy (2) = makes enemy 2 etc.