char(x).status breaks the inventory

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

Luna F
Topic author, Duke
Duke
Avatar
Luna F
Topic author, Duke
Duke
Age: 19
Reputation: 16
Posts: 102
Joined: 16 Nov 2017
English Pronouns: she/her
Location: Neocosmos
Website Youtube channel URL Twitter

Post #1by Luna » 19 Mar 2021, 16:35

If char(x).status is used, the game behaves weirdly:

-If the player currently has item A, gets Item B through a script, and collects item C, item A will be put into the inventory instead of item B.
-If the player currently has item A and gets item B, item A won't be put in the inventory.
Attachments
test.lvl
(2.46 KiB) Downloaded 111 times
Image Image Image Image

My projects
Image
Image

I support:
Image Image

NESTED ERNEST M
Count
Count
Avatar
NESTED ERNEST M
Count
Count
Reputation: 71
Posts: 268
Joined: 23 Sep 2017
Location: Perú, Lima
Youtube channel URL

Post #2by NESTED ERNEST » 19 Mar 2021, 18:58

Programming NPCs in SMBX-38A is fun:
That is me
Image
Image
Image
Image

Special image
  • yt-image-banner: https://yt3.ggpht.com/M_O1AzQEOJogSq5OJESIaA5kFLdbwdDNMihDOJkJgPiH7cOx-LWK41TU9GWzExmkmpn3EWYbJg=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj
  • image-to-up: https://3.bp.blogspot.com/-Y-LrpIS2rqw/UCBTtk7k-pI/AAAAAAAABBs/qZuI0sCStkc/s1600/jean-baptiste+beaudelle+girafe++escargot.jpg
  • image-to-left: https://us.123rf.com/450wm/trassnick/trassnick2007/trassnick200700002/152919781-el-marl%C3%ADn-negro-grande-salta-del-mar-pesca-extrema-del-pez-espada-negro-en-alta-mar-vacaciones-en-lo.jpg
  • image-last-w: 1


ROCKMAN GIF IN SMBX 38A

Image


Return to “SMBX-38A Bug reports”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest