Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #TouhouDanmakufu[Single]
- #ScriptVersion[3]
- #Title["Amazingly Terrible Script"]
- #Text["No really[r]it's kinda shit"]
- #BGM[./rss_4boss]
- let objBoss;
- @Event
- {
- alternative(GetEventType())
- case(EV_REQUEST_LIFE){
- SetScriptResult(500);
- }
- case(EV_REQUEST_TIMER){
- SetScriptResult(60);
- }
- case(EV_REQUEST_SPELL_SCORE){
- SetScriptResult(1000000);
- <0
- }
- @Initialize
- {
- objBoss = ObjEnemy_Create(OBJ_ENEMY_BOSS)
- ObjEnemy_Regist(objBoss);
- let imgExRumia = GetCurrentScriptDirectory() ~ "ExRumia.png";
- ObjPrim_SetTexture(objBoss, imgExRumia);
- ObjSprite2D_SetSourceRect(objBoss, 64, 1, 127, 64);
- ObjSprite2D_SetDestCenter(objBoss);
- }
- @MainLoop
- {
- }
- function GetCenterX(){
- return GetStgFrameWidth() / 2;
- }
- function GetCenterY(){
- return GetStgFrameHeight() / 2;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement