As for you code you need to change
to
calls this instead of
soldierUpdate()
monsterUpdate()
Function soldierUpdate() Cls DrawImage background, 400, 263 DrawImage soldier, xSoldier, ySoldier, frameSoldier Delay(50) Flip End Function Function monsterUpdate() Cls DrawImage background, 400, 263 DrawImage monster, xMonster, yMonster, monsterFrame Delay(50) Flip End Function
to
Function DrawingUpdate() DrawImage background, 400, 263 DrawImage soldier, xSoldier, ySoldier, frameSoldier DrawImage monster,xMonster,yMonster,monsterFrame Delay(50) Flip cls End Function
calls this instead of
soldierUpdate()
monsterUpdate()