MMF2Grenade4C:\Documents and Settings\Family\Desktop\Grenade.mfa4(@000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ATNFAPMSASUMAGMI """)))UUUMMMBBB999|PP3f333f3333f3ffffff3f̙3ff333f333333333f33333333f33f3ff3f3f3f3333f33̙33333f333333f3333f3ffffff3f33ff3f3f3f3fff3ffffffffff3ffff̙fff3fffff3fff333f3f3ff3ff33f̙̙3̙ff̙̙̙3f̙3f333f3333f3ffffff3f̙3f3f3f333f3333f3ffffff3f̙3f3ffffffffff!___wwwB00 h hpppph`@qxaxaxExpp`xÀI,0Qqqiph0$À$(mq4U444Uep`$IŽqUUuq$pHiÀ0YYYY888 xXDZmu8YY8U444UuuYyyyya`eÀm88Uqq4u8Y4ahÀDZ840Q4uY4aP,UMMIzizzzz {,{M{U<}}<yx8ax0uUQ ,m``E)}}Y $#W 51uO ~% ,;@= /&{m?S 5#P +*S}D 1U4_ Mk"8X )Th{> ){~L3jخvQ) 8WeO1  $&''&"  xAxAxAx㐂pppX$Ү0QqMAxhHÀiUUuUax`〆4YY8u$hu8U488puUQӎ0Ӽ<<$`axMUm)s͞c  `[  q= P2pO-AhppqmEumx4QӮq0>0*00 0*00 0-00+00>0>0>03030-0-0-0dAGMI{׻kϻ[ǻwwwcccSSSCCC333oSKC;{3k+Ww#G_7K'3 kWCw;k3_+S#C7g+K 3ssccSSGG;;33s++_##K7#ۧϏ{gWG7{+osccW WGK;;//ssKK##kS;#ۻÓoG#gc[WO;/s_K ;CϳÛscSwGg7W+K#ߧϏwwggSWCG3;w'/g#[K ; +ӃkgSK73# o_SC7'{cK7'o _##'#'#'#'##skkSS??ۧןϓLJsgߏ[ӃSsKgCW;K3?+{3#o+_OC3 '{k_OC3' w L@9 K K K K K K K V=T\ 3K3K3K3K3K3K3K3KI3KH ossssssssssOss o o pMK    X DD      Grenade2&(%' &(%' &(%' &(%' &H&File&New F2Pass&word&Pause Ctrl+PPla&yers Ctrl+Y&Quit Alt+F4&OptionsPlay &samples Ctrl+SPlay &musics Ctrl+M&Hide the menu F8&Full Screen Alt+Enter&Help&Contents F1&About...  P Y S Mpqsw  'guFrame 1@{׻kϻ[ǻwwwcccSSSCCC333oSKC;{3k+Ww#G_7K'3 kWCw;k3_+S#C7g+K 3ssccSSGG;;33s++_##K7#ۧϏ{gWG7{+osccW WGK;;//ssKK##kS;#ۻÓoG#gc[WO;/s_K ;CϳÛscSwGg7W+K#ߧϏwwggSWCG3;w'/g#[K ; +ӃkgSK73# o_SC7'{cK7'o _##'#'#'#'##skkSS??ۧןϓLJsgߏ[ӃSsKgCW;K3?+{3#o+_OC3 '{k_OC3' w ??Player 4 Movement #122Grenade4 Movement #1 22 Animation 1222Target4 Movement #122  Obstacle pppp   8 8! P" P# P$ P % 8 &  '  ( )      x  xEvtsh|l%"Arialh|l%"Arial '"$ 2$   %"# 2$  h|l%"Arial &Z 2B( Z   (Z 2B)   h) |l%"Arial $  \N    (\N    ( $  l^     (l^     (h |l%"Arial^   "# Z 2B(   h3 |l%"Arial0   $  2$ "# "$ h|l%"Arial<$  , 2 , 2 v 2^    <v 2^    <"# , 2 hM|l%"Arial $$  F 2. ffffff?33s?@ 2(  $ h8|l%"Arial $  F 2. 333333?>@ 2(  @ 2(  $ $ hn|l%"Ariald 8   F 2. ff&d 8   F 2. ff&d 8   F 2. ff&d 8   F 2. ff&h|l%"Arial  : 2" h|l%"Arial *6  2??8   8   "# h1|l%"Arial 8   "$ h! |l%"Arial"!$  ,  2 h'#"|l%"Arialh$%.  2 4& Animation 12P +&$.  2 d"$ Rems8Destroy the existing grenade just to get it out the way.sMove the player character - replace with your own code. flag 0 should be off if moving right or on if moving left.Aim throw using up/down. r"Mirror" the aiming when player changes direction. Note; you can compare player direction instead of using flags.?Increase throwing power while spacebar is held down (max is 12)=The use of flag 0 makes sure only the most recently created grenade is controlled. Here we set it's position, direction, and speed. X = x coordinate Y = y coordinate V = x component of movement vector W = y component of movement vector Setting value b to 5 effectively gives a minimum throw strength of 5 vHere we make the grenades bounce. Multiplying by 0.65 we take away some of the grenades energy every time it bounces (bigger number = more energy retained). If we multiply either component by a negative value, we are reversing it. eg. if colliding with a side wall, we reverse the horizontal component of the movement vector and leave the vertical component the same. xAdding 0.3 to W applies a gravity force (higher number = more gravity) Rest of the functions update grenade position. To stop the grenade eventually going through the floor when it stops bouncing, use flag 1 (if on, grenade has stopped bouncing and is on a platform - see below). In this case, only horizontal movement is allowed (ie rolling) ?Here we check the vertical movement speed (in either direction) YHere we set flag 1 if the grenade has stopped bouncing (or at least very nearly stopped).Finally, here we turn flag 1 off again if there is no longer a platform underneath the grenade. This is to allow the grenade to start falling again if it rolls off the edge of a platform.Create a new grenade when spacebar is released. The only reason for the flag is to stop a grenade being created at the start of the frame, without the player pressing anything.Timed explosion...BBang! + worms style scenery destruction. delete "never" to enableEvObPlayerSpriteGrenadeSpriteTargetSpriteEvEdEvTsEvLs $EvCs!DNE!#08 ACHK& D<F@