[Char] Physics Frog Suit fixed.

Description: You made a script? Submit it here to show your creation to the public, share, take reviews, provision of the help and support is here!
Moderators: Yoshi021, Lx Xzit, 5438A38A, Semi-moderatos, Moderators

Victor ManuelMR M
Topic author, Marquis
Marquis
Avatar
Victor ManuelMR M
Topic author, Marquis
Marquis
Age: 19
Reputation: 59
Posts: 171
Joined: 7 Feb 2018

Post #1by Victor ManuelMR » 22 Sep 2020, 1:59

Tumb.png
Tumb.png (5.3 KiB) Viewed 254 times

Script that leaves the gameplay of the Frog Suit, as seen in Super Mario Bros. 3
Created by FyreNova [Discord: _FyreNova™#2283]


Code

Code: Select all

dim speed as integer = 1
do
if char(1).inwater = 1
    if keypress(-17)
        speed = 2
    else
        speed = 1
    end if
    if char(1).status = 8 or char(1).status = 12 and char(1).inwater and char(1).grabbing = 0
        if keypress(-11) or keypress(-12)
            char(1).xsp = (2.5 - (5*char(1).facing))*speed
        else
            char(1).xsp = 0
        end if
        if keypress(-13)
            char(1).ysp = 2.5*speed
        elseif keypress(-14)
            char(1).ysp = -2.5*speed
        else
            char(1).ysp = 0
        end if
    end if
end
    call sleep(1)
loop
Last edited by Victor ManuelMR on 27 Sep 2020, 9:38, edited 1 time in total.
Image
[1.4.5] - Dream Team at The Challenging Portals:
Image

3color BombDX
Close friend
Close friend
Avatar
3color BombDX
Close friend
Close friend
Age: 16
Reputation: 16
Posts: 94
Joined: 8 May 2018
Location: Brazil

Post #2by 3color BombDX » 23 Sep 2020, 14:07

Does it also apply to the Penguin Suit's?
I support these projects:
[list]MARIO & LUIGI - The Great Quest
Super Mario - Rainbow Road
Super Mario Bros.: The Great Adventure
Adventures in 2DU
[/list]

Victor ManuelMR M
Topic author, Marquis
Marquis
Avatar
Victor ManuelMR M
Topic author, Marquis
Marquis
Age: 19
Reputation: 59
Posts: 171
Joined: 7 Feb 2018

Post #3by Victor ManuelMR » 23 Sep 2020, 16:34

3color BombDX wrote:Does it also apply to the Penguin Suit's?

Yes.
Image
[1.4.5] - Dream Team at The Challenging Portals:
Image


Return to “Script submission”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest