Mewkyuu

Untitled

Aug 3rd, 2011
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. task SFX_PlayCheck {
  2. let Now_CardCapture = GetCommonDataDefault("GSK_SpellCapture", false);
  3. let Now_Point = GetPoint;
  4. let Now_Graze = GetGraze;
  5. let Now_Miss = OnPlayerMissed;
  6. let Now_Life = GetPlayerLife;
  7. loop {
  8. if(Now_CardCapture){
  9. PlaySE(list_sfx_enemy[7]);
  10. AddScore(GetCommonDataDefault("GSK_SpellBonus", 0));
  11. SetCommonData("GSK_SpellCapture", false);
  12. SetCommonData("GSK_SpellBonus", 0);
  13. }
  14. if(Now_Point<GetPoint){ PlaySE(list_sfx_player[1]); }
  15. if(Now_Graze<GetGraze){ PlaySE(list_sfx_player[0]); }
  16. if(OnPlayerMissed && Now_Miss!=OnPlayerMissed) { PlaySE(list_sfx_player[2]); }
  17. if(Now_Life < GetPlayerLife){ PlaySE(list_sfx_player[3]); }
  18. Now_CardCapture = GetCommonDataDefault("GSK_SpellCapture", false);
  19. Now_Point = GetPoint;
  20. Now_Graze=GetGraze;
  21. Now_Miss = OnPlayerMissed;
  22. Now_Life = GetPlayerLife;
  23. yield;
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment