const d={checkpoints:[{id:"checkpoint1",checkCondition:(l,c={},o={})=>{console.log("🔍 CHECKPOINT DEBUG - Stored Blockly Moves:",{storedBlocklyMoves:o.blocklyMoves||[],storedGeneratedCode:o.generatedCode||"No code stored",playerPosition:o.playerPosition,allBlocklyMoves:l||[]});const i=o.playerPosition&&o.playerPosition.x===1&&o.playerPosition.z===11,n=o.blocklyMoves?.filter(a=>a.type==="sound"&&a.value==="MEOW").length||0,s=n>=1;return console.log("📍 CHECKPOINT VERIFICATION:",{playerPosition:o.playerPosition,playerAtTarget:i,meowSoundCount:n,hasMeowSound:s,totalMoves:o.blocklyMoves?.length||0}),i&&s?(console.log("✅ CHECKPOINT PASSED! 🎉"),console.log("   ✓ Player at position (1, 11)"),console.log(`   ✓ Used MEOW sound ${n} time(s)`),!0):(console.log("❌ CHECKPOINT FAILED:"),i||console.log("   ❌ Player not at target position (1, 11)"),s||console.log("   ❌ Missing MEOW sound (used 0 times)"),!1)},blockValidator:(l,c,o={},i={})=>{console.log("Validating block sequence for Game 1 Level 6:",l);const n=l.filter(e=>e.type!=="speed").map(e=>`${e.type}:${e.value}`);console.log("Normalised moves (speed ignored):",n);const s=n.filter(e=>e==="move:forward").length,t=l.some(e=>e.type==="sound"&&e.value==="MEOW"),a=s===3,r=t;return a&&r?(console.log("BLOCK VALIDATION PASSED:"),console.log(`   Forward moves: ${s}/3`),console.log(`   MEOW sound: ${t?"Found":"Missing"}`),!0):(console.log("BLOCK VALIDATION FAILED:"),a||console.log(`   Incorrect forward count: ${s} (expected 3)`),r||console.log("   Missing 'MEOW' sound block"),!1)},dialogues:[{speaker:"Rob",message:"Saya dengar pergerakan semak di arah situ.",characterDirection:"left",dialogType:"story",image:"images/ROB_Dialogue_Head.webp"},{speaker:"Rob",message:"Gabungkan atur cara pergerakan dan kesan bunyi untuk menyiasat pergerakan tersebut.",characterDirection:"left",dialogType:"checkpoint",image:"images/ROB_Dialogue_Head.webp"}],cameraPan:{target:[-150,15,350],duration:2,zoom:.5},dialogType:"story"}]};export{d as checkpointConfig};
