declaration plotscript is not permitted inside a script. Perhaps walkingdoomguy has an extra begin or (.
Here is the coding:
-------------------------------
Code:
#---------Storyline scripts end here.
#---------Doomguy's walkabout facial sprite info begins here, and with help from JSH357 and James Paige. Thanks, guys.
#---------This line below was made by my buddy, Harlock, and is used to change the look of the doomguy's face when hurt.
plotscript, walkingdoomguy, begin
if (getherostat(hero:doomguy,stat:hp,currentstat) >= ((getherostat(hero:doomguy,stat:hp,maximumstat)/100)*80), then,
init face
end
if ((getherostat(hero:doomguy,stat:hp,currentstat) >= ((getherostat(hero:doomguy,stat:hp,maximumstat)/100)*50) and (getherostat(hero:doomguy,stat:hp,currentstat) <getherostat>= ((getherostat(hero:doomguy,stat:hp,maximumstat)/100)*20) and (getherostat(hero:doomguy,stat:hp,currentstat) <getherostat>= ((getherostat(hero:doomguy,stat:hp,maximumstat)/100)*1) and (getherostat(hero:doomguy,stat:hp,currentstat) <= ((getherostat(hero:doomguy,stat:hp,maximumstat)/100)*19)), then,
end
#-----------Thus ends this line of code by Harlock. Thanks, man!
plotscript, new game, begin
init face
end
plotscript, load game, begin
init face
end
script, init face, begin
face := load small enemy sprite(2)
realign slice (face, edge:center, edge:bottom, edge:center, edge:bottom)
face1forward
end
script, face1forward, begin
replace small enemy sprite(face, 2)
set timer(1, 0, 20, @face1lookleft)
end
script, face1lookleft, begin
replace small enemy sprite(face, 3)
set timer(1, 0, 15, @face1lookright)
end
script, face1lookright, begin
replace small enemy sprite(face, 4)
set timer(1, 0, 15, @face1forward)
end
script, bloodface, begin
face := load small enemy sprite(5)
realign slice (face, edge:center, edge:bottom, edge:center, edge:bottom)
face2forward
end
script, face2forward, begin
replace small enemy sprite(face, 5)
set timer(1, 0, 20, @face2lookleft)
end
script, face2lookleft, begin
replace small enemy sprite(face, 6)
set timer(1, 0, 20, @face1lookright)
end
script, face2lookright, begin
replace small enemy sprite(face, 7)
set timer(1, 0, 20, @face2forward)
end
#----------Doomguy's walkabout facial sprite info ends here.
#---------Doomguy's walkabout facial sprite info begins here, and with help from JSH357 and James Paige. Thanks, guys.
#---------This line below was made by my buddy, Harlock, and is used to change the look of the doomguy's face when hurt.
plotscript, walkingdoomguy, begin
if (getherostat(hero:doomguy,stat:hp,currentstat) >= ((getherostat(hero:doomguy,stat:hp,maximumstat)/100)*80), then,
init face
end
if ((getherostat(hero:doomguy,stat:hp,currentstat) >= ((getherostat(hero:doomguy,stat:hp,maximumstat)/100)*50) and (getherostat(hero:doomguy,stat:hp,currentstat) <getherostat>= ((getherostat(hero:doomguy,stat:hp,maximumstat)/100)*20) and (getherostat(hero:doomguy,stat:hp,currentstat) <getherostat>= ((getherostat(hero:doomguy,stat:hp,maximumstat)/100)*1) and (getherostat(hero:doomguy,stat:hp,currentstat) <= ((getherostat(hero:doomguy,stat:hp,maximumstat)/100)*19)), then,
end
#-----------Thus ends this line of code by Harlock. Thanks, man!
plotscript, new game, begin
init face
end
plotscript, load game, begin
init face
end
script, init face, begin
face := load small enemy sprite(2)
realign slice (face, edge:center, edge:bottom, edge:center, edge:bottom)
face1forward
end
script, face1forward, begin
replace small enemy sprite(face, 2)
set timer(1, 0, 20, @face1lookleft)
end
script, face1lookleft, begin
replace small enemy sprite(face, 3)
set timer(1, 0, 15, @face1lookright)
end
script, face1lookright, begin
replace small enemy sprite(face, 4)
set timer(1, 0, 15, @face1forward)
end
script, bloodface, begin
face := load small enemy sprite(5)
realign slice (face, edge:center, edge:bottom, edge:center, edge:bottom)
face2forward
end
script, face2forward, begin
replace small enemy sprite(face, 5)
set timer(1, 0, 20, @face2lookleft)
end
script, face2lookleft, begin
replace small enemy sprite(face, 6)
set timer(1, 0, 20, @face1lookright)
end
script, face2lookright, begin
replace small enemy sprite(face, 7)
set timer(1, 0, 20, @face2forward)
end
#----------Doomguy's walkabout facial sprite info ends here.



