QuizMenuTool Tutorial: Difference between revisions

Happylappy (talk | contribs)
Happylappy (talk | contribs)
Line 443: Line 443:
[[File:ImportingQMTScriptFiles2.png|alt=In this case, "qmt01.ssb" on the right will open the script file's "ssb" code.|center|thumb|600x600px|In this case, "qmt01.ssb" on the right will open the script file's "ssb" code.]]
[[File:ImportingQMTScriptFiles2.png|alt=In this case, "qmt01.ssb" on the right will open the script file's "ssb" code.|center|thumb|600x600px|In this case, "qmt01.ssb" on the right will open the script file's "ssb" code.]]


From there, simply paste from the respective part of the sheet, and attempt to save the script.
[[File:ImportingQMTScriptFiles3.png|center|thumb|600x600px|You can also navigate between script files with the search bar on the left!]]


[[File:ImportingQMTScriptFiles3.png|center|thumb|600x600px]]
Repeat the process of pasting in the remaining scripts. Finally, the script that contains the aura bow segment of the quiz (script #2 or the megascript) needs additional work done to the .ssa file. Navigate to S02P01A->M00A01A, and click the Export Button (square with an up arrow in it).
[[File:Export Quiz .ssa.png|alt=Visual for exporting the .ssa for M00A01A for QuizMenuTool|center|thumb|600x600px|The Export Button is up top!]]
Then just import this file into the script containing the Aura Bow segment, as shown below:
[[File:Aura Bow SSA import.png|center|thumb|600x600px|The Export Button is right next to the Import button!]]
After that, save the ROM. The quiz is nearly ready, all that's left is setting up unionall...


 
=== Editing Unionall ===
 
Unionall is a big file, but there's only a very specific part that needs to be edited. Open Unionall by using the search bar in the Script Engine Debugger, then do CTRL + F (Command + F for Mac, you should know your equivalent if you use Linux) to find coroutine inside unionall.
=== Pasting Scripts/Unionall From the Sheet ===
[[File:Unionall coro EVENT M00A 01.png|center|thumb|600x600px|Be sure you search for EXACTLY "coro EVENT_M00A_01". This should be the only match!]]
Once you find it, select the entire coroutine, and replace it with the unionall final output. the result should look something like this:
[[File:QMT coro EVENT M00A 01.png|center|thumb|600x600px|Modified Unionall Coroutine, should look roughly like this after pasting.]]
With that, save unionall, and the quiz is ready for testing!


== Other Resources ==
== Other Resources ==