Make the script run in the Level - Start event.
Make the player grab a npc block mushroom(npc 154 or 155 or 156 or 157) (smb2 tab (B)).
Why doesn't your explosion destroy a block(like id=4)?
- Spoiler
Code: Select all
dim n as integer
do
select case npc(char(1).grabbing).id
case 154,155,156,157
v(s)+=1
if v(s)=16 then
n=ncreate(134,npc(char(1).grabbing).x,npc(char(1).grabbing).y,6*(1-2*char(1).facing),-4+3*(keypress(-14)),0,0)
n=getid(n)
npc(n).ivala=315
v(s)=0
end if
end select
call sleep(1)
loop
"Advanced Value's implementation details may change as the version changes!"





