Page 1 of 1

a little change in two values for char(x).itemslot

Posted: 15 Jul 2019, 7:33
by HugoMDM t
Recently im testing different things with script, and i have a problem with itemslot, normaly some people use char(1).itemslot = -5 or -6 (is there another values with the same result) to make mario invisible (for custom playables or custom powerups, and maybe another things), and i suggest two things:


1: can make mario invisible with char(1).curframe = 0

or

2: if you select char(1).itemslot = -5 then mario it's invisible but her size is 28 (small Mario) and if you select -6 then mario size is 58 (Super Mario) This because char(1).pheight it's very buggy and need a fix.

Posted: 15 Jul 2019, 8:10
by Lx Xzit
use char(1).forecolor = 0

Posted: 15 Jul 2019, 23:36
by HugoMDM t
Thank you, i don't knowed forecolor works on the player too

Posted: 16 Jul 2019, 5:16
by Lx Xzit
It was implemented in Patch 9 (or 8?)