Something went wrong. Try again.
Bring back the colours and save the world!
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148<!--This Document is generated by GameMaker, if you edit it by hand then you do so at your own risk!--><object> <spriteName>sButterfly</spriteName> <solid>0</solid> <visible>-1</visible> <depth>-5</depth> <persistent>0</persistent> <parentName><undefined></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>///Choose a colourimage_speed = 2/3;image_blend = choose(c_red, c_blue, c_green, c_yellow);move = true;</string> </argument> </arguments> </action> </event> <event eventtype="3" 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>///Move aroundif(move) { var xmin = -2, xmax = 2; var ymin = -2, ymax = 2; if(distance_to_object(Player) < 48) { if(abs(x - Player.x) < abs(y - Player.y)) { if(x > Player.x) { xmin += 3; xmax += 3 } else if(x <= Player.x) { xmin -= 3; xmax -= 3; } } else { if(y > Player.y) { ymin += 3; ymax += 3; } else if(y <= Player.y) { ymin -= 3; ymax -= 3; } } } else if(distance_to_point(xstart, ystart) >= 32) { if(abs(x - xstart) > 24) { if(x > xstart) { xmax -= 3; } else { xmin += 3; } } if(abs(y - ystart) > 24) { if(y > ystart) { ymax -= 3; } else { ymin += 3; } } } x += irandom(-xmin + xmax) + xmin; y += irandom(-ymin + ymax) + ymin;}move = !move;</string> </argument> </arguments> </action> </event> <event eventtype="8" 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>///Draw the correct colour or white if notif(Controller.colours[BLACK]) { var col = image_blend; if(!Controller.colours[coltonum(image_blend)]) { col = c_white; } draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, 0, col, image_alpha);}</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> <point>4,3</point> <point>4,4</point> </PhysicsShapePoints></object>