global glossList, gloss_texts, religion, Subject, counter
if glossList = EMPTY then
set glossList to getFileContent(gloss_texts & "SofIndex.txt")
end if
set counter to counter + 1
set religion to "NoReligion"
set Subject to "NoSubject"
puppetSprite(18, 1)
puppetSprite(19, 1)
set sprtHght to (16 + the height of sprite 19) / 2
set the locV of sprite 19 to sprtHght
puppetSprite(20, 1)
puppetSprite(24, 1)
puppetSprite(23, 1)
set the locH of sprite 17 to 43
set the locH of sprite 23 to 800
set the locH of sprite 24 to 800
set the immediate of sprite 18 to 1
set the locH of sprite 19 to 800
set the locH of sprite 20 to 800
set the immediate of sprite 20 to 1
set the stretch of sprite 20 to 1
set the castNum of sprite 18 to 449
when mouseUp then cleanUp
when keyDown then soundSwitch(the keycode)
put "In the beginning..." into field "store"
updateStage()
end
on cleanup
global isEXE, mmd_movies, religion, Subject, IdleReligion
set the locH of sprite 19 to 800
set the locV of sprite 20 to 800
put religion & Subject into field "store"
if (the mouseCast = 449) or (the mouseCast = 450) or (the mouseCast = 451) or (the mouseCast = 511) then
if (field "store" contains "NoReligion") or (field "store" contains "In the beginning...") or (field "store" contains "bla") or (field "store" contains "NoSubject") then