SCORM (v 1.2) integration for Quiz module
Have a look at the Opigno LMS distribution, which is fully compliant with SCORM 2004 v3. Here is a quote from its project page:

Opigno LMS is a full-fledged Learning Management System based on Drupal.
It allows to:

Manage training paths organized in courses and lessons.
Assess students thanks to varied quizzes.
Award certificates to successful students.
Sell your trainings online.
Facilitate interactions thanks to live meetings, forums and chats.
...


Maybe not to start &quot;using&quot; this distribution, but by reviewing it to get an idea about it's SCORM compliance, and then copy-an-paste whatever fits / makes sense to also include in your own site.
Contributed module SCO Node somehow relates to SCORM and might potentially be of some help to get you going (quote is from its project page):

The SCO Node module allows nodes to be created that contain SCORM content. The SCO content can then be played and scored on a Drupal 7 site.
The module currently supports SCORM 1.2 and some of SCORM 2004