SMBX 1.4.5: Script mistake?
Posted: 24 Nov 2019, 6:07
Script:
Official Community of WohlSoft Team
https://wohlsoft.ru/forum/
Code: Select all
do
if lvltimer(count) > 0 then
call tcreate([SOUND]Endsound, 0)
lvltimer(count)-=10
sysval(score)+=500
if char(1).xsp > 2 then
char(1).xsp = 2
else
exit do
end if
if char(2).xsp > 2 then
char(2).xsp = 2
else
exit do
end if
else
lvltimer(count) = 0
end if
call sleep(1)
loop