forked from fachinformatiker/undertale
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathobj_frogbullet_gen.object.gmx
115 lines (115 loc) · 3.49 KB
/
obj_frogbullet_gen.object.gmx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!-->
<object>
<spriteName><undefined></spriteName>
<solid>0</solid>
<visible>-1</visible>
<depth>0</depth>
<persistent>0</persistent>
<parentName>obj_bulletgenparent</parentName>
<maskName><undefined></maskName>
<events>
<event eventtype="0" enumb="0">
<action>
<libid>1</libid>
<id>603</id>
<kind>7</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>2</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>dmg= 1;
sum= scr_monstersum();
alarm[0]= 1;
fr1= instance_create(global.idealborder[0] + c_borderwidth(0) / 2, global.idealborder[3] - 20, 383/* obj_frogbullet_ex */);
fr1.side= 0;
fr1.image_angle= 0;
fr1.lazy= 0;
if(sum == 4) {
no2= choose(1, 2, 3);
fr2= instance_create(global.idealborder[0] + c_borderwidth(0) / 2, global.idealborder[2] + 20, 383/* obj_frogbullet_ex */);
fr2.side= no2;
fr2.image_angle= no2 * -90;
if(no2 == 2) {
fr2.x= global.idealborder[0] + c_borderwidth(0) / 2;
fr2.y= global.idealborder[2] + 20;
}
if(no2 == 1) {
fr2.x= global.idealborder[0] + 20;
fr2.y= global.idealborder[2] + c_borderheight(0) / 2;
}
if(no2 == 3) {
fr2.x= global.idealborder[1] - 20;
fr2.y= global.idealborder[2] + c_borderheight(0) / 2;
}
if(no2 == 3) no3= choose(1, 2);
if(no2 == 1) no3= choose(2, 3);
if(no2 == 2) no3= choose(1, 3);
if(no2 == 99) {
if(no2 != 1) no3= 1;
fr3= instance_create(320, 270, 383/* obj_frogbullet_ex */);
fr3.side= no3;
fr3.image_angle= no3 * -90;
if(no3 == 2) {
fr3.x= 300;
fr3.y= 270;
}
if(no3 == 1) {
fr3.x= 270;
fr3.y= 320;
}
if(no3 == 3) {
fr3.x= 380;
fr3.y= 320;
}
}
}
</string>
</argument>
</arguments>
</action>
</event>
<event eventtype="2" enumb="0">
<action>
<libid>1</libid>
<id>603</id>
<kind>7</kind>
<userelative>0</userelative>
<isquestion>0</isquestion>
<useapplyto>-1</useapplyto>
<exetype>2</exetype>
<functionname></functionname>
<codestring></codestring>
<whoName>self</whoName>
<relative>0</relative>
<isnot>0</isnot>
<arguments>
<argument>
<kind>1</kind>
<string>obj_frogbullet_ex.dmg= dmg;
</string>
</argument>
</arguments>
</action>
</event>
</events>
<PhysicsObject>0</PhysicsObject>
<PhysicsObjectSensor>0</PhysicsObjectSensor>
<PhysicsObjectShape>0</PhysicsObjectShape>
<PhysicsObjectDensity>0.5</PhysicsObjectDensity>
<PhysicsObjectRestitution>0.100000001490116</PhysicsObjectRestitution>
<PhysicsObjectGroup>0</PhysicsObjectGroup>
<PhysicsObjectLinearDamping>0.100000001490116</PhysicsObjectLinearDamping>
<PhysicsObjectAngularDamping>0.100000001490116</PhysicsObjectAngularDamping>
<PhysicsObjectFriction>0.200000002980232</PhysicsObjectFriction>
<PhysicsObjectAwake>-1</PhysicsObjectAwake>
<PhysicsObjectKinematic>0</PhysicsObjectKinematic>
<PhysicsShapePoints/>
</object>