Powerup system bug

Description: Report bugs of SMBX-38A here.
Forum rules: https://wohlsoft.ru/forum/viewtopic.php?f=64&t=1069
Moderators: Yoshi021, Lx Xzit, 5438A38A, Semi-moderatos, Moderators

3color BombDX
Topic author, Close friend
Close friend
Avatar
3color BombDX
Topic author, Close friend
Close friend
Age: 16
Reputation: 16
Posts: 90
Joined: 8 May 2018
Location: Brazil

Post #1by 3color BombDX » 28 Sep 2019, 17:20

When the SMB3 powerup-system is enabled, for example Mario has a fire flower (state 3) and takes damage, he is reverted to Big Mario (state 2) rather than small Mario (state 1), but when he is invisible [char(1).itemslot= -5], when he takes damage with a powerup (state 3, 4, 5, 6, 7, 8, 9, 10 or 12) he is directly reverted to small Mario (state 1), even with the SMB3 powerup system enabled, which should happen only when the SMB1 powerup system is enabled.
As far as I remember, this bug didn't happen in the previous patch (21)

The GIF below shows what I mean, in the script when mario is ground pounding, his char(1).itemslot is -5
Honeycam 2019-09-28 11-18-44.gif
I support these projects:
[list]MARIO & LUIGI - The Great Quest
Super Mario - Rainbow Road
Super Mario Bros.: The Great Adventure
Adventures in 2DU
[/list]

Lx Xzit M
Moderator
Moderator
Avatar
Lx Xzit M
Moderator
Moderator
Reputation: 347
Posts: 724
Joined: 9 Nov 2015
Website

Post #2by Lx Xzit » 28 Sep 2019, 20:37

No, this bug isn't game's fault but mine. You see, since I had no way to remove player's special abilities (like shoot projectiles, don't let it hover or spin-jumping in mid-air), every time the player do a ground pound in transform into Super Mario. Unfortunately I couldn't find a good way to do this. Locking player keyboard wouldn't help, and also I still have to deal with player's abilities.

Don't forget this script is pretty old. I'm just waiting until 38a implement more functions to make it from scratch in a much clearer way.
VISIT MY YOUTUBE CHANNEL! LX XZIT
Join our 38A Discord server!

Image

3color BombDX
Topic author, Close friend
Close friend
Avatar
3color BombDX
Topic author, Close friend
Close friend
Age: 16
Reputation: 16
Posts: 90
Joined: 8 May 2018
Location: Brazil

Post #3by 3color BombDX » 28 Sep 2019, 21:13

oh, i see, didn't remember this details
I support these projects:
[list]MARIO & LUIGI - The Great Quest
Super Mario - Rainbow Road
Super Mario Bros.: The Great Adventure
Adventures in 2DU
[/list]


Return to “Bug reports”

Who is online (over the past 5 minutes)

Users browsing this forum: 3 guests