Advertisement
Guest User

script

a guest
Jul 4th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.77 KB | None | 0 0
  1. #TouhouDanmakufu[Single]
  2. #ScriptVersion[3]
  3. #Title["Amazingly Terrible Script"]
  4. #Text["No really[r]it's kinda shit"]
  5. #BGM[./rss_4boss]
  6.  
  7. let objBoss;
  8.  
  9. @Event
  10. {
  11. alternative(GetEventType())
  12. case(EV_REQUEST_LIFE){
  13. SetScriptResult(500);
  14. }
  15. case(EV_REQUEST_TIMER){
  16. SetScriptResult(60);
  17. }
  18. case(EV_REQUEST_SPELL_SCORE){
  19. SetScriptResult(1000000);
  20. <0
  21. }
  22.  
  23.  
  24. @Initialize
  25. {
  26. objBoss = ObjEnemy_Create(OBJ_ENEMY_BOSS)
  27. ObjEnemy_Regist(objBoss);
  28. let imgExRumia = GetCurrentScriptDirectory() ~ "ExRumia.png";
  29. ObjPrim_SetTexture(objBoss, imgExRumia);
  30. ObjSprite2D_SetSourceRect(objBoss, 64, 1, 127, 64);
  31. ObjSprite2D_SetDestCenter(objBoss);
  32. }
  33.  
  34.  
  35. @MainLoop
  36. {
  37.  
  38. }
  39.  
  40. function GetCenterX(){
  41. return GetStgFrameWidth() / 2;
  42. }
  43. function GetCenterY(){
  44. return GetStgFrameHeight() / 2;
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement