[Solved] Big Coins (SMM2)

Description: Have idea for a script, but you can't make it? Post it here!
Moderators: Lx Xzit, Yoshi021, 5438A38A, Semi-moderatos, Moderators

coolXD
Topic author, Honourable citizen
Honourable citizen
coolXD
Topic author, Honourable citizen
Honourable citizen
Reputation: 32
Posts: 43
Joined: 13 Jan 2020

Post #1by coolXD » 14 Dec 2020, 14:09

Hi! I need a script to Big Coins 10,30 and 50 from Super Mario Maker 2.

Image
Attachments
Big Coin v1.1.zip
(83.03 KiB) Downloaded 145 times
Last edited by coolXD on 15 Dec 2020, 13:08, edited 2 times in total.

Victor ManuelMR M
Count
Count
Avatar
Victor ManuelMR M
Count
Count
Age: 21
Reputation: 155
Posts: 241
Joined: 7 Feb 2018

Post #2by Victor ManuelMR » 15 Dec 2020, 0:16

coolXD wrote:Hi! I need a script to Big Coins 10,30 and 50 from Super Mario Maker 2.

Image

Code: Select all

'BIG COINS - SMM2
'CREATE BY VICTOR MANUELMR
with npc(sysval(param1))
   
   if ((char(1).x + char(1).pwidth >= .x and char(1).x <= .x + .width and char(1).y + char(1).pheight >= .y and char(1).y <= .y + .height)) 'by YvajekK
      call AudioSet(2, 14, 0, "") 'Coin Sound Effect   
 
      if .extx = 0 then '10 - Coins
         sysval(CoinCount) = sysval(CoinCount) + 10
      elseif .extx = 1 then '30 - Coins
         sysval(CoinCount) = sysval(CoinCount) + 30
      elseif .extx = 2 then '50 - Coins      
         sysval(CoinCount) = sysval(CoinCount) + 50   
      end       
      
   call nkill(0, 0, 0, 0, 0, 0, 0, 1) 'Dead NPC.
       'Effects by YvajekK
        call fxcreate(78, .x+.width/2-5, .y+.height/2-5, 1, 0, 12, 4, 0, 1, 0)
        call fxcreate(78, .x+.width/2-5, .y+.height/2-5, sqr(0.5), sqr(0.5), 12, 4, 0, 1, 0)
        call fxcreate(78, .x+.width/2-5, .y+.height/2-5, 0, 1, 12, 4, 0, 1, 0)
        call fxcreate(78, .x+.width/2-5, .y+.height/2-5, -sqr(0.5), sqr(0.5), 12, 4, 0, 1, 0)
        call fxcreate(78, .x+.width/2-5, .y+.height/2-5, -1, 0, 12, 4, 0, 1, 0)
        call fxcreate(78, .x+.width/2-5, .y+.height/2-5, -sqr(0.5), -sqr(0.5), 12, 4, 0, 1, 0)
        call fxcreate(78, .x+.width/2-5, .y+.height/2-5, 0, -1, 12, 4, 0, 1, 0)
        call fxcreate(78, .x+.width/2-5, .y+.height/2-5, sqr(0.5), -sqr(0.5), 12, 4, 0, 1, 0)
   end
   
End with 'END SCRIPT
Image
[1.4.5] - Dream Team at The Challenging Portals:
Image


Return to “Script requests”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest