On OpenCard
 set bitmap of btn gradel to gradels
 set bitmap of btn gradem to gradem
 set bitmap of btn gradeh to gradeh
 put 0 into grade_level

if TheFirstSpeech is not 999 then
   put 999 into TheFirstSpeech
wait 100 ticks
put 2 into ntx

play hello
naratoranimex
wait 20 ticks
hide fld timecapsule
message2 227, 162, 14, "You are in the Magic Time Capsule!  The blue button will take you to the World Math Map, or you can start Time Travel using the red button!  Good Luck!"
show fld timecapsule
end if

click at btn b_redl1

end OpenCard




On naratoranimex
show btn narator1
repeat ntx times
set bitmap of btn narator1 to narator2
wait 5 ticks
if mouseclick() then
 exit repeat
end if
if random(15) = 8 then
 wait 10 ticks

 end if
set bitmap of btn narator1 to narator1
wait 5 ticks
if random(15) = 8 then
 wait 10 ticks
end if
set bitmap of btn narator1 to narator2
wait 5 ticks
if mouseclick() then
 exit repeat
end if

set bitmap of btn narator1 to narator3
wait 5 ticks
if mouseclick() then
 exit repeat
end if

if random(15) = 8 then
 wait 10 ticks
end if
end repeat

End naratoranimex


