Why doesn't it work???

Description: Subforum dedicated to SMBX-38A - a fan-made remake of the original SMBX Engine, made by 5438A38A.
Forum rules: This is official Europan/American community for the SMBX-38A. Suggested to don't post stuff for this engine outside this subforum.
Moderators: Lx Xzit, Yoshi021, 5438A38A, Semi-moderatos, Moderators

PunLord666
Topic author, Passerby
Passerby
PunLord666
Topic author, Passerby
Passerby
Reputation: 1
Posts: 2
Joined: 23 Aug 2022

Post #1by PunLord666 » 23 Aug 2022, 3:26

For some reason the script doesn't work, can anyone tell what is wrong

Code: Select all

if val(health) = 7 then
call Lset(HP2, 1, 1) end if

if val(health) = 6 then
call Lset(HP3, 1, 1) end if

if val(health) = 5 then
call Lset(HP4, 1, 1) end if

if val(health) = 4 then
call Lset(HP5, 1, 1) end if

if val(health) = 3 then
call Lset(HP6, 1, 1) end if

if val(health) = 2 then
call Lset(HP7, 1, 1) end if

Return to “Super Mario Bros. X by 38A (SMBX-38A)”

Who is online (over the past 5 minutes)

Users browsing this forum: 3 guests