Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffc script BurnNext
- {
- void run(int combo_type, int sfx)
- {
- lweapon l; int x; int y; int pos;
- while(1)
- {
- for ( int q = Screen->NumLWeapons(); q > 0; --q )
- {
- l = Screen->LoadLWeapon(q);
- x = l->X+8; y = l->Y+8;
- pos = ComboAt(x,y);
- if ( l->ID == LW_FIRE )
- {
- if ( Screen->ComboT[pos] == combo_type )
- {
- ++Screen->ComboD[pos];
- Game->PlaySound(sfx);
- }
- }
- }
- Waitframe();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement