The above code won't work. The "int"s need to be removed. You give the type of a variable in the definition of a function, not when you call it.
If you want an animated fireball that moves across the screen, this can be done using a loop in which you change the position of the fireball a certain amount each time round the loop (and then probably pause for a fraction of a second, or else it will all happen too fast). This is basic scripting that you can find out more about in the AGS manual.
If you want an animated fireball that moves across the screen, this can be done using a loop in which you change the position of the fireball a certain amount each time round the loop (and then probably pause for a fraction of a second, or else it will all happen too fast). This is basic scripting that you can find out more about in the AGS manual.